Fwd: Multiple host in hosts.cfg
Thomas Sluyter
nagios at kilala.nl
Mon Nov 20 16:26:35 CET 2006
On 20 Nov, 2006, at 16:12, Ian Collier wrote:
> I don't think host_group is a valid parameter for service
> descriptions - at
> least according to the docs and certainly when I was getting
> started with
> 2.5 I tried this and could not make it work.
>
> What am I missing?
Host groups can most definitely be used in service definitions. My
whole Nagios configuration revolves around them :)
The parameter you're looking for is "hostgroup_name". Unfortunately
it is not mentioned in the basic documentation (Ethan?), but it is
mentioned in the "Time saving tips" section.
See: http://nagios.sourceforge.net/docs/2_0/templatetricks.html#service
Cheers!
Thomas
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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