【问题标题】:Configuring xymon client in local mode在本地模式下配置 xymon 客户端
【发布时间】:2015-02-02 16:42:39
【问题描述】:

我正在尝试在本地模式下配置 xymon(前 hobbit 或 bigbrother)。基本上客户端不会向服务器发送任何数据。使用 --debug 选项时,将获得以下信息。

31017 2015-02-02 15:51:39 想要 msg 1,startpos 0,fillpos 0,endpos -1,usedbytes=0,bufleft=528383

31017 2015-02-02 15:51:39 得到 150930 字节

31017 2015-02-02 15:51:39 /opt/xymon/client/bin/xymond_client:收到消息 1 @@client#1|0|127.0.0.1|hostname|linux

31017 2015-02-02 15:51:39 startpos 150930,fillpos 150930,endpos -1

31017 2015-02-02 15:51:39 打开文件 /opt/xymon/client/etc/localclient.cfg

31017 2015-02-02 15:51:39 来自主机主机名的客户端报告

31017 2015-02-02 15:51:39 主机名:重复客户端消息在时间 0,seq 1,lastseq 0

31017 2015-02-02 15:51:39 想要 msg 2,startpos 150930,fillpos 150930,endpos -1,usedbytes=0,bufleft=377453

31017 2015-02-02 15:51:39 get_xymond_message:由于 EOF 而返回 NULL

这个错误似乎与以下相同: http://lists.xymon.com/archive/2012-February/033896.html

【问题讨论】:

    标签: hobbitmon


    【解决方案1】:

    主办方给出了解决方案: http://terabithia.org/rpms/xymon/ 非常感谢他。我虽然应该在这里报告。

    所以它包括在 xymonclient.sh 中更改以下行:

    回显 "@@client#1|0|127.0.0.1|$MACHINEDOTS|$SERVEROSTYPE" >> $MSGTMPFILE

    收件人:

    回显 "@@client#1|1|127.0.0.1|$MACHINEDOTS|$SERVEROSTYPE" >> $MSGTMPFILE

    然后数据被发送到服务器。不确定这里发生了什么,但这可能会有所帮助。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-09-23
      • 1970-01-01
      • 1970-01-01
      • 2018-06-04
      • 2020-01-20
      • 2016-05-20
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多