Exclusion Problem

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
crapplet
Posts: 1
Joined: Fri Dec 11, 2015 3:04 pm

Exclusion Problem

Post by crapplet »

I am having issues with exclusions of a service for a host group on Nagios Core 3.5.

Exclusion hostgroup object

Code: Select all

define hostgroup{
		hostgroup_name	exclude_FS_CHECK
		members			WIN_SERVER
} 
service object

Code: Select all

define service{
		use							6h-service
		hostgroup_name				WIN_CHECK,!exclude_FS_CHECK
		check_command				check_nrpe!130!check_win
		notification_options		                c,w
}
Error: Could not expand hostgroups and/or hosts specified in service

Any help is appreciated
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Exclusion Problem

Post by Box293 »

Your hostgroup definition does not have an alias, and the documentation states that this is required.

https://assets.nagios.com/downloads/nag ... #hostgroup

Can you also post the template definition for "6h-service"
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked