<div dir="ltr">Hi Daniel,<div><br></div><div><div>root@km1:/var/log# grep "tz_offset" /usr/share/ngcp-www-admin/lib/admin/root/tt/<a href="http://dashboard.tt">dashboard.tt</a></div><div>        var tz_offset = [% tz_offset %];</div>

<div>          var f = new rrdFlot(args['plot_id'],rrd_data_arr[0],graph_opts,ds_graph_opts,args['si_suffix'],tz_offset);</div><div>          var f = new rrdFlot(args['plot_id'],t,graph_opts,ds_graph_opts,args['si_suffix'],tz_offset);</div>

<div>root@km1:/var/log# date</div><div>Wed Apr 17 21:17:36 EST 2013</div><div>root@km1:/var/log# </div></div><div><br></div><div style>I'm in AEST GMT+10... one thing I found was that the logs were set in another timezone, probably GMT time. </div>

<div style><br></div><div style>Is this the issue?</div><div class="gmail_extra"><br clear="all"><div><div style>Martin</div></div><br><div class="gmail_quote">On Wed, Apr 17, 2013 at 7:56 PM, Daniel Grotti <span dir="ltr"><<a href="mailto:dgrotti@sipwise.com" target="_blank">dgrotti@sipwise.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Martin,<br>
<br>
What's the output of:<br>
<br>
grep "tz_offset" /usr/share/ngcp-www-admin/lib/admin/root/tt/<a href="http://dashboard.tt" target="_blank">dashboard.tt</a><br>
<br>
<br>
and which is you timezone offset?<br>
<br>
br,<br>
Daniel<br>
<div><div class="h5"><br>
<br>
<br>
On 04/17/2013 10:34 AM, Martin Wong wrote:<br>
> Hi, did a restart of the collectd...<br>
><br>
> In collectd.log there were errors. The plugin 'swap' failed. That goes<br>
> on quite a while... in oss.log, there are errors on the SSL part.<br>
><br>
> Any ideas?<br>
><br>
> collectd.log<br>
><br>
> Apr 17 08:27:32 km1 collectd[8184]: collectd: Stopping 5 read threads.<br>
> Apr 17 08:27:32 km1 collectd[8184]: rrdtool plugin: Shutting down the<br>
> queue thread. This may take a while.<br>
> Apr 17 08:27:32 km1 collectd[8184]: network plugin: Stopping receive thread.<br>
> Apr 17 08:27:32 km1 collectd[8184]: network plugin: Stopping dispatch<br>
> thread.<br>
> Apr 17 08:27:32 km1 collectdmon[8183]: Info: collectd terminated with<br>
> exit status 0<br>
> Apr 17 08:27:32 km1 collectdmon[8183]: Info: shutting down collectdmon<br>
> Apr 17 08:27:34 km1 collectd[9468]: perl: Initializing Perl interpreter...<br>
> Apr 17 08:27:34 km1 collectd[9471]: perl: Initializing Perl interpreter...<br>
> Apr 17 08:27:34 km1 collectd[9471]: Initialization complete, entering<br>
> read-loop.<br>
> Apr 17 08:27:34 km1 collectd[9471]: read-function of plugin `swap'<br>
> failed. Will suspend it for 20 seconds.<br>
> Apr 17 08:27:54 km1 collectd[9471]: read-function of plugin `swap'<br>
> failed. Will suspend it for 40 seconds.<br>
><br>
> oss.log<br>
><br>
><br>
> Apr 17 08:31:39 km1 provisioning: Sipwise::Provisioning::_log_xmldata:<br>
> get_host_subdirs called with: {'authentication' => {'password' =><br>
> '********','type' => 'admin','username' => 'administrator'},'parameters'<br>
> => {'host' => 'km1'}}<br>
> Apr 17 08:31:39 km1 provisioning: Sipwise::Provisioning::handle_request:<br>
> calling function 'get_host_subdirs' for admin 'administrator'<br>
> Apr 17 08:31:39 km1 provisioning: Sipwise::Provisioning::_log_xmldata:<br>
> get_host_subdirs returned with:<br>
> ['cpu-0','cpu-1','df','disk-xvda1','disk-xvdz1','entropy','interface','irq','load','memory','processes','users']<br>
> Apr 17 08:31:39 km1 provisioning: Sipwise::Provisioning::_log_xmldata:<br>
> get_rrd_files called with: {'authentication' => {'password' =><br>
> '********','type' => 'admin','username' => 'administrator'},'parameters'<br>
> => {'folder' => 'interface','host' => 'km1'}}<br>
> Apr 17 08:31:39 km1 provisioning: Sipwise::Provisioning::handle_request:<br>
> calling function 'get_rrd_files' for admin 'administrator'<br>
> Apr 17 08:31:39 km1 provisioning: Sipwise::Provisioning::_log_xmldata:<br>
> get_rrd_files returned with:<br>
> ['if_errors-eth0.rrd','if_errors-eth1.rrd','if_errors-lo.rrd','if_octets-eth0.rrd','if_octets-eth1.rrd','if_octets-lo.rrd','if_packets-eth0.rrd','if_packets-eth1.rrd','if_packets-lo.rrd']<br>


