Page 1 of 1

Missing ID

Posted: Sat May 10, 2014 6:16 am
by Kimba7070
I deleted host 192.168.130.1**and for some reason ID 14 still exist but i can not find it so when i try to add this host again I get the following error below:


Error: Invalid max_check_attempts value for host '192.168.130.1**'
Error: Could not register host (config file '/usr/local/nagios/etc/hosts/192.168.130.1**.cfg', starting on line 14)
Error processing object config files!

This is on Windows server


Please advise

Thank you :(

Re: Missing ID

Posted: Mon May 12, 2014 8:53 am
by tmcdonald
What exactly do you mean by the ID? Are you referring to the ID listed on the far right side in the CCM?

And for that issue, you need to have all the required fields filled in for the apply config to take properly. You are missing the Max Check Attempts value, and possibly others as well. Applying a standard template to objects will help keep these errors from appearing.

Re: Missing ID

Posted: Tue May 13, 2014 12:59 pm
by Kimba7070
how can i go back and modify it if I can not see it in the CCM ?

Re: Missing ID

Posted: Tue May 13, 2014 6:10 pm
by tmcdonald
You wouldn't; the template advice was for moving forward setting up hosts.

And what did you mean by the ID? Where were you seeing this? It almost looks like you have a ghost host lingering somewhere.