[smokeping-users] Multiple smokeping daemons failure

srj at netprl.com srj at netprl.com
Tue Oct 3 07:06:47 MEST 2006


Hi,
We've been running parallel smokeping daemon instances, based on filters
and a single config file.

After an upgrade we now get error messages and only the first daemon
starts.

I'm wondering if support for multiple instances using filters got dropped?
If not, please point out what I need to do to gain back this very
useful function.

Here are some details:

=============
v1.34 is GOOD
=============
smokeping-1.34
rrdtool-1.0.48

cat restart_sp.sh:
#!/bin/sh
sudo killall smokeping
sudo rm /home/cricket/smokeping-data/*.pid
sudo /home/cricket/smokeping/bin/smokeping
--filter="/West_Call_Centers/[A-Z]./"
sudo /home/cricket/smokeping/bin/smokeping
--filter="/West_Business_Offices/[A-Z]./"
sudo /home/cricket/smokeping/bin/smokeping
--filter="/West_Retail_Stores/[A-C]./"
... (many more)

./restart_sp.sh:
### fping seems to report in 1 miliseconds
Note: logging to syslog as local3/debug.
Daemonizing /home/cricket/smokeping/bin/smokeping ...
### fping seems to report in 1 miliseconds
Note: logging to syslog as local3/debug.
Daemonizing /home/cricket/smokeping/bin/smokeping ...
### fping seems to report in 1 miliseconds
Note: logging to syslog as local3/debug.
... (many more)

~/smokeping-data>ls -1
smokeping.21714.pid
smokeping.21718.pid
smokeping.21722.pid
smokeping.21725.pid
smokeping.21733.pid
smokeping.21739.pid
smokeping.21742.pid
smokeping.21747.pid
smokeping.21750.pid
smokeping.21755.pid
smokeping.21759.pid
...

===============
ver 2.0.9 FAILS
===============
smokeping-2.0.9
rrdtool-1.2.13

Using the same filters (and config) as above:

### fping seems to report in 1 milliseconds
Note: logging to syslog as local3/debug.
Daemonizing /home/cricket/smokeping/bin/smokeping ...
### fping seems to report in 1 milliseconds
Note: logging to syslog as local3/debug.
ERROR: I Quit! Another copy of /home/cricket/smokeping/bin/smokeping
(10319) seems to be running.
       Check /home/cricket/smokeping-data/smokeping.pid
### fping seems to report in 1 milliseconds
Note: logging to syslog as local3/debug.
ERROR: I Quit! Another copy of /home/cricket/smokeping/bin/smokeping
(10319) seems to be running.
       Check /home/cricket/smokeping-data/smokeping.pid
### fping seems to report in 1 milliseconds
Note: logging to syslog as local3/debug.
... (many more)

Thanks!

Steve
srj at netprl.com





--
Unsubscribe mailto:smokeping-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:smokeping-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/smokeping-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the smokeping-users mailing list