[Xymon] Xymon 4.3.0 - Build RPMs

Buchan Milne bgmilne at staff.telkomsa.net
Fri Mar 18 07:48:54 CET 2011


----- "Francois Herbert" <F.Herbert at massey.ac.nz> wrote:

> That's another step I left out, I hard coded my server ip into
> rpm/xymon.spec:
> 
> XYMONHOSTIP=myxymonserverIP
> 
> That way when I installed the rpm, all I had to do was start the
> xymon-client and I no more configuration was required on the client
> (/etc/default/xymon-client was preconfigured in the rpm)

If you want repos, or xymon to be included in the distributions you use, you should rather populate /etc/sysconfig/xymon-client (my RPMS use this as it is the more standard location on RH-based distros). So, there is not much benefit in doing it in your spec file.

Regards,
Buchan



More information about the Xymon mailing list