Page 1 of 2

Notifications not stopping

Posted: Wed Dec 13, 2017 2:03 pm
by ashepler
I have a check looking for a certain word on a webpage and if not found raises an alert. This triggered this morning but will not get fixed until later this afternoon so I scheduled a downtime for the host and services to avoid excessive notifications.

One service stopped notification as it should have, the other will not stop. The hosts were put in downtime and options to schedule both child hosts and services were selected. I have also acknowledged the problem.

I went to the advanced tab for the service and chose to disable notifications...they're still coming. Please help.

System (VM):
Nagios XI Version : 5.4.11
nagios 2.6.32-642.15.1.el6.x86_64 x86_64
CentOS release 6.8 (Final)
Gnome is not installed

Re: Notifications not stopping

Posted: Wed Dec 13, 2017 3:58 pm
by kyang
Could you send us your profile?

To get the Nagios XI Profile --> On the XI Home Page click "Admin" > "System Profile" --> "Download Profile" button
Save the profile.zip file and upload it here or PM me.

You can also generate a profile manually using the script at /usr/local/nagiosxi/html/includes/components/profile/getprofile.sh

That should generate a profile in /usr/local/nagiosxi/var/components/ which you can get off the server with an application such as FileZilla.

After you PM the profile please update this thread, unless you post the profile on here. Thanks


Also what is the name of the service that is still having issues, so I can find it in your profile.

EDIT:

Profile recieved!

Re: Notifications not stopping

Posted: Wed Dec 13, 2017 4:06 pm
by ashepler
I was unable to use the PM function so it's attached. The service is: _telemetry_modified.php URL Content

Re: Notifications not stopping

Posted: Wed Dec 13, 2017 5:57 pm
by dwhitfield
If you want to wait to do this, that is fine, but if it's an absolute flood, this may be the only way to stop them:

Code: Select all

echo "truncate table xi_events; truncate table xi_meta; truncate table xi_eventqueue;" | mysql -u root -pnagiosxi nagiosxi
Our workday is essentially done, but I wanted to give you that as an option. If you don't want to do that yet, let us know, and we'll come up with another solution attempt tomorrow.

Re: Notifications not stopping

Posted: Wed Dec 13, 2017 6:09 pm
by ashepler
I can wait until tomorrow.

Re: Notifications not stopping

Posted: Thu Dec 14, 2017 11:38 am
by kyang
Were you able to get this service check resolved for the URL string check?

It looks like you still get downtime notifications? --> Nagios XI --> click on user in the upper right corner next to log out --> Notification preferences --> is both host and service downtime checked to receive emails?

Or no?

Re: Notifications not stopping

Posted: Thu Dec 14, 2017 11:40 am
by ashepler
It's still notifying.

Yes, both are checked. I believe both are in downtime right now and still notifying.

Re: Notifications not stopping

Posted: Thu Dec 14, 2017 11:44 am
by kyang
Can you uncheck both of them, and see if the notifications stop after a while?

I'm still looking into this.

Thanks.

Re: Notifications not stopping

Posted: Thu Dec 14, 2017 12:57 pm
by ashepler
Unchecked both at 1052 CST, Have received five notifications regarding that service since then.

Re: Notifications not stopping

Posted: Thu Dec 14, 2017 3:48 pm
by kyang
What notifications are you getting? Warning, Critical?

Usually, if you scheduled downtime after the host/service went down then you should only receive recovery or OK notifications.

Please let us know which notifications you are receiving. Could you post some of the notifications? You can edit out sensitive information.