Fair enough...
Wasn't trying to push it.. Just wanted to give an example...
-P
Padraig Lennon Senior Systems Integration Engineer
Pioneer Investments Management Ltd 5th Floor |Georges Quay Plaza | Georges Quay | Dublin 2 | Rep. of Ireland Tel. +353 (0)1 480.2081
padraig.lennon at pioneerinvestments.com | www.pioneerinvestments.com
Please consider the environment before printing this e-mail
-----Original Message----- From: Buchan Milne [mailto:bgmilne at staff.telkomsa.net] Sent: 27 July 2010 15:50 To: xymon at xymon.com Cc: Lennon, Padraig Subject: Re: [xymon] RE: RHEL5 client
On Tuesday, 27 July 2010 09:48:48 Lennon, Padraig wrote:
This might be of some use to people:
There are existing scripts shipped with the source (in rpm/hobbit-client.init or debian/hobbit-client.init), which reads the hostname from the CLIENTHOSTNAME variable in the relevant /etc/default or /etc/sysconfig file ...
If it doesn't work for you, please file a bug or submit a patch.
(Yes, it hasn't seen the hobbit->xymon change, but will soon, and probably needs some LSB headers too, which I will add soon)
[...]
#chkconfig --add xymon #chkconfig --level 5 xymon on
Existing RPM packages supplied for RHEL5/CentOS 5 have the init script I
mentioned above, and ensure the service is set to start at boot (in all normal runlevels, not just 5 ...).
Regards, Buchan