PDA

View Full Version : patch for zabbix's redhat/fedora service implementation


ProTON
13-10-2005, 01:02
Another patch today :).

Service scripts not worked for me very well so I've rewriten them to match newest RedHat/Fedora systems. Not sure why there were those lines saying that zabbix can't use daemon. Oh well, maybe only on older systems. I tested attached patch on Redhat Enterprise 3.0 ES Update 6 and Fedora Core 4.0 and it works great.

Feel free to ask and to tell you opinion.

James Wells
13-10-2005, 01:11
Greetings,

The issue with it is simply when you are starting the agent over SSH. The Agent does not correctly detatch itself when it goes into the background. Because of this you can't do a proper SSH exit if you start / restart the agent. This also causes it to fail under the RH daemon which expects the process to completely detach.

But thank you, that is a nice patch. ;)

ProTON
13-10-2005, 18:46
Greetings,

The issue with it is simply when you are starting the agent over SSH. The Agent does not correctly detatch itself when it goes into the background. Because of this you can't do a proper SSH exit if you start / restart the agent. This also causes it to fail under the RH daemon which expects the process to completely detach.


Ahhh... I noticed this, but it was not working for me with old scripts anyway.