Hostgroups in Hostextinfo.cfg

Jan Scholten Jan.Scholten at iconz.net
Tue Oct 12 22:32:16 CEST 2004


>> As far as i know it's not working!
>>  You can only use host_name, the "*" is not working too.
>>  The use hostgroups is a feature i really miss!
>>
>
> It works. Just specify hostgroup_name instead of host_name. Nagios 2  
> does it that way for all objects that refer to hosts. Very nifty  
> actually.

For me it's not working inside the hostextinfo.cfg (with Nagios 1.2).
I can use host_name with a single name or multiple comma-seperated names,  
but i can't use * or hostgroup_name.

Tested:

define hostextinfo{
     host_name   NagiosPC,wephost1,wephost2,db,sensei,mangle
     icon_image  debian.png
     icon_image_alt Debian Server
     statusmap_image debian.gd2
}
works.

define hostextinfo{
     hostgroup_name  Web_Server
     icon_image  Server.png
     icon_image_alt Debian Server
     statusmap_image Server.gd2
}

Does not work (but does not give an error).

Maybe it's working with Nagios 2 but i doubt that it works with V1.2 :-0

Jan



-- 
Jan Scholten
Research and Development Intern
Iconz.co.nz


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
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