<body leftmargin="0" marginwidth="0" topmargin="0" marginheight="0" offset="0" bgcolor='#FFFFFF' ><!-- This is a notification from the Help Desk. -->
<STYLE>
a { color:#FF6600;}
</STYLE>
<table width="550" cellpadding="20" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td bgcolor="#FFFFFF" valign="top" style="font-size:12px;color:#000000;font-family:trebuchet ms;">
<p style="font-weight:bold"></p>
<i style="color:#555555; font-size:11px">On Nov 12, 2013 @ 05:32 pm, smokeping-users-request@lists.oetiker.ch wrote:</i>
<p>Send smokeping-users mailing list submissions to<br />        smokeping-users@lists.oetiker.ch<br /><br />To subscribe or unsubscribe via the World Wide Web, visit<br />        https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users<br />or, via email, send a message with subject or body 'help' to<br />        smokeping-users-request@lists.oetiker.ch<br /><br />You can reach the person managing the list at<br />        smokeping-users-owner@lists.oetiker.ch<br /><br />When replying, please edit your Subject line so it is more specific<br />than "Re: Contents of smokeping-users digest..."<br /><br /><br />Today's Topics:<br /><br /> 1. Re: Slave Graphs not updating on master (Jim Long)<br /> 2. Re: (no subject) (Dharmapriya Thusitha)<br /> 3. Re: (no subject) (Peter Kristolaitis)<br /> 4. Re: Slave Graphs not updating on master (Nick Toseland)<br /><br /><br />----------------------------------------------------------------------<br /><br />Message: 1<br />Date: Tue, 9 Jul 2013 1
6:56:04 -0700<br />From: Jim Long <smokeping@museum.rain.com><br />Subject: Re: [smokeping-users] Slave Graphs not updating on master<br />To: Nick Toseland <nick@livejournalinc.com><br />Cc: smokeping-users@lists.oetiker.ch<br />Message-ID: <20130709235604.GA45220@ns.umpquanet.com><br />Content-Type: text/plain; charset=us-ascii<br /><br />"Get to the bottom of this" I'm not sure, but one thing<br />seems fishy.....<br /><br />On Wed, Jul 10, 2013 at 12:36:15AM +0100, Nick Toseland wrote:<br />> <br />> ls -la /var/lib/smokeping//External/<br />> total 5848<br />> drwxr-xr-x 2 smokeping smokeping 4096 Jul 9 22:51 .<br />> drwxr-xr-x 6 smokeping smokeping 4096 Jul 9 22:51 ..<br />> -rw-r--r-- 1 smokeping smokeping 2986808 Jul 9 23:33 BBC-CO-UK.rrd<br />> -rw-r--r-- 1 smokeping smokeping 2986808 Jul 9 22:51 <br />> BBC-CO-UK~smokeping-oregon.rrd<br /><br />Since ls knows that "smokeping" is a defined user
name, and if ps<br />shows:<br /><br />> This is how the apache and smokeping process run:<br />> # ps -ef | grep apache<br />> root 987 1 0 22:45 ? 00:00:00 /usr/sbin/apache2 -k start<br />> www-data 989 987 0 22:45 ? 00:00:00 /usr/sbin/apache2 -k start<br />> www-data 991 987 0 22:45 ? 00:00:00 /usr/sbin/apache2 -k start<br />> www-data 992 987 0 22:45 ? 00:00:00 /usr/sbin/apache2 -k start<br />> <br />> # ps -ef | grep smokeping<br />> 106 1706 1 0 23:05 ? 00:00:00 /usr/sbin/smokeping [FPing]<br /><br />... then what's the "106" doing at the beginning of<br />that line? Are you trying to show that the smokeping process is<br />running as UID 106, and ps is unable to map that UID to a<br />username? Or some other reason the apache processes show a<br />username and the smokeping process doesn't?<br /><br /><br /><br /><br />------------------------------<br /><br
/>Message: 2<br />Date: Wed, 10 Jul 2013 10:26:19 +0530<br />From: Dharmapriya Thusitha <thusitha555@gmail.com><br />Subject: Re: [smokeping-users] (no subject)<br />To: smokeping-users@lists.oetiker.ch<br />Message-ID:<br />        <CAJh6EL7+AEfzpdBqrdK06w0uHyykMB1S21uUysBYhk5b=Am3UA@mail.gmail.com><br />Content-Type: text/plain; charset="iso-8859-1"<br /><br />hi ,<br />is there any way to get smokeping alert data through API.(when an alert<br />occurred, get that alert through API ).<br />thanks<br />thusitha<br /><br /><br />On Mon, Jul 8, 2013 at 2:30 PM, Dharmapriya Thusitha<br /><thusitha555@gmail.com>wrote:<br /><br />><br />><br />> hi,<br />> In smokeping ,it uses ++/[-_0-9a-zA-Z]+/ types of device names.so i cant<br />> add ip address as the device name .it gives an error." ERROR:<br />> /etc/smokeping/devices/xx.xx.xx.xx, line 1: unknown section '"xx.xx.xx.xx.and i have 5000 agents to monitor. because of this probl
em ,it is very hard<br />> to change the names of those devices.give me an solution<br />><br />> _______________________________________________<br />> smokeping-users mailing list<br />> smokeping-users@lists.oetiker.ch<br />> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users<br />><br />><br />-------------- next part --------------<br />An HTML attachment was scrubbed...<br />URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130710/d76973cb/attachment-0001.htm <br /><br />------------------------------<br /><br />Message: 3<br />Date: Wed, 10 Jul 2013 01:00:42 -0400<br />From: Peter Kristolaitis <alter3d@alter3d.ca><br />Subject: Re: [smokeping-users] (no subject)<br />To: smokeping-users@lists.oetiker.ch<br />Message-ID: <51DCEA7A.806@alter3d.ca><br />Content-Type: text/plain; charset="iso-8859-1"<br /><br />Smokeping itself does not have an API you can query. However, with a <br />bit of work, y
ou can have Smokeping trigger an external API when an <br />alert is triggered/raised/cleared. From the docs:*<br /><br />to* /(mandatory setting)/<br />//Either an email address to send alerts to, or the name of a program to <br />execute when an alert matches. To call a program, the first character of <br />the *to* value must be a pipe symbol "|". The program will the be called <br />whenever an alert matches, using the following 5 arguments (except if <br />*edgetrigger* is 'yes'; see below): *name-of-alert*, *target*, <br />*loss-pattern*, *rtt-pattern*, *hostname*. You can also provide a comma <br />separated list of addresses and programs.<br /><br /><br />- Peter<br /><br /><br />On 7/10/2013 12:56 AM, Dharmapriya Thusitha wrote:<br />> hi ,<br />> is there any way to get smokeping alert data through API.(when an <br />> alert occurred, get that alert through API ).<br />> thanks<br />> thusitha<br />><br />><br />> On Mon, Jul 8, 2
013 at 2:30 PM, Dharmapriya Thusitha <br />> <thusitha555@gmail.com <mailto:thusitha555@gmail.com>> wrote:<br />><br />><br />><br />> hi,<br />> In smokeping ,it uses ++/[-_0-9a-zA-Z]+/ types of device names.so<br />> i cant add ip address as the device name .it gives an error."<br />> ERROR: /etc/smokeping/devices/xx.xx.xx.xx, line 1: unknown section<br />> '"xx.xx.xx.xx. and i have 5000 agents to monitor. because of this<br />> problem ,it is very hard to change the names of those devices.give<br />> me an solution<br />><br />> _______________________________________________<br />> smokeping-users mailing list<br />> smokeping-users@lists.oetiker.ch<br />> <mailto:smokeping-users@lists.oetiker.ch><br />> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users<br />><br />><br />><br />><br />> ____________________________________
___________<br />> smokeping-users mailing list<br />> smokeping-users@lists.oetiker.ch<br />> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users<br /><br />-------------- next part --------------<br />An HTML attachment was scrubbed...<br />URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130710/a30c63ef/attachment-0001.htm <br />-------------- next part --------------<br />A non-text attachment was scrubbed...<br />Name: smime.p7s<br />Type: application/pkcs7-signature<br />Size: 4246 bytes<br />Desc: S/MIME Cryptographic Signature<br />Url : http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130710/a30c63ef/attachment-0001.bin <br /><br />------------------------------<br /><br />Message: 4<br />Date: Wed, 10 Jul 2013 10:52:10 +0100<br />From: Nick Toseland <nick@livejournalinc.com><br />Subject: Re: [smokeping-users] Slave Graphs not updating on master<br />To: Greg Sloop <gregs@sloop.net><br />Cc: smokeping-us
ers@lists.oetiker.ch<br />Message-ID: <51DD2ECA.6060607@livejournalinc.com><br />Content-Type: text/plain; charset="iso-8859-1"<br /><br />Hi Greg<br /><br />I managed to fix the the issue by as you say giving www-data access to <br />the RRD files.<br /><br />The problem is I don't want to have to do this for every RRD file that <br />is created.<br /><br />Do you happen to have the link to the messages for mod'ing the startup <br />script?<br /><br />Thanks for your help<br /><br />NIck<br /><br />On 10/07/2013 00:52, Gregory Sloop wrote:<br />> Re: [smokeping-users] Slave Graphs not updating on master www-data <br />> needs rights to write to the RRD files.<br />><br />> A search for "slave permissions" will probably give a few more <br />> pointers from the list since this is a common issue.<br />> changing ownership and rights should set you right.<br />> [Even better, mod'ing the startup script to change all the RRD files
<br />> so they are www-data writeable - this way new slave setups won't get <br />> borked if you forget to mod them...a post in the last day or two <br />> showed a good example of this.]<br />><br />> -Greg<br />><br />><br />><br />>         All,<br />><br />> I am pulling my hair out trying to get the slave graphs to update on <br />> the master server.<br />><br />> I have ran the debug on the slave and can it executing the probe and <br />> sending the data to the master. apparently the server acknowledges it, <br />> but nothing appears on the webpage.<br />><br />><br />> This is how the apache and smokeping process run:<br />> # ps -ef | grep apache<br />> root 987 1 0 22:45 ? 00:00:00 /usr/sbin/apache2 -k start<br />> www-data 989 987 0 22:45 ? 00:00:00 /usr/sbin/apache2 -k start<br />> www-data 991 987 0 22:45 ? 00:00:00 /usr/sbin/apache2 -k start<br />> ww
w-data 992 987 0 22:45 ? 00:00:00 /usr/sbin/apache2 -k start<br />><br />> # ps -ef | grep smokeping<br />> 106 1706 1 0 23:05 ? 00:00:00 /usr/sbin/smokeping <br />> [FPing]<br />><br />> There is nothing in /var/log/syslog to suggest why this is not working.<br />><br />> There is however these in /var/log/apache2/error.log. The problem is <br />> that those files don't exist<br />><br />> [Tue Jul 9 23:17:00 2013] smokeping.cgi [client XXXXX]: Could not <br />> lock <br />> /var/lib/smokeping//External/BBC-CO-UK.smokeping-oregon.slave_cache <br />> (Permission denied). Trying again 2 more times.<br />> [Tue Jul 9 23:17:01 2013] smokeping.cgi [client XXXXX]: Could not <br />> lock <br />> /var/lib/smokeping//External/BBC-CO-UK.smokeping-oregon.slave_cache <br />> (Permission denied). Trying again 1 more times.<br />> [Tue Jul 9 23:17:02 2013] smokeping.cgi [client XXXXX]: Could not <br
/>> update <br />> /var/lib/smokeping//External/BBC-CO-UK.smokeping-oregon.slave_cache, <br />> giving up for now. at /usr/share/perl5/Smokeping/Master.pm line 156.<br />> [Tue Jul 9 23:22:00 2013] smokeping.cgi [client XXXXX]: Could not <br />> lock <br />> /var/lib/smokeping//External/BBC-CO-UK.smokeping-oregon.slave_cache <br />> (Permission denied). Trying again 2 more times.<br />> [Tue Jul 9 23:22:01 2013] smokeping.cgi [client XXXXX]: Could not <br />> lock <br />> /var/lib/smokeping//External/BBC-CO-UK.smokeping-oregon.slave_cache <br />> (Permission denied). Trying again 1 more times.<br />> [Tue Jul 9 23:22:02 2013] smokeping.cgi [client XXXXX]: Could not <br />> update <br />> /var/lib/smokeping//External/BBC-CO-UK.smokeping-oregon.slave_cache, <br />> giving up for now. at /usr/share/perl5/Smokeping/Master.pm line 156.<br />><br />> ls -la /var/lib/smokeping//External/<br />> total 5848<br />> drwxr-xr-
x 2 smokeping smokeping 4096 Jul 9 22:51 .<br />> drwxr-xr-x 6 smokeping smokeping 4096 Jul 9 22:51 ..<br />> -rw-r--r-- 1 smokeping smokeping 2986808 Jul 9 23:33 BBC-CO-UK.rrd<br />> -rw-r--r-- 1 smokeping smokeping 2986808 Jul 9 22:51 <br />> BBC-CO-UK~smokeping-oregon.rrd<br />><br />><br />> Could you help me get to the bottom of this?<br />><br />> Thanks<br />><br />> Nick<br />><br />><br />><br />><br />><br />> /--<br />> Gregory Sloop, Principal: Sloop Network & Computer Consulting<br />> Voice: 503.251.0452 x82<br />> EMail: /gregs@sloop.net <mailto:gregs@sloop.net><br />> http://www.sloop.net<br />> /---<br />><br />><br />> _______________________________________________<br />> smokeping-users mailing list<br />> smokeping-users@lists.oetiker.ch<br />> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users<br />> /<br /><br />-------------- next part ---
-----------<br />An HTML attachment was scrubbed...<br />URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130710/2d1068de/attachment.htm <br /><br />------------------------------<br /><br />_______________________________________________<br />smokeping-users mailing list<br />smokeping-users@lists.oetiker.ch<br />https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users<br /><br /><br />End of smokeping-users Digest, Vol 77, Issue 4<br />**********************************************</p>
<br/>
<hr/>
This is an automated response. Your issue has been noted. We'll be in touch soon.<br/>
<br/>
Please reply to this email or visit the URL below with any additional details.<br/>
<br/>
<a href="http://florin-pc/portal/view-help-request/34">http://florin-pc/portal/view-help-request/34</a><br/>
</td>
</tr>
</table>
</body>