How to use host_groups in service definitions

Felix Buenemann atmosfear at users.sourceforge.net
Sat Oct 23 18:18:56 CEST 2004


Hello,

I have tried to find information on $subject elsewhere, but to no avail.

How can I use hostgroups inside service definitions? I am using Nagios 1.2 on 
a Debian/testing system. Currently I am specifying each host a service 
definition applies to on it's own, which gets awfully unreadable long lines 
and is ugly to maintain.

How can I use my host_group definitions here instead, like eg. 
gateways,servers-sometown,printers
I tried several syntaxes but nagios -v was always bitching on me if I used 
host_group names instead of plain hosts.

-- 
Best Regards,
        Atmos
____________________________________________
- MPlayer Developer - http://mplayerhq.hu/ -
____________________________________________


-------------------------------------------------------
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