[smokeping-users] Slave Graphs not updating on master

Nick Toseland nick at livejournalinc.com
Wed Jul 10 01:36:15 CEST 2013


All,

I am pulling my hair out trying to get the slave graphs to update on the 
master server.

I have ran the debug on the slave and can it executing the probe and 
sending the data to the master. apparently the server acknowledges it, 
but nothing appears on the webpage.


This is how the apache and smokeping process run:
# ps -ef | grep apache
root       987     1  0 22:45 ?        00:00:00 /usr/sbin/apache2 -k start
www-data   989   987  0 22:45 ?        00:00:00 /usr/sbin/apache2 -k start
www-data   991   987  0 22:45 ?        00:00:00 /usr/sbin/apache2 -k start
www-data   992   987  0 22:45 ?        00:00:00 /usr/sbin/apache2 -k start

# ps -ef | grep smokeping
106       1706     1  0 23:05 ?        00:00:00 /usr/sbin/smokeping [FPing]

There is nothing in /var/log/syslog to suggest why this is not working.

There is however these in /var/log/apache2/error.log. The problem is 
that those files don't exist

[Tue Jul  9 23:17:00 2013] smokeping.cgi [client XXXXX]: Could not lock 
/var/lib/smokeping//External/BBC-CO-UK.smokeping-oregon.slave_cache 
(Permission denied). Trying again 2 more times.
[Tue Jul  9 23:17:01 2013] smokeping.cgi [client XXXXX]: Could not lock 
/var/lib/smokeping//External/BBC-CO-UK.smokeping-oregon.slave_cache 
(Permission denied). Trying again 1 more times.
[Tue Jul  9 23:17:02 2013] smokeping.cgi [client XXXXX]: Could not 
update 
/var/lib/smokeping//External/BBC-CO-UK.smokeping-oregon.slave_cache, 
giving up for now. at /usr/share/perl5/Smokeping/Master.pm line 156.
[Tue Jul  9 23:22:00 2013] smokeping.cgi [client XXXXX]: Could not lock 
/var/lib/smokeping//External/BBC-CO-UK.smokeping-oregon.slave_cache 
(Permission denied). Trying again 2 more times.
[Tue Jul  9 23:22:01 2013] smokeping.cgi [client XXXXX]: Could not lock 
/var/lib/smokeping//External/BBC-CO-UK.smokeping-oregon.slave_cache 
(Permission denied). Trying again 1 more times.
[Tue Jul  9 23:22:02 2013] smokeping.cgi [client XXXXX]: Could not 
update 
/var/lib/smokeping//External/BBC-CO-UK.smokeping-oregon.slave_cache, 
giving up for now. at /usr/share/perl5/Smokeping/Master.pm line 156.

ls -la /var/lib/smokeping//External/
total 5848
drwxr-xr-x 2 smokeping smokeping    4096 Jul  9 22:51 .
drwxr-xr-x 6 smokeping smokeping    4096 Jul  9 22:51 ..
-rw-r--r-- 1 smokeping smokeping 2986808 Jul  9 23:33 BBC-CO-UK.rrd
-rw-r--r-- 1 smokeping smokeping 2986808 Jul  9 22:51 
BBC-CO-UK~smokeping-oregon.rrd


Could you help me get to the bottom of this?

Thanks

Nick




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130710/f47784a2/attachment.htm 


More information about the smokeping-users mailing list