I am trying to use the !hostname directive to remove a host from a service, but it throws error. Is this support remove in Nagios version 3.3.1?
# /usr/local/nagios/bin/nagios -v
Nagios Core 3.3.1
Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 07-25-2011
Syntax used inside services.cfg
host_name !myserver
Error:
Error: Could not expand hostgroups and/or hosts specified in service (config file '/usr/local/nagios/etc/services.cfg', starting on line 210)
Error processing object config files!