File is definitely not in the /var/lib/folder
Here are the logs :
CREATING FILE
root@ubuntu:/home/nml# touch
/var/lib/smokeping/Local/Google_FR.ubuntu.slave_cache
root@ubuntu:/home/nml# ll /var/lib/smokeping/Local/
total 4976
drwxrwxr-x 2 smokeping smokeping4096 Apr 16 08:51
Hey guys.
Thanks for your help.
Staticsafe your hints did the trick. I can now see trafic from my slave
to my properly configured targets.
But there is one more problem, I cannot see the graphs and I guess
there is something wrong in some apache files/directory as this old
email states:
Hi again.
I have read several blogpost about it and it appears that there is
definitely a problem with the rights setup by default on the server
At the begining the GOOGLE_FR.rrd and the GOOGLE_FR~ubuntu.rrd *slave*
had the same right and were owned by the same user and group =
The Smokeping user has to be able to WRITE to the in order
for updates to work. The Apache group needs to be able to
READ the file in order to display the image to a web browser.
chown smokeping:www-data foo-bar.rrd
is perhaps what you want.
Jim
On Mon, Apr 15, 2013 at 02:37:03PM +0200,
On Mon, Apr 15, 2013 at 06:54:52AM -0700, Jim Long wrote:
The Smokeping user has to be able to WRITE to the in order
Boss! The file, the file!
for updates to work. The Apache group needs to be able to
READ the file in order to display the image to a web browser.
chown smokeping:www-data
Hello Jim
root@ubuntu:/home/nml# ls -lua /var/lib/smokeping/Local/
total 8768
drwxr-xr-x 2 smokeping smokeping4096 Apr 15 15:01 .
drwxr-xr-x 5 smokeping smokeping4096 Apr 15 10:14 ..
-rw-r--r-- 1 smokeping smokeping 2986808 Apr 15 16:00 Google.rrd
-rw-rw 1 smokeping smokeping 2986808
Hey there.
Did a debug on the SLAVE and got this output ...
root@ubuntu:/home/nml# /usr/sbin/smokeping
--master-url=http://172.16.119.236/cgi-bin/smokeping.cgi --shared-secret
/etc/smokeping/slavesecrets.conf -cache-dir=/var/lib/smokeping/Local/ -debug
Sent data to Server and got new config
Hey guys :)
I ran the debugs and looks like the master is never calling the RRD file
debug from the SLAVE :
root@ubuntu:/home/nml# /usr/sbin/smokeping
--master-url=http://192.168.1.29/cgi-bin/smokeping.cgi --shared-secret
/etc/smokeping/slavesecrets.conf
Check the apache logs now.
/var/log/apache2/access.log and error.log [in Ubuntu]
I'd wager that apache can't write to the RRD file. :)
[And yes, I know you have changed permissions, but I'm still betting
that is the problem.]
-Greg
NM Hey guys :)
NM I ran the debugs and looks like the master
I think you were right Greg !
[Tue Apr 16 00:29:43 2013] smokeping.cgi [client 192.168.1.31]: Could
not lock /var/lib/smokeping//Local/Google_FR.ubuntu.slave_cache
(Permission denied). Trying again 2 more times.
[Tue Apr 16 00:29:43 2013] smokeping.cgi [client 192.168.1.31]: Could
not lock
But you didn't list the file it's erroring on:
[Google_FR.ubuntu.slave_cache]
You just listed the RRD files.
What are the perms/owners on
/var/lib/smokeping//Local/Google_FR.ubuntu.slave_cache
-Greg
NM I think you were right Greg !
NM [Tue Apr 16 00:29:43 2013] smokeping.cgi [client
I cannot see the cache file :(
Nothing in ls -lua /var/lib/smokeping/Local ... :(
Tried to create it using touch but now the file disappeared I guess
:(
Le Tue Apr 16 01:52:01 2013, Gregory Sloop a écrit :
But you didn't list the file it's erroring on:
[Google_FR.ubuntu.slave_cache]
You
Hi and thanks for your insights :!
Here is what I did :
** MASTER***
root@ubuntu:/home/nml# ls -lua /etc/smokeping/
total 44
drwxr-xr-x 3 root root 4096 Apr 11 09:05 .
drwxr-xr-x 86 root root 4096 Apr 11 09:04 ..
-rw-r--r-- 1 root root 191 Apr 10 22:33
On 4/11/2013 3:29, Trash NMICHEL wrote:
Hi and thanks for your insights :!
Here is what I did :
** MASTER***
root@ubuntu:/home/nml# ls -lua /etc/smokeping/
total 44
drwxr-xr-x 3 root root 4096 Apr 11 09:05 .
drwxr-xr-x 86 root root 4096 Apr 11 09:04 ..
Hey guys.
I am a new member that discovered this AWESOME tool today. I m going to use
it at every customer that I ll visit for sure because it gives so much
visibility on the network.
I am a network engineer located in Switzerland and specialized into
Routing/Switching , Security and also VoIP. I
On 4/10/2013 17:10, Trash NMICHEL wrote:
Hey guys.
I am a new member that discovered this AWESOME tool today. I m going to use
it at every customer that I ll visit for sure because it gives so much
visibility on the network.
I am a network engineer located in Switzerland and specialized
16 matches
Mail list logo