loading host specific variables?

ibloodyhatespam at gmail.com ibloodyhatespam at gmail.com
Tue Jul 28 12:31:11 CEST 2009


Hi,

 

I have two redundant nagios hosts, regularly sync their settings and it
would ease that process quite a bit if nagios would pick the right cfg
automatically, for example based on hostname (same way you would for example
be able to let samba load specific smb.cfgs based on the username). Was
expecting $HOSTNAME$ to work in nagios.cfg for this purpose, but
unfortunately it doesn't seem to.

 

Would it perhaps be possible to have nagios read host specific cfgs based on
a variable in a different way?

 

-- Mike

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090728/09f36090/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
-------------- next part --------------
_______________________________________________
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