Page 1 of 1

Unable to add new host

Posted: Thu Jan 28, 2016 5:04 am
by harsha.s.aryan
Nagios Core 4.1.1


i am getting error while adding new host

Error: Could not find any hostgroup matching 'IT-servers' (config file '/usr/local/nagios/etc/servers/IT-web4_4.cfg', starting on line 4)
Error: Failed to process hostgroup names for host IT-web4_4' (config file '/usr/local/nagios/etc/servers/IT-web4_4.cfg', starting at line 4)

Re: Unable to add new host

Posted: Thu Jan 28, 2016 11:15 am
by hsmith
harsha.s.aryan wrote:Error: Could not find any hostgroup matching 'IT-servers'
Do you have a hostgroup with that name set up? Nagios is having trouble finding it. Can you check your hostgroups to make sure?

Re: Unable to add new host

Posted: Fri Jan 29, 2016 12:17 am
by harsha.s.aryan
hostgroup with that name is already exactest

in /templates.cfg, hostgroups.cfg, and even my it server host config file its updated

Re: Unable to add new host

Posted: Fri Jan 29, 2016 11:15 am
by hsmith
Can you please attach your hostgroups.cfg file to this post for us to review?