WAGENT运行诊断

  1. 判断进程是否存在,进程名为ITOSS.
  2. etc下是否有ITOSS.conf,/etc/init.d/ITOSSAgent是否存在.
  3. ITOSS.conf下配置是否OK ,需要配置3块,分别是: 接收IP地址,使用网卡,KEY值,其中KEY值在AGENT下载页面能看到.

    [root@localhost ~]# cat /etc/ITOSS.conf
    ## config communication server and port
    connection 192.168.6.233:1883
    qos 2
    ## config server wan device
    netifname eth1
    key 2920943F385544BD93817FF6BEE4F332
    

    img

  4. 查看服务 看ITOSSAGENT状态.
    service --status-all | grep ITOSS img
  5. 出现ITOSS已死,但subsys被锁的解决办法.

    cd /var/lock/subsysrm ITOSS
    /etc/init.d/ITOSSAgent start
    
  6. 开放防火墙.
    firewall-cmd --zone=public --add-port=1883/tcp --permanent
返回主页