Host/Service association

Patrick LeBoutillier patrick_leboutillier at hotmail.com
Thu May 1 16:46:06 CEST 2003


> Yes, but not the way you stated it.
>
> use 'hostgroup_name' in your services instead of 'host_name'
>
> then you just add the new host to the hostgreoup
>
> http://nagios.sourceforge.net/docs/1_0/templatetricks.html
>
>

That's interesting.

Then maybe one suggestion would be add property to the hostgroup object that
states
if you want that hostsgroup to appear in the Status CGIs or not.

That way it makes it possible to create a bunch of hostgroups for various
uses without
having them all show up in the status CGIs with a bunch of duplicate hosts
and stuff.

For example:

I can create hostgroups a such:

- Client1 (show_in_status=1)
- Client2 (show_in_status=1)
- Client3 (show_in_status=1)
- apache (show_in_status=0)
- mysql (show_in_status=0)

and only have the Client* hosts groups appear in the Status CGIs.

Cheers,

Patrick
---------------------
Patrick LeBoutillier
Laval, Quebec, Canada


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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