Ad Widget

Collapse

autostart zabbix_agentd for Linux

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BusteR81
    Senior Member
    • Apr 2007
    • 150

    #1

    autostart zabbix_agentd for Linux

    Guys

    hw do u implement and autostart /zabbix/misc/init.d/redhat/zabbix_agentd 4 a CentOS 4.4 system?? I wanna do this in case my system crash and autorestart itself.

    Thanks
  • Rudolf
    Member
    • Dec 2004
    • 90

    #2
    On Fedora 5/6 systems I use the chkconfig command to add it to the startup scripts.
    On older zabbix versions I compiled myself, I added a line in /etc/rc.local:
    # ruedi 26.06.06 start zabbix agent und server
    rm -f /tmp/zabbix_agentd.pid
    rm -f /tmp/zabbix_server.pid
    /usr/local/bin/zabbix_agentd
    /usr/local/bin/zabbix_server

    I had to make sure the pid files are deleted before running new servers and agents, that was not always the case (at least in older zabbix versions).

    Comment

    Working...