> Apr 17 08:31:39 km1 /usr/sbin/apache2: ***Provisioning::call_prov<br>
> calling 'system::get_host_list'<br>
> Apr 17 08:31:39 km1 /usr/sbin/apache2: ***Provisioning::call_prov<br>
> calling 'system::get_host_subdirs'<br>
> Apr 17 08:31:39 km1 /usr/sbin/apache2: ***Provisioning::call_prov<br>
> calling 'system::get_rrd_files'<br>
> Apr 17 08:31:39 km1 oss: x.x.x.x - - [17/Apr/2013:08:31:39 +0000] "POST<br>
> /dashboard HTTP/1.1" 200 5367 "<a href="https://x.x.x.x:1443/dashboard" target="_blank">https://x.x.x.x:1443/dashboard</a>"<br>
> "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.31<br>
> (KHTML, like Gecko) Chrome/26.0.1410.65 Safari/537.31"<br>
> Apr 17 08:31:41 km1 apache2: [info] [client x.x.x.x] Connection to child<br>
> 8 established (server myserver:443)<br>
> Apr 17 08:31:41 km1 apache2: [info] Seeding PRNG with 656 bytes of entropy<br>
> Apr 17 08:31:54 km1 apache2: [info] [client  x.x.x.x  (70007)The timeout<br>
> specified has expired: SSL input filter read failed.<br>
> Apr 17 08:31:54 km1 apache2: [info] [client  x.x.x.x  Connection closed<br>
> to child 6 with standard shutdown (server myserver:443)<br>
> Apr 17 08:31:55 km1 apache2: [info] [client  x.x.x.x  (70014)End of file<br>
> found: SSL handshake interrupted by system [Hint: Stop button pressed in<br>
> browser?!]<br>
> Apr 17 08:31:55 km1 apache2: [info] [client  x.x.x.x  Connection closed<br>
> to child 8 with abortive shutdown (server myserver:443)<br>
><br>
><br>
><br>
> On Wed, Apr 17, 2013 at 6:09 PM, Andrew Pogrebennyk<br>
</div></div><div class="im">> <<a href="mailto:apogrebennyk@sipwise.com">apogrebennyk@sipwise.com</a> <mailto:<a href="mailto:apogrebennyk@sipwise.com">apogrebennyk@sipwise.com</a>>> wrote:<br>
><br>
>     Martin,<br>
><br>
>     any errors in oss.log and collectd.log (after restart) that would give<br>
>     an indication what is going wrong?<br>
><br>
>     On 04/17/2013 09:26 AM, Daniel Grotti wrote:<br>
>     > Hello Martin,<br>
>     ><br>
>     > Have you tried to restart collectd ?<br>
>     ><br>
>     > /etc/init.d/collectd restart<br>
>     ><br>
>     > If the script is not able to stop the process, kill the process<br>
>     manually<br>
>     > and then start it again.<br>
>     ><br>
>     > br,<br>
>     > Daniel<br>
>     ><br>
>     ><br>
>     ><br>
>     ><br>
>     > On 04/17/2013 12:23 AM, Martin Wong wrote:<br>
>     >> Hi,<br>
>     >><br>
>     >> A newbie here... Just trying to figure something out.<br>
>     >><br>
>     >> The status page does an AJAX call for the graphs but somehow the just<br>
>     >> keeps showing the loading ... spinner.<br>
>     >><br>
>     >> How do you figure out what's wrong?<br>
>     >><br>
>     >> Looked at the apache logs but nothing moves there.<br>
>     >><br>
>     >> Thanks<br>
>     >><br>
>     >><br>
>     >><br>
>     >> _______________________________________________<br>
>     >> Spce-user mailing list<br>
</div>>     >> <a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a> <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>><br>
<div class="im">>     >> <a href="http://lists.sipwise.com/listinfo/spce-user" target="_blank">http://lists.sipwise.com/listinfo/spce-user</a><br>
>     >><br>
>     ><br>
>     > _______________________________________________<br>
>     > Spce-user mailing list<br>
</div>>     > <a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a> <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>><br>
<div class="im">>     > <a href="http://lists.sipwise.com/listinfo/spce-user" target="_blank">http://lists.sipwise.com/listinfo/spce-user</a><br>
>     ><br>
><br>
><br>
>     _______________________________________________<br>
>     Spce-user mailing list<br>
</div>>     <a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a> <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>><br>
<div class="HOEnZb"><div class="h5">>     <a href="http://lists.sipwise.com/listinfo/spce-user" target="_blank">http://lists.sipwise.com/listinfo/spce-user</a><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Spce-user mailing list<br>
> <a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
> <a href="http://lists.sipwise.com/listinfo/spce-user" target="_blank">http://lists.sipwise.com/listinfo/spce-user</a><br>
><br>
<br>
_______________________________________________<br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
<a href="http://lists.sipwise.com/listinfo/spce-user" target="_blank">http://lists.sipwise.com/listinfo/spce-user</a><br>
</div></div></blockquote></div><br></div></div>