主服务器:ip:121.201.1.3 hostname:121.201.1.3
主服务器:/usr/local/smokeping/etc/config配置:
*** Slaves ***
secrets=/usr/local/smokeping/etc/smokeping_secrets.dist
+boomer
display_name=boomer
color=0000ff
+slave2
display_name=another
color=00ff00
+CactiEZ.local
display_name=CactiEZ.local
location=zhongshan
color=0000ff
++override
Probes.FPing.binary = /usr/sbin/fping
Probes.FPing.sourceaddress = 119.120.92.220 #中山东区电信
主服务器:/usr/local/smokeping/etc/smokeping_secrets.dist配置
CactiEZ.local:abc
###########################################################
从服务器:ip:119.120.92.220 hostname:CactiEZ.local
从服务器:/usr/local/smokeping/etc/config配置:
*** Slaves ***
secrets=/usr/local/smokeping/etc/smokeping_secrets.dist
+boomer
display_name=boomer
color=0000ff
+slave2
display_name=another
color=00ff00
从服务器:/usr/local/smokeping/etc/slave_secret.txt 配置
abc
从服务器:运行报错:
[root@CactiEZ ~]# /usr/local/smokeping/bin/smokeping --master-url=http://121.201.1.3/smokeping/smokeping.fcgi --shared-secret=/usr/local/smokeping/etc/slave_secret.txt --cache-dir=/usr/local/smokeping/cache/
WARNING Master said 401 Authorization Required
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 ?
直接用zabbix吧,smokeping功能太少<atarget='_blank'>@一抹淡香流年醉回复<aclass='referer'target='_blank'>@一抹淡香流年醉:还没,你搞定联系我qq:279222347电话:18675186551回复<aclass='referer'target='_blank'>@74骑士:你好,请问你现在解决了吗?我也遇到这个问题了zabbix已经搭建好了,想用smokeping功能,能否加个qq教教我,我就是差这步,做不了slave,百度都找不到这个报错。
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。