Re: [Nagios-users] hostgroups in servicegroup definition
Nagios network monitoring software is enterprise server monitoring
Brought to you by:
egalstad,
sawolf-nagios
From: Lori A. <la...@cl...> - 2007-09-11 21:53:36
|
This doesn't work. =20 I get the error: Error: Could not find a service matching host name '<hostgroup>' and description '<service>'. =20 It appears to only want hosts. =20 -Lori =20 -----Original Message----- =20 I don't use hostgroups in this way but I'm pretty sure it is possible=20 because I added this to my servicegroup-generator.py (find it on=20 nagiosexchange.org) at the request of another guy who emailed me. =20 Basically, the "hostgroup, service" bit goes on the Members line the=20 same way the "host, service" bit does. You're welcome to give the=20 servicegroup-generator a try as well since it will generate a file full=20 of servicegroups following the names of the services you have defined in services.cfg or equivalent. I use it to not bother writing my=20 servicegroup file by hand... =20 Let me know how you get on... =20 Hope that helps. =20 -h =20 Hari Sekhon =20 |