Page 1 of 1

Getting Only flood of OK alerts

Posted: Mon Oct 19, 2020 12:58 pm
by aiqbal88
We are experiencing a very unique problem. We are getting OK email alerts in our email alerts for all servers different services and there is no problem with those servers.

There is no warning or critical or unknow alert about them.
Nagios GUI also does not show anything under notifications/alerts those OK alerts that we are getting in our email.

Any clue
Out splunk team recently asked to enable following.
I am suspecting something messed it up

sed -i 's/^log_notifications=.*/log_notifications=1/g' /usr/local/nagios/etc/nagios.cfg
sed -i 's/^log_service_retries=.*/log_service_retries=1/g' /usr/local/nagios/etc/nagios.cfg
sed -i 's/^log_host_retries=.*/log_host_retries=1/g' /usr/local/nagios/etc/nagios.cfg
sed -i 's/^log_event_handlers=.*/log_event_handlers=1/g' /usr/local/nagios/etc/nagios.cfg
sed -i 's/^log_initial_states=.*/log_initial_states=1/g' /usr/local/nagios/etc/nagios.cfg (I AM SUSPECTNG THIS)
sed -i 's/^log_current_states=.*/log_current_states=1/g' /usr/local/nagios/etc/nagios.cfg ( I AM SUSPECTING THIS)
sed -i 's/^log_external_commands=.*/log_external_commands=1/g' /usr/local/nagios/etc/nagios.cfg
sed -i 's/^log_passive_checks=.*/log_passive_checks=1/g' /usr/local/nagios/etc/nagios.cfg

Re: Getting Only flood of OK alerts

Posted: Tue Oct 20, 2020 1:40 pm
by cdienger
I've responded to the ticket that was created for this issue. We will lock this thread and continue troubleshooting the issue through the ticket.