[smokeping-users] No data being displayed for slave machine

David Tomic young_einstein at internode.on.net
Sun Jun 22 13:54:02 CEST 2008


G.W. Haywood wrote:
> I think using the word 'slave' in your filenames might be confusing.
> This doesn't look like a slave .rrd file, I'd expect a slave data file
> name to contain a tilde character (~) like the names in the directory
> listings that I posted.
>   

Sorry ... that was just for a normal .rrd file.  I didn't realise that 
you were asking specifically for one of the slave .rrds, so I just 
copied the first line I saw.

Now that you mention it though ... I don't actually see anything in the 
log about updating the slave .rrds.

If I chmod the .rrd files to 777 though, I see them updating in the log, 
but they still don't list a user in the output.

Sun Jun 22 21:49:42 2008 - Calling 
RRDs::update(/var/lib/smokeping/TEST2/slave-test-new-777~david-slavebox.rrd  
<snip>
> Do you have the slave probes listed in your config? 

Yes.  Again, the slaves work fine if I chmod the .rrd files to 777, so I 
really think that I'm just dealing with some sort of a permissions issue?
>  What permissions?
>
> tornado:~# >>> smokeping --version
> 2.0030061
>   
david at david-desktop:~$ smokeping --version
2.004000

It's the same version running on both the master and slave machines.


> tornado:~# >>> ls -l /etc/smokeping/secrets
> -rw-r----- 1 root www-data 18 2008-04-25 09:55 /etc/smokeping/secrets
>   

david at david-desktop:~$ ls -l /etc/smokeping/smokeping_secrets
-rw-r----- 1 root www-data 32 2008-06-20 00:24 
/etc/smokeping/smokeping_secrets


> tornado:~# >>> ls -l /etc/smokeping/config.d/Slaves
> -rw-r--r-- 1 root root 201 2008-04-25 15:24 /etc/smokeping/config.d/Slaves
>   
I don't have a separate config file for the slaves ... they're just 
included in the main smokeping config file.

david at david-desktop:~$ ls -l /etc/smokeping/config
-rw-r--r-- 1 root root 4251 2008-06-22 21:28 /etc/smokeping/config


> tornado:~# >>> cat /etc/smokeping/config.d/Slaves
> *** Slaves ***
>
> secrets = /etc/smokeping/secrets
>
> + mail4
> display_name = slave probe on mail4
> location     = Works Office
> color        = ff0000
>
> ++ override
> Probes.FPing.binary = /usr/local/bin/fping
> 8<----------------------------------------------------------------------
>   
<snip>

 *** Slaves ***
 secrets=/etc/smokeping/smokeping_secrets

 +david-slavebox
 display_name=david-testslave
 color=ff0000

</snip>




More information about the smokeping-users mailing list