> In my case, the bottom one takes precedence. However, I do get this error: > Warning: Duplicate definition found for service 'disk drives - nrpe' > on host 'omaampdb01a' (config file > '/etc/nagios/objects/services/templates/windows.cfg', starting on line > 20) > > I like this because I don't have to mess with the templates to exclude > hosts.
Hi Terry, That's where I was aiming to at the beginning, but that didn't work out for me. Most likely due to the order of the many config files we use. Excluding the host with the "!" as suggested by Thomas works perfectly on one side and on the other it also creates consistancy. -- Jelle Smet http://www.smetj.net ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ 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