error occurred when restored NagiosXI and DeActive some item
error occurred when restored NagiosXI and DeActive some item
After restored NagiosXI configuration, then DeActive some items, when apply configuration, it failed?!
You do not have the required permissions to view the files attached to this post.
Re: error occurred when restored NagiosXI and DeActive some
What items did you deactivate? Are you able to apply configuration if you activate them?
The error indicates an issue with a service escalation under Configure > Core Config Manager > Alerting > Service Escalations not having a proper hostname or description set. What do the configurations under there look like?
Errors like this can also be caused from configurations gettings stuck in /usr/local/nagios/etc/import/. Remove any files you may find in there and try applying the configuration again.
The error indicates an issue with a service escalation under Configure > Core Config Manager > Alerting > Service Escalations not having a proper hostname or description set. What do the configurations under there look like?
Errors like this can also be caused from configurations gettings stuck in /usr/local/nagios/etc/import/. Remove any files you may find in there and try applying the configuration again.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: error occurred when restored NagiosXI and DeActive some
information ...1
You do not have the required permissions to view the files attached to this post.
Re: error occurred when restored NagiosXI and DeActive some
information ...2
You do not have the required permissions to view the files attached to this post.
Re: error occurred when restored NagiosXI and DeActive some
Please go to Configure > Core Config Manager > Tools > Config File Management:
- Click the Delete Files button (don't worry, it's safe, they will be rewritten)
- Then click the Write Configs button
- Then click the Verify Files button, if it verifies properly, please try to Apply Configuration
That alone may fix it.
If it fails again, please do this (in these exact steps):
Please run this tail command (and leave it running):
Then try to apply configuration through the web interface and once it completes/errors send me the full output from the tail command above.
If all that doesn't fix it, do this:
Go to Configure > Core Config Manager > Tools > Config File Management:
- Click the Delete Files button (don't worry, it's safe, they will be rewritten)
- Then click the Write Configs button
- Once they are done being written (don't do anything in between, don't apply config or anything), run this command and send me the resulting /tmp/NAGIOSBADFILES.zip file:
Please send me a copy of your profile as well, you can download it from Admin > System Profile > Download Profile and upload it to the ticket by clicking the "choose item" link at the bottom of the menu. Make sure to wait until the file is finished uploading before clicking the Post Reply button.
- Click the Delete Files button (don't worry, it's safe, they will be rewritten)
- Then click the Write Configs button
- Then click the Verify Files button, if it verifies properly, please try to Apply Configuration
That alone may fix it.
If it fails again, please do this (in these exact steps):
Please run this tail command (and leave it running):
Code: Select all
tail -Fn0 /usr/local/nagiosxi/var/cmdsubsys.logIf all that doesn't fix it, do this:
Go to Configure > Core Config Manager > Tools > Config File Management:
- Click the Delete Files button (don't worry, it's safe, they will be rewritten)
- Then click the Write Configs button
- Once they are done being written (don't do anything in between, don't apply config or anything), run this command and send me the resulting /tmp/NAGIOSBADFILES.zip file:
Code: Select all
zip -r /tmp/NAGIOSBADFILES.zip /usr/local/nagios/etcPlease send me a copy of your profile as well, you can download it from Admin > System Profile > Download Profile and upload it to the ticket by clicking the "choose item" link at the bottom of the menu. Make sure to wait until the file is finished uploading before clicking the Post Reply button.
Re: error occurred when restored NagiosXI and DeActive some
still problem ...
You do not have the required permissions to view the files attached to this post.
Re: error occurred when restored NagiosXI and DeActive some
attachment ...
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: error occurred when restored NagiosXI and DeActive some
Did you do the following?
We also need to see if all items are running properly.
Also, I noted that in your first screenshot there was the red ! next to your username in the upper right. Can you go to Admin -> System Status and send a screenshot of the status?ssax wrote:Please go to Configure > Core Config Manager > Tools > Config File Management:
- Click the Delete Files button (don't worry, it's safe, they will be rewritten)
- Then click the Write Configs button
- Then click the Verify Files button, if it verifies properly, please try to Apply Configuration
That alone may fix it.
If it fails again, please do this (in these exact steps):
Please run this tail command (and leave it running):
Then try to apply configuration through the web interface and once it completes/errors send me the full output from the tail command above.Code: Select all
tail -Fn0 /usr/local/nagiosxi/var/cmdsubsys.log
If all that doesn't fix it, do this:
Go to Configure > Core Config Manager > Tools > Config File Management:
- Click the Delete Files button (don't worry, it's safe, they will be rewritten)
- Then click the Write Configs button
- Once they are done being written (don't do anything in between, don't apply config or anything), run this command and send me the resulting /tmp/NAGIOSBADFILES.zip file:
Code: Select all
zip -r /tmp/NAGIOSBADFILES.zip /usr/local/nagios/etc
Please send me a copy of your profile as well, you can download it from Admin > System Profile > Download Profile and upload it to the ticket by clicking the "choose item" link at the bottom of the menu. Make sure to wait until the file is finished uploading before clicking the Post Reply button.
We also need to see if all items are running properly.
Re: error occurred when restored NagiosXI and DeActive some
Already PM you...
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: error occurred when restored NagiosXI and DeActive some
Looks like the service cannot restart
Can you show the output of
then lets run
Can you show the output of
Code: Select all
systemctl status nagios.serviceCode: Select all
systemctl stop nagios
killall -9 nagios
rm -f /var/run/nagios.lock
systemctl start nagios