Multiple hostnames in host_name
Hari Sekhon
hpsekhon at googlemail.com
Tue Aug 8 14:33:20 CEST 2006
Fridtjof Busse wrote:
> Hi
> Is there any way to define the hosts for "host_name" in the
> service-definition as a list?
> I want to be able to add a hostname to a list (e.g. a macro in
> resource.cfg) and every service-definition automagically (after a
> reload) gets the new hostname, without me having to add it to tons of
> definitions.
> Any way to do that?
>
>
yes, the service definitions can definitely take a list like
host_name host1,host2,host3...
Not sure about the macros, check the docs that come with nagios since
they do mention quite a bit about this. It is likely you can define your
own $MACROS$ as you want and have all the services update just be
restarting the daemon.
-h
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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