Hi Alexei
I want to share my initila scripts for the zabbix server and agentd.
This scripts can be placed to /etc/init.d folder and enabled by the command:
chkconfig --add zabbix_agentd
chkconfig --add zabbix_server
Also i want to share small patch for zabbix 1.1 which change pid file creation order. Now pid file creates from the root user and it can be placed in correct /var/run folder.
I dont know is this correct or no because I am not good in programming.
Please check it because i think that pid which writes to pid file is not correct after this patch.
I mean that pid file must be created in /ver/run directory to allow the "killproc" function from /etc/rc.d/init.d/functions file run correctly and send correct -TERM sygnal to correct server or agentd process.
Regards
Areg
I want to share my initila scripts for the zabbix server and agentd.
This scripts can be placed to /etc/init.d folder and enabled by the command:
chkconfig --add zabbix_agentd
chkconfig --add zabbix_server
Also i want to share small patch for zabbix 1.1 which change pid file creation order. Now pid file creates from the root user and it can be placed in correct /var/run folder.
I dont know is this correct or no because I am not good in programming.
Please check it because i think that pid which writes to pid file is not correct after this patch.
I mean that pid file must be created in /ver/run directory to allow the "killproc" function from /etc/rc.d/init.d/functions file run correctly and send correct -TERM sygnal to correct server or agentd process.
Regards
Areg
Comment