Nagios services stopped updating from plugins
-
hank.wojteczko
- Posts: 4
- Joined: Wed Sep 02, 2020 12:36 pm
Nagios services stopped updating from plugins
Nagios services stopped updating. Testing the plugin from the CLI as the nagios user proved the plugins are correctly reporting the state of services to be monitored. Deleting the services from Nagios core and then re-importing using the REST API service, followed by an apply and restart of the nagios service, appears to have resolved the issue for now. sudo /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg was run prior to applying the import to ensure there were no detected configuration errors. No changes to plugins were made in any way during this test. My concern is that this issue will happen again. Nagios version 5.7.2, OS is OLE 4.14.35-1902.304.6.3.el7uek.x86_64, running on a VM in the Oracle cloud.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios services stopped updating from plugins
If this happens again it would be useful for us to get a system profile.zip before taking corrective action from
Admin -> System Profile
This will give us some information on what is possibly happening
Admin -> System Profile
This will give us some information on what is possibly happening
-
hank.wojteczko
- Posts: 4
- Joined: Wed Sep 02, 2020 12:36 pm
Re: Nagios services stopped updating from plugins
Scott:
So far it has not happened again. I do note that 5.7.3 is out, but do not want to upgrade for the sake of upgrading. Do you recommend we upgrade? Or should we hold at the current version?
How sensitive is Nagios Core to thread contention?
I noted this morning there has been thread contention on the host OS. My plugin code runs as an instance on the Nagios VM and continuously requires 2 threads, with bursts to 4. I will be increasing the VM core count to 8 and will constrain the number of active threads for my plugin to 4. This will ensure there will always be at least 4 available threads for Nagios Core and XI.
So far it has not happened again. I do note that 5.7.3 is out, but do not want to upgrade for the sake of upgrading. Do you recommend we upgrade? Or should we hold at the current version?
How sensitive is Nagios Core to thread contention?
I noted this morning there has been thread contention on the host OS. My plugin code runs as an instance on the Nagios VM and continuously requires 2 threads, with bursts to 4. I will be increasing the VM core count to 8 and will constrain the number of active threads for my plugin to 4. This will ensure there will always be at least 4 available threads for Nagios Core and XI.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios services stopped updating from plugins
I would highly recommend updating to 5.7.3hank.wojteczko wrote:Scott:
So far it has not happened again. I do note that 5.7.3 is out, but do not want to upgrade for the sake of upgrading. Do you recommend we upgrade? Or should we hold at the current version?
How sensitive is Nagios Core to thread contention?
I noted this morning there has been thread contention on the host OS. My plugin code runs as an instance on the Nagios VM and continuously requires 2 threads, with bursts to 4. I will be increasing the VM core count to 8 and will constrain the number of active threads for my plugin to 4. This will ensure there will always be at least 4 available threads for Nagios Core and XI.
There are some NDO fixes in there that could fix what could be perceived as the checks not happening because of a delay in the UI updating
-
hank.wojteczko
- Posts: 4
- Joined: Wed Sep 02, 2020 12:36 pm
Re: Nagios services stopped updating from plugins
ok, I'll get it scheduled. Thanks for the advise. I'll consider this issue resolved unless it comes up again after the upgrade to 5.7.3.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios services stopped updating from plugins
Sounds goodhank.wojteczko wrote:ok, I'll get it scheduled. Thanks for the advise. I'll consider this issue resolved unless it comes up again after the upgrade to 5.7.3.
Going to close this thread, please feel free to open another if the issue comes up again