Nagios service goes into exited state after apply config
Nagios service goes into exited state after apply config
Hello Team,
We have Nagios XI 5.8.1 installed and since last week we are seeing something abnormal that whenever we make some changes and apply configuration nagios service goes into exited state which results into loss of historical data. Please find the below screenshot for your refenrence,
Best Regards,
bsanjay
We have Nagios XI 5.8.1 installed and since last week we are seeing something abnormal that whenever we make some changes and apply configuration nagios service goes into exited state which results into loss of historical data. Please find the below screenshot for your refenrence,
Best Regards,
bsanjay
You do not have the required permissions to view the files attached to this post.
Re: Nagios service goes into exited state after apply config
Applying config necessarily involves restarting the monitoring engine, but it should come back online almost immediately.
Apply config also puts an extra step in there to verify the configs, to ensure that in the event of a configuration issue, the monitoring engine won't try and fail to come back online.
What's the output from the following command?:
If the service failed to restart when you applied config, any error messages would be in /usr/local/nagiosxi/var/cmdsubsys.log
Apply config also puts an extra step in there to verify the configs, to ensure that in the event of a configuration issue, the monitoring engine won't try and fail to come back online.
What's the output from the following command?:
Code: Select all
sudo service nagios startIf you didn't get an 8% raise over the course of the pandemic, you took a pay cut.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Re: Nagios service goes into exited state after apply config
Hello dchurch,
Apply config completes successfully. Please find the screenshots attached,
Note - this happens randomly and not everytime we apply configuration.
Best Regards,
bsanjay
Apply config completes successfully. Please find the screenshots attached,
Note - this happens randomly and not everytime we apply configuration.
Best Regards,
bsanjay
You do not have the required permissions to view the files attached to this post.
Re: Nagios service goes into exited state after apply config
If you PM me a system profile I can diagnose further. Get one by going to Admin (top menu) => System Profile (in the left menu), then clicking the blue button.
If you're unable to generate the the profile through the web interface, please try generating it from the command line by running these commands as root:
Then send me the resulting /usr/local/nagiosxi/var/components/profile.zip file.
If the profile script fails, please include the ENTIRE output.
If you're unable to generate the the profile through the web interface, please try generating it from the command line by running these commands as root:
Code: Select all
rm -rf /usr/local/nagiosxi/var/components/profile*
/usr/local/nagiosxi/scripts/components/getprofile.sh SUPPORTIf the profile script fails, please include the ENTIRE output.
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Re: Nagios service goes into exited state after apply config
Hello dchurch,
I did PM you the latest system profile. Please do the needful.
Best Regards,
Sanjay Batkura
I did PM you the latest system profile. Please do the needful.
Best Regards,
Sanjay Batkura
Re: Nagios service goes into exited state after apply config
What is the output from the following commands?
Code: Select all
ls -la /usr/local/nagios/var/spool/xidpe | head -50
find /usr/local/nagios/var/spool/xidpe |wc -l
ls -la /usr/local/nagiosxi/nom/checkpoints/nagioscoreIf you didn't get an 8% raise over the course of the pandemic, you took a pay cut.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Re: Nagios service goes into exited state after apply config
Hello dchurch,
Please find the ouput of requested commands attached.
Best Regards,
bsanjay
Please find the ouput of requested commands attached.
Best Regards,
bsanjay
You do not have the required permissions to view the files attached to this post.
Re: Nagios service goes into exited state after apply config
Can you run this command? Even just capturing the first few lines would be helpful to me:
Code: Select all
ls -la /usr/local/nagiosxi/nom/checkpoints/nagioscore
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Re: Nagios service goes into exited state after apply config
Hello dchurch,
Please find the output of requested command attached.
Best Regards,
bsanjay
Please find the output of requested command attached.
Best Regards,
bsanjay
You do not have the required permissions to view the files attached to this post.
Re: Nagios service goes into exited state after apply config
Your permissions may be messed up, try executing the following commands:
Code: Select all
/usr/local/nagiosxi/scripts/reset_config_perms.sh
chown -R nagios:nagios /usr/local/nagios/etc /usr/local/nagiosxi/nom/checkpoints/nagioscore
find /usr/local/nagios/etc -type d -exec chmod 775 '{}' + -o \
-type f -exec chmod 664 '{}' +If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.