[smokeping-users] a problem of configuration smokeping master-slave
landy
landy at 51hosting.com
Wed Oct 19 10:57:17 CEST 2011
Hi,all
I have a problem of configuration smokeping master-slave
I use Master-slave mode to install smokeping,Idid not getthe desired
results
I installthe master smokeping operating system is CentOS release 5.7 (Final)
The slave operating systemis CentOS release 5.7 (Final) too
Master Configuration
This is a master’s config file,I have to copy it out
*** General ***
owner= 51hosting.com
contact= landy at 51hosting.com
mailhost = 64.78.160.68
sendmail = /usr/sbin/sendmail
# NOTE: do not put the Image Cache below cgi-bin
# since all files under cgi-bin will be executed ... this is not
# good for images.
imgcache = /var/www/html/smokeping/img
imgurl= img
datadir= /opt/smokeping/data
piddir= /opt/smokeping/var
cgiurl= http://ping.51hosting.com/smokeping/smokeping.cgi
smokemail = /opt/smokeping/etc/smokemail
tmail = /opt/smokeping/etc/tmail
*** Slaves ***
secrets = /opt/smokeping/etc/smokeping_secrets
+ slave1.hosting
display_name = slave1.shanghai
location = shanghai
color = 00ff00
++override
Probes.FPing.binary = /usr/bin/fping
Probes.FPing.sourceaddress = 192.168.1.50 #shanghai office
*** Targets ***
+ slaves1
menu = Slaves
title = the area dection point
slaves = slave1.hosting
++ Level3
menu = Level3
title = Level3
host = 4.71.128.165
slaves = slave1.hosting
++ GLBX
menu = GLBX
title = GLBX
host = 64.209.110.13
slaves = slave1.51hosting
++ Quadranet
menu = Quadranet
title = Quadranet
host = 204.152.204.37
slaves = slave1.hosting
master secret file
The smokeping_secrets file contains a colon separated list of hostnames
and secrets
cat /opt/smokeping/etc/smokeping_secrets
slave1.hosting:123456
Slave Configuration
Slave secret file
cat /opt/smokeping/etc/smokeping_secrets
123456
Execute the following command
./smokeping --master-url=http:/64.78.160.80/smokeping/smokeping.cgi \
--cache-dir=/opt/smokeping/cache\
--shared-secret=/opt/smokeping/smokeping_secrets --slave name=slave1.hosting
When I browse http://64.78.160.80/smokeping/smokeping.cgi
the page with about slaves of the result is not I want
The data is collected by themaster server , not from the slave
server,has no role in the slave server
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20111019/de38d4ac/attachment-0001.htm
More information about the smokeping-users
mailing list