I have little problem with my Nagios.
When I try to add contact_groups line in hosts.cfg file I get following error message:
[code]Error: Invalid host object directive ‘contact_groups’.
Error: Could not add object property in file ‘/usr/local/nagios/etc/hosts.cfg’ on line 17373.
In services.cfg file I have contact_groups definition and it works great.
In this documentation nagios.sourceforge.net/docs/3_0/ … tions.html is line “Each host and service definition has a <contact_groups> option that specifies what contact groups receive notifications for that particular host or service.”
Does anybody know where I went wrong?