hostgroup_name and hostextinfo.cfg (nagios 1.2)

Brian Sudis SudisB at crlcorp.com
Fri Feb 3 20:17:00 CET 2006


Can a hostgroup_name be used in the hostextinfo.cfg file instead of
host_name?
 
I have my host broken down by OS and am using the cfg_dir to OS specific
configuration directories.
 
I know that this works:
 
define hostextinfo{
        host_name      somehost1,somehost2,somehost3,etc......
        notes_url       /nagios/man/host_notes/linux/$HOSTNAME$.html
        icon_image      /base/redhat.gif
        icon_image_alt  RedHat Advanced Server
        }
 
 What I would like to be able to do is something like this:
 
define hostextinfo{
        hostgroup_name
linux-production,linux-test,linux-infrastructure,linux-development
        notes_url       /nagios/man/host_notes/linux/$HOSTNAME$.html
        icon_image      /base/redhat.gif
        icon_image_alt  RedHat Advanced Server
        }
 
I've tested it and have been unsuccessful.  Any pointers on this, or is
it just not something that is possible at this time with 1.2?
 
Thanks,
 
Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060203/72493b48/attachment.html>


More information about the Users mailing list