Nagios stops sending alerts automatically

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Post Reply
mandar18
Posts: 5
Joined: Thu Feb 08, 2024 6:43 am

Nagios stops sending alerts automatically

Post by mandar18 »

Hello Team,

My Nagios core suddenly stops sending alerts after 4-7 days.
After restarting it starts sending alerts that were in the queue, I don't understand what the issue is.
Also, I checked free space and saw 4 GB free space on the Nagios server.

Thanks for the help.
bbahn
Posts: 104
Joined: Thu Jan 12, 2023 5:42 pm

Re: Nagios stops sending alerts automatically

Post by bbahn »

Hello @mandar18,

To untangle this technical trouble, you should likely look at your logs located in /usr/local/nagios/var/nagios.log.

You can also investigate this anomaly by examining your Nagios config and queue.
The following command committed in the CLI will verify whether your configuration is valid:

Code: Select all

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
This will find if the failure is from flaws from your configuration.

If your messages are mounting, you might find them in the mail queue here: /var/spool/mail/nagios.

If you cannot find the fault fomenting this failure through the logs, you can file an issue here: https://github.com/NagiosEnterprises/nagioscore/issues.
If you'd like me to file one for you, post here requesting it and I shall file it for you.

Please post a response if the problem persists and we'll be happy to help.
April: Actively advancing awesome answers with ardent alliteration, aptly addressing all ambiguities. Amplify your acumen and avail our amicable assistance. Eagerly awaiting your astute assessments of our advice.
mandar18
Posts: 5
Joined: Thu Feb 08, 2024 6:43 am

Re: Nagios stops sending alerts automatically

Post by mandar18 »

Hello bbahn,
Still, the issue is not resolved, I did the following command "/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg" to check for errors but there are no errors in configuration.

Can you please file an issue for me on https://github.com/NagiosEnterprises/nagioscore/issues.

After restarting it starts sending alerts that were in the queue, I don't understand what the issue is.
bbahn
Posts: 104
Joined: Thu Jan 12, 2023 5:42 pm

Re: Nagios stops sending alerts automatically

Post by bbahn »

Hello @mandar18,

It seems there are already some issues relating to auto rescheduling indefinitely delaying checks:
https://github.com/NagiosEnterprises/na ... issues/947
and
https://github.com/NagiosEnterprises/na ... issues/893.

Do you have auto-rescheduling enabled? If so, I'll add a comment pointing to this thread on those issues. If not, I'll file a new issue for you.
April: Actively advancing awesome answers with ardent alliteration, aptly addressing all ambiguities. Amplify your acumen and avail our amicable assistance. Eagerly awaiting your astute assessments of our advice.
employerflee
Posts: 1
Joined: Sun Apr 14, 2024 9:50 pm

Re: Nagios stops sending alerts automatically

Post by employerflee »

mandar18 wrote: Thu Feb 29, 2024 4:18 am Hello bbahn,
Still, the issue is not resolved, I did the following command "/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg" to check for errors but there are no errors in configuration.

Can you please file an issue for me on https://github.com/NagiosEnterprises/nagioscore/issues basket random

After restarting it starts sending alerts that were in the queue, I don't understand what the issue is.
Hi @mandar18
I checked and there are absolutely no errors in the configuration. Is there any solution to this problem?
bbahn
Posts: 104
Joined: Thu Jan 12, 2023 5:42 pm

Re: Nagios stops sending alerts automatically

Post by bbahn »

@employerflee,

As I asked mandar18, do you have auto-rescheduling enabled? There are known and filed bugs that cause auto-rescheduling to infinitely delay checks.
April: Actively advancing awesome answers with ardent alliteration, aptly addressing all ambiguities. Amplify your acumen and avail our amicable assistance. Eagerly awaiting your astute assessments of our advice.
Post Reply