Nagios and its config files
frank
ratty at they.org
Wed Apr 5 22:35:47 CEST 2006
On Wed, 5 Apr 2006, Sam Rowe wrote:
> Hi All,
>
> Somewhere between Nagios 2.0b4 and 2.1, Nagios started traversing
> .svn trees looking for config files. Is there any way to get it to
> ignore them?
>
> We have our live config in svn and would love to keep it there.
>
> Also, is there any chance that the restriction that only allows the
> main nagios config file to be called 'nagios.cfg' be removed? I can't
> imagine why it's there and it causes us to have to jump through lots
> of needless hoops to fail over (re-symlinking /usr/local/nagios/etc
> instead of just starting nagios with a different config file.)
>
> Thanks,
> Sam
I don't know about the subversion traversal, but you can easily change
your default config file.
vi /etc/rc.d/init.d/nagios
Look for "NagiosCfgFile". Edit as necessary.
-f
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list