Mohr James wrote: > Hi All! > > I have a couple of services that I have defined for all hosts with > "host_name *". However, there are a couple of hosts which have > different notification periods. So, I was wondering if there was anyway > of defining exceptions. I see that in Nagios 3 you can assign a > hostgroup_name to a service. This would definitely save a lot of work, > but the case where we have 100 nodes and only two exceptions, it still > seems to be a fair bit of work. So I would still like to be able to > define exceptions. Is that possible? Any info is appreciated It's not documented but you can use hostgroups in Nagios 2.X, I do.
You can usually try to do something like host_name !hostname1, !hostname2 etc... This works when using a hostgroup_name in the service definition but I haven't tried it with things like *... -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users@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