Ad Widget

Collapse

agent on zabbix server doesn't execute some checks

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • japhasiac
    Junior Member
    • Jul 2015
    • 2

    #1

    agent on zabbix server doesn't execute some checks

    I made some customized checks using system.run

    e.g. get ServiceTag of servers, by this command:
    sudo /usr/sbin/dmidecode -s system-serial-number

    After I added the sudo settings to /etc/sudoers, this item works well on erery server except the zabbix server itself.

    Then I added this action to the administration - scripts, then I got a ERROR "Remote commands are not enabled" when executing it on zabbix server, but I'd already set EnableRemoteCommand to 1 in zabbix_agentd.conf and restarted the zabbix_agentd.

    SLES 11 SP3 x86_64, Zabbix-2.4.5, and this is my zabbix_agentd.conf on Host zabbix server:
    # cat /usr/local/zabbix/etc/zabbix_agentd.conf|grep -v -E '(^#|^$)'
    LogFile=/tmp/zabbix_agentd.log
    EnableRemoteCommands=1
    Server=127.0.0.1
    ServerActive=127.0.0.1
    Hostname=Zabbix Server


    Any help, please?
  • Colttt
    Senior Member
    Zabbix Certified Specialist
    • Mar 2009
    • 878

    #2
    maybe it will help that you set the correct Zabbix-Server IP
    Debian-User

    Sorry for my bad english

    Comment

    • japhasiac
      Junior Member
      • Jul 2015
      • 2

      #3
      Originally posted by Colttt
      maybe it will help that you set the correct Zabbix-Server IP
      I'd tried this, but just found the agentd no longer active on the dashboard...

      Comment

      Working...