[smokeping-users] Smokeping Help | Master Slave config

samy.nashaat at orange.com samy.nashaat at orange.com
Mon Jul 16 12:56:53 CEST 2012


Hello Smokeping users,

 

I need your help, I'm not able to tie up a slave to a master and I don't
know why.

 

I've following the configuration guidelines.

 

1 problem is the permissions problem and the other is the "we did not
get config from the master. Maybe we are not configured as a slave for
any of the targets on the master ?" although its not correct.

 

Please help

 


1.1             Master configuration


smoke at master01:/etc/smokeping/config.d$ less Slaves

*** Slaves ***

secrets=/etc/smokeping/smokeping_secrets

#+boomer

#display_name=boomer

#color=0000ff

 

#+slave2

#display_name=another

#color=00ff00

 

+slave001

display_name=NECKARSULM_SMOKEslave001

color=ff0000

 

+slave002

display_name=GYOR_SMOKEslave002

color=00ff00

 

smoke at master01:/etc/smokeping/config.d$ less Targets

*** Targets ***

 

slaves = slave001 slave002

 

probe = FPing

 

smoke at master01:/etc/smokeping/config.d$ cd /etc/smokeping

smoke at master01:/etc/smokeping$ ls -l

total 32

-rw-r--r-- 1 root      root       191 Jan 16 01:02 apache2.conf

-rw-r--r-- 1 root      root       875 Mar  7 15:05 apache2.conf.save

-rw-r--r-- 1 root      root      2031 Jan 16 01:02 basepage.html

-rw-r--r-- 1 root      root       290 Jan 16 01:02 config

drwxr-xr-x 2 root      root      4096 Jul  5 17:09 config.d

-rw-r--r-- 1 root      root      1564 Jan 16 01:02 smokemail

-rw-r----- 1 smokeping smokeping   84 May 17 13:06 smokeping_secrets

-rw-r--r-- 1 root      root      3815 Jan 16 01:02 tmail

 

smoke at master01:/etc/smokeping/config.d$ cat
/etc/smokeping/smokeping_secrets

host1:mysercert

host2:yoursercert

boomer:lkasdf93uhhfdfddf

slave001:Gr7k;=O&%/

 

smoke at master01:/etc/smokeping$ ls -l /etc/smokeping/smokeping_secrets

-rw-r----- 1 smokeping smokeping 84 May 17 13:06
/etc/smokeping/smokeping_secrets

 


1.2             Slave configuration


smoke at slave001:/usr/bin$ cd /var/smokeping/

smoke at slave001:/var/smokeping$ ls

secret.txt

smoke at slave001:/var/smokeping$ cat secret.txt

Gr7k;=O&%/

smoke at slave001:/var/smokeping$

 

To be only one time and not always

cd /usr/sbin 

sudo ./smokeping --master-url=http://10.247.0.51/smokeping/smokeping.cgi
\

             --cache-dir=/var/smokeping/ \

             --shared-secret=/var/smokeping/secret.txt

 

 

smoke at slave001:/usr/sbin$ sudo ./smokeping
--master-url=http://10.247.0.51/smokeping/smokeping.cgi
--cache-dir=/var/smokeping/
--shared-secret=/var/smokeping/secret.txt

WARNING: Opening secrets file /etc/smokeping/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 ?

smoke at slave001:/usr/sbin$

 

 

 

 

 

Thanks in advance

           
Samy Nashaat

FT/SCE/EQUANT/CS&O/TSO/AVAYA VOICE SERVICE MANAGEMENT
tel. +202 2292 2784 | CVS 382 2784 | mob. +20122 3372 815 | 
samy.nashaat at orange.com

Equant, City Stars Tower 2 Floor 10 Omar Ebn El Khatab Street,
Heliopolis, Cairo, Egypt
www.orange-business.com <http://www.orange-business.com/> 
"God will make a way when there seems to be no way"

P Please do not print this e-mail unless you really need to

 

 


_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
France Telecom - Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, France Telecom - Orange is not liable for messages that have been modified, changed or falsified.
Thank you.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20120716/29ea115b/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 2201 bytes
Desc: image002.gif
Url : http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20120716/29ea115b/attachment-0002.gif 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 1081 bytes
Desc: image001.gif
Url : http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20120716/29ea115b/attachment-0003.gif 


More information about the smokeping-users mailing list