My daemon is set up to create its pidfile in /var/run/zabbix-agent/ in both /etc/zabbix/zabbix-agentd.conf and /etc/init.d/zabbix-agent (as per the default in zabbix-agent 1.4.1-2 in ubuntu gutsy)
However, whenever the server restarts, the /var/run/zabbix-agent/ directory gets deleted! What gives? I'm tired of having to manually recreate the directory after every reboot.
However, whenever the server restarts, the /var/run/zabbix-agent/ directory gets deleted! What gives? I'm tired of having to manually recreate the directory after every reboot.
The procedure is also logged in the log-files, so you can check it.
Comment