Unable to add new host

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
harsha.s.aryan
Posts: 52
Joined: Fri Nov 13, 2015 9:05 am

Unable to add new host

Post 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)
Regards,
Harsha
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Unable to add new host

Post 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?
Former Nagios Employee.
me.
harsha.s.aryan
Posts: 52
Joined: Fri Nov 13, 2015 9:05 am

Re: Unable to add new host

Post 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
Regards,
Harsha
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Unable to add new host

Post by hsmith »

Can you please attach your hostgroups.cfg file to this post for us to review?
Former Nagios Employee.
me.
Locked