Newbie question
Newbie question
New to Nagios. Have added hosts but they do not appear on the dashboard...
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Newbie question
On which dashboard in particular? Did you apply configuration after adding them?
Re: Newbie question
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."
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Newbie question
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.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: Newbie question
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!
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
The bikinifire server is the first on the Hosts list...
Re: Newbie question
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
Worked the list and now I have the servers showing fine! Thanks
Re: Newbie question
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.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.