<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hello,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Interestingly the starts reporting did the same for me (stopped working) last October and restarted working a couple of weeks ago on three separate boxes.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I hadn’t noticed the correlation until now but it matches exactly with the change to and from daylight saving here in the UK.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Regards<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>John <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> spce-user-bounces@lists.sipwise.com [mailto:spce-user-bounces@lists.sipwise.com] <b>On Behalf Of </b>Martin Wong<br><b>Sent:</b> 17 April 2013 14:12<br><b>To:</b> Daniel Grotti<br><b>Cc:</b> spce-user@lists.sipwise.com<br><b>Subject:</b> Re: [Spce-user] Status from SPCE Admin interface<o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Hi Daniel, <o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I did a <o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>dpkg-reconfigure tzdata<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>to select the write timezone on the debian machine. After that it looks like it started working.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>The kamailio-lb logs seems to still be on GMT+0 time. Not sure whether there's a variable somewhere to fix that?<o:p></o:p></p></div></div><div><p class=MsoNormal><br clear=all><o:p></o:p></p><div><div><p class=MsoNormal>Martin Wong<o:p></o:p></p><div><p class=MsoNormal>Director@Binary Elements<o:p></o:p></p></div><div><p class=MsoNormal><a href="http://www.binaryelements.com.au" target="_blank">http://www.binaryelements.com.au</a><o:p></o:p></p></div><div><p class=MsoNormal>Tel: 03 9005 8880<o:p></o:p></p></div><div><p class=MsoNormal>DID: 03 9020 7907<o:p></o:p></p></div><div><p class=MsoNormal>Mob: 0405 817 796<o:p></o:p></p></div></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><div><p class=MsoNormal>On Wed, Apr 17, 2013 at 10:23 PM, Daniel Grotti <<a href="mailto:dgrotti@sipwise.com" target="_blank">dgrotti@sipwise.com</a>> wrote:<o:p></o:p></p><p class=MsoNormal>Hi Martin,<br><br>I don't know if the time zone offset is the problem.<br><br>Try to set the offset manually:<br><br>var tz_offset = 36000;<br><br>it should look like:<br><br>...<br> var ds_graph_opts = {};<o:p></o:p></p><div><p class=MsoNormal> var tz_offset = [% tz_offset %];<o:p></o:p></p></div><p class=MsoNormal> var tz_offset = 36000;<br><br> if (rrd_data_arr.length == 1)<br> ....<br><br><br>and reload your statistic web page.<br><br>Daniel<o:p></o:p></p><div><p class=MsoNormal><br><br><br><br><br>On 04/17/2013 01:22 PM, Martin Wong wrote:<br>> Hi Daniel,<br>><br>> root@km1:/var/log# grep "tz_offset"<br>> /usr/share/ngcp-www-admin/lib/admin/root/tt/<a href="http://dashboard.tt" target="_blank">dashboard.tt</a><o:p></o:p></p></div><p class=MsoNormal>> <<a href="http://dashboard.tt" target="_blank">http://dashboard.tt</a>><o:p></o:p></p><div><p class=MsoNormal>> var tz_offset = [% tz_offset %];<br>> var f = new<br>> rrdFlot(args['plot_id'],rrd_data_arr[0],graph_opts,ds_graph_opts,args['si_suffix'],tz_offset);<br>> var f = new<br>> rrdFlot(args['plot_id'],t,graph_opts,ds_graph_opts,args['si_suffix'],tz_offset);<br>> root@km1:/var/log# date<br>> Wed Apr 17 21:17:36 EST 2013<br>> root@km1:/var/log#<br>><br>> I'm in AEST GMT+10... one thing I found was that the logs were set in<br>> another timezone, probably GMT time.<br>><br>> Is this the issue?<br>><br>> Martin<br>><br>> On Wed, Apr 17, 2013 at 7:56 PM, Daniel Grotti <<a href="mailto:dgrotti@sipwise.com">dgrotti@sipwise.com</a><o:p></o:p></p></div><div><p class=MsoNormal>> <mailto:<a href="mailto:dgrotti@sipwise.com">dgrotti@sipwise.com</a>>> wrote:<br>><br>> Hello Martin,<br>><br>> What's the output of:<br>><br>> grep "tz_offset"<br>> /usr/share/ngcp-www-admin/lib/admin/root/tt/<a href="http://dashboard.tt" target="_blank">dashboard.tt</a><o:p></o:p></p></div><p class=MsoNormal>> <<a href="http://dashboard.tt" target="_blank">http://dashboard.tt</a>><o:p></o:p></p><div><div><p class=MsoNormal>><br>><br>> and which is you timezone offset?<br>><br>> br,<br>> Daniel<br>><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<br>> 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<br>> interpreter...<br>> > Apr 17 08:27:34 km1 collectd[9471]: perl: Initializing Perl<br>> 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' =><br>> 'administrator'},'parameters'<br>> > => {'host' => 'km1'}}<br>> > Apr 17 08:31:39 km1 provisioning:<br>> 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>> ><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' =><br>> 'administrator'},'parameters'<br>> > => {'folder' => 'interface','host' => 'km1'}}<br>> > Apr 17 08:31:39 km1 provisioning:<br>> 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>> ><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]<br>> "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<br>> child<br>> > 8 established (server myserver:443)<br>> > Apr 17 08:31:41 km1 apache2: [info] Seeding PRNG with 656 bytes of<br>> entropy<br>> > Apr 17 08:31:54 km1 apache2: [info] [client x.x.x.x (70007)The<br>> 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<br>> 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<br>> of file<br>> > found: SSL handshake interrupted by system [Hint: Stop button<br>> pressed in<br>> > browser?!]<br>> > Apr 17 08:31:55 km1 apache2: [info] [client x.x.x.x Connection<br>> 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>> > <<a href="mailto:apogrebennyk@sipwise.com">apogrebennyk@sipwise.com</a> <mailto:<a href="mailto:apogrebennyk@sipwise.com">apogrebennyk@sipwise.com</a>><o:p></o:p></p></div></div><p class=MsoNormal>> <mailto:<a href="mailto:apogrebennyk@sipwise.com">apogrebennyk@sipwise.com</a> <mailto:<a href="mailto:apogrebennyk@sipwise.com">apogrebennyk@sipwise.com</a>>>><o:p></o:p></p><div><div><p class=MsoNormal>> wrote:<br>> ><br>> > Martin,<br>> ><br>> > any errors in oss.log and collectd.log (after restart) that<br>> 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<br>> 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>> > >> <a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>> <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>><o:p></o:p></p></div></div><p class=MsoNormal>> <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><o:p></o:p></p><div><p class=MsoNormal>> <mailto:<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>> <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>><o:p></o:p></p></div><p class=MsoNormal>> <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><o:p></o:p></p><div><p class=MsoNormal>> <mailto:<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>> > _______________________________________________<br>> > Spce-user mailing list<br>> > <a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>> <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>><o:p></o:p></p></div><p class=MsoNormal>> <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><o:p></o:p></p><div><div><p class=MsoNormal>> <mailto:<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>> ><br>> > _______________________________________________<br>> > Spce-user mailing list<br>> > <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>> > <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> <mailto:<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>_______________________________________________<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><o:p></o:p></p></div></div></div><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>