Hi,
I am using SUSE 10.0 where Zabbix is installed. After restarting the system, the Zabbix Services are getting stopped.
So, I have used boot.local file in /etc/init.d and I have placed a Script to start the services again
This is the Script placed in /etc/init.d/boot.local directly on SUSE 10.0
#!/bin/sh
echo " Starting Zabbix "
rm -f /var/tmp/zabbix_suckerd.pid
rm -f /var/tmp/zabbix_trapperd.pid
killall -TERM zabbix_suckerd
killall -TERM zabbix_trapperd
killall -TERM zabbix_agentd
/home/server/zabbix-1.0/bin/zabbix_suckerd
/home/server/zabbix-1.0/bin/zabbix_trapperd
/home/server/zabbix-1.0/bin/zabbix_agentd
Well, This scirpt is working properly but I am able to see only trapperd and agentd getting restarted and not suckerd.
I am unable to find out the reason for this. I am able to make this script work properly in /etc/rc.local on Mandrake Machine.
Can anyone give me an idea as how I can restart suckerd service while booting in SUSE.
Thanks & Regards,
Ch. Maruthi Vara Prasad.
I am using SUSE 10.0 where Zabbix is installed. After restarting the system, the Zabbix Services are getting stopped.
So, I have used boot.local file in /etc/init.d and I have placed a Script to start the services again
This is the Script placed in /etc/init.d/boot.local directly on SUSE 10.0
#!/bin/sh
echo " Starting Zabbix "
rm -f /var/tmp/zabbix_suckerd.pid
rm -f /var/tmp/zabbix_trapperd.pid
killall -TERM zabbix_suckerd
killall -TERM zabbix_trapperd
killall -TERM zabbix_agentd
/home/server/zabbix-1.0/bin/zabbix_suckerd
/home/server/zabbix-1.0/bin/zabbix_trapperd
/home/server/zabbix-1.0/bin/zabbix_agentd
Well, This scirpt is working properly but I am able to see only trapperd and agentd getting restarted and not suckerd.
I am unable to find out the reason for this. I am able to make this script work properly in /etc/rc.local on Mandrake Machine.
Can anyone give me an idea as how I can restart suckerd service while booting in SUSE.
Thanks & Regards,
Ch. Maruthi Vara Prasad.