[smokeping-users] Problem on master/slave setup.

Trần Trọng Tấn giobuon at gmail.com
Tue Nov 10 03:13:31 CET 2009


Sorry, I missed the line

 *** Targets ***
 slaves = sp_slave



2009/11/10 Trần Trọng Tấn <giobuon at gmail.com>

> Bump!
> I have no idea about which cause the problem. Pls help or give me some of
> your configuration (if you don't mind :) )
>
> Thanks,
> -gb
>
> 2009/11/9 Trần Trọng Tấn <giobuon at gmail.com>
>
>> I resolved it by chown secret file to apache. But it comes to another
>> problem:
>> "WARNING: No targets found for slave 'sp_slave'"
>> Here is my config:
>>
>> *** Slaves ***
>> secrets=/usr/local/smokeping/etc/smokeping_secrets
>> + sp_slave
>> display_name=sp_slave
>> color=0000ff
>>
>>
>> *** Targets ***
>> probe = FPing
>> .....
>> +dest1
>> slaves = sp_slave
>> Any idea?
>> 2009/11/9 Trần Trọng Tấn <giobuon at gmail.com>
>>
>> Dear list,
>>> I had this error when trying to install SP slave:
>>>
>>> [root at sp_slave]# /usr/local/smokeping/bin/smokeping --master-url=
>>> http://192.168.37.90/cgi-bin/smokeping.cgi--cache-dir=/usr/local/smokeping/var/
>>> --shared-secret=/usr/local/smokeping/var/secrets.txt --logfile=smoke.log
>>> WARNING: Opening secrets file /usr/local/smokeping/etc/smokeping_secrets:
>>> Permission denied
>>>
>>> ERROR: we did not get config from the master. Maybe we are not configured
>>> as a slave for any of the targets on the master ?
>>>
>>> I use CentOS5.
>>> On master:
>>> [root at sp_master ~]# ls -la /usr/local/smokeping/etc/smokeping_secrets
>>> -rw-r----- 1 root root 33 Nov  9 16:46
>>> /usr/local/smokeping/etc/smokeping_secrets
>>> [root at sp_master ~]# ps aux | grep /bin/smokeping
>>> root      3485  0.0  1.2  22344 12740 ?        Ss   18:33   0:00
>>> /usr/local/smokeping/bin/smokeping [FPing]
>>>
>>> Pls help.
>>> TIA,
>>> -giobuon
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20091110/84a1c298/attachment-0001.htm 


More information about the smokeping-users mailing list