Page 1 of 1

Nagios stops sending alerts automatically

Posted: Fri Feb 09, 2024 7:49 am
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.

Re: Nagios stops sending alerts automatically

Posted: Fri Feb 09, 2024 4:35 pm
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.

Re: Nagios stops sending alerts automatically

Posted: Thu Feb 29, 2024 4:18 am
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.

Re: Nagios stops sending alerts automatically

Posted: Thu Feb 29, 2024 10:51 am
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.

Re: Nagios stops sending alerts automatically

Posted: Sun Apr 14, 2024 9:53 pm
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?

Re: Nagios stops sending alerts automatically

Posted: Mon Apr 15, 2024 10:11 am
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.