开发者社区> 问答> 正文

smokeping slave从服务器如何配置 启动不成功 大神help@!?报错

主服务器:ip121.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

###########################################################

从服务器:ip119.120.92.220  hostnameCactiEZ.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 ?

展开
收起
爱吃鱼的程序员 2020-06-09 13:53:38 757 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    直接用zabbix吧,smokeping功能太少<atarget='_blank'>@一抹淡香流年醉回复<aclass='referer'target='_blank'>@一抹淡香流年醉:还没,你搞定联系我qq:279222347电话:18675186551回复<aclass='referer'target='_blank'>@74骑士:你好,请问你现在解决了吗?我也遇到这个问题了zabbix已经搭建好了,想用smokeping功能,能否加个qq教教我,我就是差这步,做不了slave,百度都找不到这个报错。

    2020-06-09 13:53:54
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
如何运维千台以上游戏云服务器 立即下载
网站/服务器取证 实践与挑战 立即下载
ECS计算与存储分离架构实践 立即下载