Linux Distribution and version?
CentOS release 6.10 (Final)
32 or 64bit?
x86_64
VMware Image or Manual Install of XI?
Hyper-v vhd download
Are there special configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL?
Not that I'm aware of. no, and no.
I am getting an error when trying to apply my configuration that a service has no hosts and/or service_description (config file '/usr/local/nagios/etc/services/<IPaddress>.cfg', starting on line 93)
The referenced file does not exist when I'm logged into terminal.
I have tried the procedure at https://support.nagios.com/kb/article.php?id=144 and though my validation using the config file management tools reports "Things look okay - No serious problems were detected during the pre-flight check" I still get that error when I go to apply the configuration.
Errors upgrading or applying configuration
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Errors upgrading or applying configuration
Hello, @kavan. First, please run the following query to check the database tables for corruption:
Could you also generate and send in your Nagios XI System Profile so I can review it?
To send us your system profile. Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and send it to me in a private message.
After that please go to the following folder:mysqlcheck -r -f -uroot -pnagiosxi --all-databases --use_frm
Run the reconfigure script and show us the output:/usr/local/nagiosxi/scripts/
Or if you don't want to disclose service names you can send me the output in a private message../reconfigure_nagios.sh
Could you also generate and send in your Nagios XI System Profile so I can review it?
To send us your system profile. Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and send it to me in a private message.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Errors upgrading or applying configuration
Thank you npolovenko! Per your PM I ran
# rm -rf /usr/local/nagios/etc/import/*
And then re-ran the reconfigure_nagios.sh command and it went through clean. I can now apply configuration changes and stop the spam from devices I disconnected. Thanks again!
# rm -rf /usr/local/nagios/etc/import/*
And then re-ran the reconfigure_nagios.sh command and it went through clean. I can now apply configuration changes and stop the spam from devices I disconnected. Thanks again!
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Errors upgrading or applying configuration
@kavan, Thanks for the update! I will go ahead and close this thread as resolved.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.