Page 1 of 1

Newbie question

Posted: Thu Jun 27, 2013 1:10 pm
by hermanns
New to Nagios. Have added hosts but they do not appear on the dashboard...

Re: Newbie question

Posted: Thu Jun 27, 2013 1:14 pm
by slansing
On which dashboard in particular? Did you apply configuration after adding them?

Re: Newbie question

Posted: Thu Jun 27, 2013 1:22 pm
by hermanns
Host details. Tried to apply the configuration again and get " An error occurred while attempting to apply your configuration to Nagios Core. Monitoring engine configuration files have been rolled back to their last known good checkpoint."

Re: Newbie question

Posted: Thu Jun 27, 2013 1:35 pm
by sreinhardt
We need to figure out the errors regarding applying configuration before the nagios process will know about them. Presently they are just being held in the backend database. Go to Configure-> Core Config Manager -> Tools -> Write Config Files. Do the top two buttons, write and verify, and return the output to us please or if you read through the bottom and understand whats going on feel free to attempt to change it and go back the the write and verify when you think its fixed.

Re: Newbie question

Posted: Thu Jun 27, 2013 2:08 pm
by hermanns
Write wrote everything successfully. When I clicked on the verify I got the following at the bottom:
Error: Invalid max_check_attempts value for host 'bikinifire'
Error: Could not register host (config file '/usr/local/nagios/etc/hosts/bikinifire.cfg', starting on line 14)
Error processing object config files!

Re: Newbie question

Posted: Thu Jun 27, 2013 2:10 pm
by hermanns
The bikinifire server is the first on the Hosts list...

Re: Newbie question

Posted: Thu Jun 27, 2013 2:25 pm
by hermanns
Ok changed max attempts to 3 (although none of the others are...) then got invalid hostgroup on a server. Took off the hostgroup on that one, got it on another hostgroup on another server. Took it off of that one and got it on another...

Re: Newbie question

Posted: Thu Jun 27, 2013 3:28 pm
by hermanns
Worked the list and now I have the servers showing fine! Thanks

Re: Newbie question

Posted: Thu Jun 27, 2013 3:29 pm
by abrist
You probably did not configure any of the required default settings for the objects. Sounds like it is fixed. Enjoy the weekend. Locking 'er up.