From ton.ami.totoro at gmail.com Mon Jun 6 14:05:31 2011 From: ton.ami.totoro at gmail.com (SCHNEIDER Benoit) Date: Mon, 6 Jun 2011 14:05:31 +0200 Subject: [smokeping-users] Discontinuance in smokeping graph Message-ID: Hi, At my office we use smokeping to monitor connection. The smokeping have been update from the debian etch version to squeez with out any problem, but few mounth later (now) we have some discontinuance in the graph. The drowing stop and restart for all graphed connection in exactly the same time. I build a new smokping directly based on squeez, with the same configuration files and I don't have any problem. Any idear about what's happenning ? Or a way to found where the problem is ? In my log files I have this: Jun 6 12:03:31 smokeping smokeping[543]: FPing: NOTE: smokeping took 60 seconds to complete 1 round of polling. This is over 80%% of the max time available for a polling cycle (60 seconds). But in both server. Thank's for helping Totoro -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20110606/93f1faa4/attachment.htm From thiago at motta.eti.br Wed Jun 8 05:54:37 2011 From: thiago at motta.eti.br (Thiago Motta) Date: Wed, 8 Jun 2011 00:54:37 -0300 Subject: [smokeping-users] smokeping master/slave on windows Message-ID: Hi Guys, My company provide a monitoring service for out systems in some gold contracts. And one of our customer has requested to implement network monitoring in adition to what we already do. I did some research and found that this customer is already using SmokePing and that it provides the info we need, so it seens to be the natural choise for me. I built a small lab to make some tests since this customer env is windows only and smokeping was originaly designed to *NIX.i want to be sure that all would work before presenting to my manager as an viable option. I managed to get an standalone server running, and them changed it to a Master an configured a Slave in another windows box. All seens fine until here, the slave is comunicating to the master and the master itself is gathering its data. The problem is, the slave is reporting back to the Master that store the data in a .slave_cache file, but there are entries with duplicated time in here, so when Smokeping in the master process it it generates the following error: RRDs::update ERROR: \smokeping\var/Test/Google~pssla-02-vm-2.rrd: illegal attempt to update using time 1307502575 when last update time is 1307502575 (minimum one second step). So in the this cache file i see several entries with the same time, and sometimes older entries after newer ones. I am using Smokepng 4.2.4 with RRD 1.2.30. I am planning to move to a newer version of RRD, but since i need to build it from the sources i am only planning to do it when i have all working to present to my customer to plan the final implemantation. I only have graphics for the master data, the slave RRD files just sits there and never get updated. Just a little backgroud on the use, i have several servives distribuited on several servers in 8 sites distributed across the country (a total of more them 80 distinti servers) and i need to test the latency and avaliability of the servers that has any communication. Our productis are telephony related and SIP-Based and demand eficienty networks so the need to monitor it. Having all standalone installs in the servers and the info distribuited would be unmanageble, thus i realy need the Master/Slave funtion working. If this is not possible to get it working can someone recomend a product that can do similar monitoring on windows? Thanks in advance for everyone. Cheer, Thiago Motta -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20110608/51f74a53/attachment.htm From mailinglists at rednarb.com Wed Jun 15 22:46:09 2011 From: mailinglists at rednarb.com (Eric Brander) Date: Wed, 15 Jun 2011 14:46:09 -0600 Subject: [smokeping-users] loss_colors usage Message-ID: Hello fellow smokers, I have a question about loss_colors usage. I would like the loss colors to be different for each probe. For instance, I have an curl probe that has only 5 pings and an fping probe that does 10. I want to set colors for 1 through 10 (green fade to red) for the fping probe but only 1 through 5 (again green fade to red) for the curl probe. Can I do a loss_colors section under each of those probes or is there some other way to handle this? TIA, Eric -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20110615/8ff721ce/attachment.htm From CMoore at presilient.com Thu Jun 16 18:34:37 2011 From: CMoore at presilient.com (Moore, Chris) Date: Thu, 16 Jun 2011 16:34:37 +0000 Subject: [smokeping-users] CiscoRTTMonEchoICMP Display issue Message-ID: Hi all, Trying to get CiscoRTTMonEchoICMP working and have run into a strange issue. When I have it configured, it runs fine (see log output below) but when I try to see the results, I get an error message from the web server: ERROR: /opt/smokeping/etc/config, line 286: unknown variable 'ioshost' When I remove the ioshost variable, I can see the web pages just fine - and I can even see the results from CiscoRTTMonEchoICMP while it was running graphed - but, of course CiscoRTTMonEchoICMP no longer runs. Here's the relevant config: *** Probes *** + FPing binary = /usr/sbin/fping blazemode = true + CiscoRTTMonEchoICMP forks = 5 *** Targets *** + local menu = Local title = local ++ Internet_A probe = CiscoRTTMonEchoICMP menu = Internet_A title = Internet_67.64.149.129 alerts = someloss host = 67.64.149.129 ioshost = community at 67.227.90.130 And here is the log output: Jun 16 10:11:34 prinetmon01 smokeping[30733]: Starting syslog logging Jun 16 10:11:34 prinetmon01 smokeping[30736]: Smokeping version 2.004002 successfully launched. Jun 16 10:11:34 prinetmon01 smokeping[30736]: Entering multiprocess mode. Jun 16 10:11:34 prinetmon01 smokeping[30736]: Child process 30738 started for probe CiscoRTTMonEchoICMP. Jun 16 10:11:34 prinetmon01 smokeping[30738]: CiscoRTTMonEchoICMP: probing 1 targets with step 300 s and offset 95 s. Jun 16 10:11:34 prinetmon01 smokeping[30739]: FPing: probing 6 targets with step 300 s and offset 100 s. Jun 16 10:11:34 prinetmon01 smokeping[30736]: Child process 30739 started for probe FPing. Jun 16 10:11:34 prinetmon01 smokeping[30736]: All probe processes started successfully. Jun 16 10:11:35 prinetmon01 smokeping[30740]: smokeping at 67.227.90.130:::::2 supports 2.2.0 Round Trip Time MIB Jun 16 10:16:35 prinetmon01 smokeping[30783]: smokeping at 67.227.90.130:::::2 supports 2.2.0 Round Trip Time MIB Jun 16 10:21:35 prinetmon01 smokeping[30841]: smokeping at 67.227.90.130:::::2 supports 2.2.0 Round Trip Time MIB Jun 16 10:26:35 prinetmon01 smokeping[30908]: smokeping at 67.227.90.130:::::2 supports 2.2.0 Round Trip Time MIB Thanks in advance for your help, Chris _______________________________________________ Chris Moore Network Engineer Presilient, LLC 720-566-5056 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20110616/296684fe/attachment-0001.htm From joakim at jwab.net Sat Jun 18 12:33:05 2011 From: joakim at jwab.net (Joakim Westin) Date: Sat, 18 Jun 2011 12:33:05 +0200 Subject: [smokeping-users] Smokeping Master/Slave permission/denied problem Message-ID: Hi, I'm a SmokePing beginner. I have gotten as far as to setup three machines. One as master (master) and two slaves. I have configured my Targets file and added the slaves. I set the permission on the file /etc/smokeping/smokeping_secrets as follows: sudo chmod 0440 /etc/smokeping/smokeping_secrets then I start SmokePing sudo service smokeping restart On the slave I then execute this: /usr/sbin/smokeping --master-url=http://master/smokeping/smokeping.cgi --cache-dir=/var/smokeping/ --shared-secret=/var/smokeping/secret.txt -debug and I get this error: WARNING: Opening secrets file /etc/smokeping/smokeping_secrets: Permission denied If I change the permission on the file /etc/smokeping/smokeping_secrets on the master (while SMokePing is running) : sudo chmod 0444 /etc/smokeping/smokeping_secrets It works at the slave. But after a while SmokePing complains that the file is world readable... I understand that the file shouldn't be world readable... but since I am no good at Python and Linux permissions I really need help with this! Can anyone give me a clue as to how the permissions should be set for the master/slave to work OK? I am doing this with 2.004002 and Perl v5.10.1 on Ubuntu 11.04 Cheers, Joakim From ged at jubileegroup.co.uk Sat Jun 18 18:24:57 2011 From: ged at jubileegroup.co.uk (G.W. Haywood) Date: Sat, 18 Jun 2011 17:24:57 +0100 (BST) Subject: [smokeping-users] Smokeping Master/Slave permission/denied problem In-Reply-To: References: Message-ID: Hi there, On Sat, 18 Jun 2011, Joakim Westin wrote: > sudo chmod 0440 /etc/smokeping/smokeping_secrets > ... > WARNING: Opening secrets file /etc/smokeping/smokeping_secrets: > Permission denied > ... > Can anyone give me a clue as to how the permissions should be set for > the master/slave to work OK? It's probably the file ownership that's the problem, not the permissions. The file should be owned by the UID that's running the process which is complaining about reading it. Try using chown user /etc/smokeping/smokeping_secrets where "user" is the userid of the smokeping process. -- 73, Ged. From alter3d at alter3d.ca Sat Jun 18 16:10:25 2011 From: alter3d at alter3d.ca (Peter Kristolaitis) Date: Sat, 18 Jun 2011 10:10:25 -0400 Subject: [smokeping-users] Smokeping Master/Slave permission/denied problem In-Reply-To: References: Message-ID: <4DFCB1D1.8040005@alter3d.ca> The file needs to be readable by the user that Smokeping is running as on the master. If the file is owned by root and you set permissions 0440 on it, then the Smokeping user can't read it. You should change the ownersip of the file so that your Smokeping user can read it; for example, if Smokeping runs as _smokeping, you could do: chown _smokeping:root /etc/smokeping/smokeping_secrets chmod 0660 /etc/smokeping/smokeping_secrets - Peter On 6/18/2011 6:33 AM, Joakim Westin wrote: > Hi, I'm a SmokePing beginner. > > I have gotten as far as to setup three machines. One as master > (master) and two slaves. I have configured my Targets file and added > the slaves. I set the permission on the file > /etc/smokeping/smokeping_secrets as follows: > > sudo chmod 0440 /etc/smokeping/smokeping_secrets > > then I start SmokePing > > sudo service smokeping restart > > On the slave I then execute this: > > /usr/sbin/smokeping --master-url=http://master/smokeping/smokeping.cgi > --cache-dir=/var/smokeping/ --shared-secret=/var/smokeping/secret.txt > -debug > > and I get this error: > > WARNING: Opening secrets file /etc/smokeping/smokeping_secrets: > Permission denied > > If I change the permission on the file > /etc/smokeping/smokeping_secrets on the master (while SMokePing is > running) : > > sudo chmod 0444 /etc/smokeping/smokeping_secrets > > It works at the slave. But after a while SmokePing complains that the > file is world readable... > > I understand that the file shouldn't be world readable... but since I > am no good at Python and Linux permissions I really need help with > this! > > Can anyone give me a clue as to how the permissions should be set for > the master/slave to work OK? > > I am doing this with 2.004002 and Perl v5.10.1 on Ubuntu 11.04 > > Cheers, > Joakim > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 6209 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20110618/9b56b736/attachment.bin From joakim at jwab.net Sun Jun 19 13:19:09 2011 From: joakim at jwab.net (Joakim Westin) Date: Sun, 19 Jun 2011 13:19:09 +0200 Subject: [smokeping-users] Smokeping Master/Slave permission/denied problem In-Reply-To: References: Message-ID: Hi, Many thanks both og you for pointing me in the right direction! I did give the smokeping user ownership of the file but still got the permission problem. After a while I realised that the issue was that the SpeedyCGI module was running as www-data. Once I gave www-data access to the file it all worked fine :-) Thanks for helping me learn! Cheers, Joakim 2011/6/18 G.W. Haywood : > Hi there, > > On Sat, 18 Jun 2011, Joakim Westin wrote: > >> sudo chmod 0440 /etc/smokeping/smokeping_secrets >> ... >> WARNING: Opening secrets file /etc/smokeping/smokeping_secrets: >> Permission denied >> ... >> Can anyone give me a clue as to how the permissions should be set for >> the master/slave to work OK? > > It's probably the file ownership that's the problem, not the permissions. > The file should be owned by the UID that's running the process which is > complaining about reading it. ?Try using > > chown user /etc/smokeping/smokeping_secrets > > where "user" is the userid of the smokeping process. > > -- > > 73, > Ged. > From filter at stevenstromer.com Tue Jun 21 22:31:36 2011 From: filter at stevenstromer.com (Steven Stromer) Date: Tue, 21 Jun 2011 16:31:36 -0400 Subject: [smokeping-users] Old Alerts? Message-ID: Hi. Smokeping is fantastic, but configuration has given me an issue... I started with a tiny config file with only one alert, 'someloss'. Next, I built out my config file for my network, with probes, targets and a range of alerts. The original alert 'someloss' was removed. Yet, when I watch the smokeping logs, the ONLY alert I see active is 'someloss': Jun 21 15:57:47 sstromer smokeping[92450]: Alert someloss is active for LAN_to_DOMAIN_HOST_Pings.Mail_Server_url Jun 21 15:57:48 sstromer smokeping[92450]: Alert someloss is active for LAN_to_LAN.to_Router_ip I've performed a string search through the file contents of all relevant directories for the term 'someloss', and can't find a single instance in any file containing this term. I've, of course, both reloaded and restarted smokeping to no avail. Is there something more aggressive I have to do, such as removing all of the .rdd files from existing targets? Also, for future reference, what does it mean when an alert is logged as 'active'? Is the log activity triggered by the beginning of an alert pattern being met, by the full pattern being met, by the alert meeting all of the conditions necessary to trigger an email/application launch, or something other? Thanks for the attention, Steven Stromer From filter at stevenstromer.com Wed Jun 22 00:06:07 2011 From: filter at stevenstromer.com (Steven Stromer) Date: Tue, 21 Jun 2011 18:06:07 -0400 Subject: [smokeping-users] RRD parameter mismatch ('Different number of data sources...) Message-ID: Hi List, I've Googled all around for the better part of the day, and found multiple instances of this error, all unresolved. If anyone can help, it would be much appreciated! smokeping is continuously restarting with the following two messages in an endless loop: org.macports.smokeping[30235] Error: RRD parameter mismatch ('Different number of data sources: /opt/local/var/smokeping/LAN_to_DOMAIN_HOST_Pings/Mail_Server_url.rrd has 23, create string has 8'). You must delete /opt/local/var/smokeping/LAN_to_DOMAIN_HOST_Pings/Mail_Server_url.rrd or fix the configuration parameters. com.apple.launchd[1] (org.macports.smokeping) Throttling respawn: Will start in 9 seconds Deleting the file 'Mail_Server_url.rrd' does not resolve the issue. Where can I correct the configuration parameters, or otherwise repair this issue? Your assist is much appreciated! Steven Stromer From tobi at oetiker.ch Wed Jun 22 06:57:17 2011 From: tobi at oetiker.ch (Tobias Oetiker) Date: Wed, 22 Jun 2011 06:57:17 +0200 (CEST) Subject: [smokeping-users] RRD parameter mismatch ('Different number of data sources...) In-Reply-To: References: Message-ID: Hi Steven, Yesterday Steven Stromer wrote: > Hi List, > > > I've Googled all around for the better part of the day, and found multiple instances of this error, all unresolved. If anyone can help, it would be much appreciated! smokeping is continuously restarting with the following two messages in an endless loop: > > org.macports.smokeping[30235] Error: RRD parameter mismatch ('Different number of data sources: /opt/local/var/smokeping/LAN_to_DOMAIN_HOST_Pings/Mail_Server_url.rrd has 23, create string has 8'). You must delete /opt/local/var/smokeping/LAN_to_DOMAIN_HOST_Pings/Mail_Server_url.rrd or fix the configuration parameters. > > com.apple.launchd[1] (org.macports.smokeping) Throttling respawn: Will start in 9 seconds > > > Deleting the file 'Mail_Server_url.rrd' does not resolve the issue. Where can I correct the configuration parameters, or otherwise repair this issue? this would indicate that you have some creative code in the configuration file :-) cheers tobi > > Your assist is much appreciated! > > Steven Stromer > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > > -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900 From mail at shankerbalan.net Wed Jun 22 06:38:45 2011 From: mail at shankerbalan.net (Shanker Balan) Date: Tue, 21 Jun 2011 21:38:45 -0700 Subject: [smokeping-users] "connect: Connection timed out" Message-ID: <20110622043845.GA7782@shankerbalan.net> Helo, I ran into an issue earlier today where one of the smokeping probes stopped sending back ping results to the master. The logs just said: Jun 20 08:30:00 noc4 smokeping[1133]: WARNING Master said 500 Can't connect to master:9999 (connect: Connection timed out) Bouncing the smokeping client fixed it. Earlier in the day, there was a VPN issue which might have wedged the client probe. So, I checked around http://oss.oetiker.ch/smokeping/doc/smokeping_config.en.html for any mention f retries/retry but didn't see any. Can I avoid such a issue in the future where I have to manually bounce the smokeping client? Thanks. -- http://shankerbalan.net/ From filter at stevenstromer.com Fri Jun 24 02:57:23 2011 From: filter at stevenstromer.com (Steven Stromer) Date: Thu, 23 Jun 2011 20:57:23 -0400 Subject: [smokeping-users] Stopping smokeping? Message-ID: Hi List, Can anyone recommend a clean method for shutting down smokeping on OS X? $ ps -ax | grep smokeping 29231 ?? 0:00.25 /opt/local/bin/speedy_backend /opt/local/var/smokeping/smokeping.cgi 41246 ?? 0:01.38 /opt/local/bin/smokeping [EchoPingHttp] 41247 ?? 0:03.50 /opt/local/bin/smokeping [FPing] 41248 ?? 0:03.90 /opt/local/bin/smokeping [DNS] 56754 ?? 0:13.75 /opt/local/bin/speedy_backend /opt/local/var/smokeping/smokeping.cgi 92373 ?? 0:03.97 /opt/local/bin/perl -w /opt/local/bin/smokeping 25335 ttys000 0:00.08 tail -f /var/log/smokeping.log 57434 ttys001 0:00.00 grep smokeping I eventually killed the .cgi processes by specific pids: $ sudo kill -QUIT [pid] but this doesn't seem an acceptable method. Should I be running all probes in a single process? Is it intentional that smokeping spawns two instances of smokeping.cgi? Earlier attempts: $ sudo launchctl stop /Library/LaunchDaemons/org.macports.smokeping.plist launchctl stop error: No such process $ sudo launchctl unload /Library/LaunchDaemons/org.macports.smokeping.plist launchctl: Error unloading: org.macports.smokeping $ sudo smokeping stop ### parsing dig output...OK Note: logging to syslog as local1/info. ERROR: I Quit! Another copy of /opt/local/bin/smokeping (92373) seems to be running. Check /var/run/smokeping.pid Your assistance is much appreciated! From josh at imaginenetworksllc.com Fri Jun 24 02:59:29 2011 From: josh at imaginenetworksllc.com (Josh Luthman) Date: Thu, 23 Jun 2011 20:59:29 -0400 Subject: [smokeping-users] Stopping smokeping? In-Reply-To: References: Message-ID: Not sure if this is the best way to do it, but here is what my init script has: kill `cat /usr/local/smokeping/var/smokeping.pid` Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373 On Thu, Jun 23, 2011 at 8:57 PM, Steven Stromer wrote: > Hi List, > > Can anyone recommend a clean method for shutting down smokeping on OS X? > > $ ps -ax | grep smokeping > 29231 ?? 0:00.25 /opt/local/bin/speedy_backend > /opt/local/var/smokeping/smokeping.cgi > 41246 ?? 0:01.38 /opt/local/bin/smokeping [EchoPingHttp] > 41247 ?? 0:03.50 /opt/local/bin/smokeping [FPing] > 41248 ?? 0:03.90 /opt/local/bin/smokeping [DNS] > 56754 ?? 0:13.75 /opt/local/bin/speedy_backend > /opt/local/var/smokeping/smokeping.cgi > 92373 ?? 0:03.97 /opt/local/bin/perl -w /opt/local/bin/smokeping > 25335 ttys000 0:00.08 tail -f /var/log/smokeping.log > 57434 ttys001 0:00.00 grep smokeping > > > I eventually killed the .cgi processes by specific pids: > $ sudo kill -QUIT [pid] > > but this doesn't seem an acceptable method. Should I be running all probes > in a single process? Is it intentional that smokeping spawns two instances > of smokeping.cgi? > > > Earlier attempts: > > $ sudo launchctl stop /Library/LaunchDaemons/org.macports.smokeping.plist > launchctl stop error: No such process > > > $ sudo launchctl unload /Library/LaunchDaemons/org.macports.smokeping.plist > launchctl: Error unloading: org.macports.smokeping > > > $ sudo smokeping stop > ### parsing dig output...OK > Note: logging to syslog as local1/info. > ERROR: I Quit! Another copy of /opt/local/bin/smokeping (92373) seems to be > running. > Check /var/run/smokeping.pid > > > Your assistance is much appreciated! > > > _______________________________________________ > smokeping-users mailing list > smokeping-users at lists.oetiker.ch > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20110623/4e0ee5b8/attachment.htm