Page 1 of 1

can't delete host or services; config check fails

Posted: Wed Dec 08, 2010 1:37 am
by lyle
I started monitoring a host and it's services using the gui, then I noticed when I manually ran a config check (nagios -v), there was a complaint "Invalid max_check_attempts value for host bilbo".

I didn't much care for bilbo, so went to delete it through the gui, when I was told that I could delete the host, but not the services. Using the gui, I deleted the services, then the host, but on saving the config was told "Invalid max_check_attempts value for host bilbo"

I'm a little frustrated trying to use the gui, and feel like editing the config files under /usr/local/nagios/etc like I'm used to in 3.0.3, but I hesitate because maybe in XI the gui is in control of these files.

Any advice, including what docs I should be reading, is appreciated. Thanks....Lyle

Re: can't delete host or services; config check fails

Posted: Wed Dec 08, 2010 7:19 am
by lyle
I found the missing required fields in Check Settings for the host, and the new config did apply successfully, so I'm out of that bind.

I do wish there was an article on "XI for experienced Core admins", telling them how to get oriented in the XI environment, with links to appropriate articles and places in the manuals etc. For instance, the old Core user interface seems alive & well (and I guess meant as a valid day-to-day alternative) at "http://nagios_server_name/nagios" on the XI VM demo, but I've been swimming around in the XI interface without knowing that. I see the articles on Migration and on Maintaining Manual Config Files, but it's taken some poking around. My comments are meant as "constructive" feedback.

Thanks....Lyle

Re: can't delete host or services; config check fails

Posted: Wed Dec 08, 2010 10:46 am
by tonyyarusso
I found the missing required fields in Check Settings for the host, and the new config did apply successfully, so I'm out of that bind.
Excellent - glad you got it straightened out.
I do wish there was an article on "XI for experienced Core admins", telling them how to get oriented in the XI environment, with links to appropriate articles and places in the manuals etc.
That seems like a reasonable request. I'll add it to our growing TODO list! :)
I'm a little frustrated trying to use the gui, and feel like editing the config files under /usr/local/nagios/etc like I'm used to in 3.0.3, but I hesitate because maybe in XI the gui is in control of these files.
Yeah, you definitely don't want to do that, as you would lose all of your changes as soon as you restarted Nagios to try to use them. For people who prefer using the text files, ones stored in the "static" subdirectory will be left alone. Everything else is pulled out of a MySQL database ("nagiosql").