Ad Widget

Collapse

Zabbix agent problem to starting at boot

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • officielmc
    Member
    • Apr 2011
    • 32

    #1

    Zabbix agent problem to starting at boot

    Hi everybody

    actually i use zabbix to monitoring some servers, and machines. Some computers shutdown every night, and startup in the morning, but zabbix agent don't start automatically.

    i doing "update-rc.d zabbix-agent defaults" and change priority at 10 /30 but nothing.
    The logs files is empty, i put test in zabbix-agent (echo "toto" >> /tmp/toto.log)
    the file was creating so the script was started but the agent not working
    but if i doing /etc/init.d/zabbix-agent start it's working.

    I use ubuntu 8.04 an zabbix agent installed is 1.4.2-4

    I really don't understand if someone have any solutions or idea, thanks to say me.

    Ps: sorry for my english i'm french
  • Davidus
    Senior Member
    • Dec 2010
    • 281

    #2
    You can start you agent with custom script; this is what have I done for my zabbix server on RHEL 5.5
    I added record to rc.local
    #Starting Zabbix Server
    /usr/local/sbin/zabbix_server

    Comment

    • officielmc
      Member
      • Apr 2011
      • 32

      #3
      Zabbix agent problem to starting at boot

      Thanks to your reply davidus, it's working but not for all devices. So i shares rsa key beetween my server and created script on zabbix, if one zabbix agent not start i launch the script.
      Thanks you have nice day

      Comment

      Working...