Maintenance mode issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bsivavani
Posts: 339
Joined: Tue Oct 06, 2015 9:17 am

Maintenance mode issue

Post by bsivavani »

Hi,

We have added service in scheduled downtime for 10min and stopped the service during that time.

Service enabled with both email and incident notification.

We have received email notification after blackout period but not received incident.

We should not receive email notification also, any reason why we have received email notification?

Kindly advice?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Maintenance mode issue

Post by lmiltchev »

Can you elaborate on the actual problem? What do you mean by the statement below?
Service enabled with both email and incident notification.
Can you show us where this is configured?

Also, when you say:
We have received email notification after blackout period but not received incident.
what do you mean? Did you receive a CRITICAL notification or the service recovered? What kind of "incident" did you expect to receive? Are you using Nagios IM? It's not really clear what the issue is. It would help if you showed us the actual emails, screenshot of the State History and Notifications reports, nagios.log, etc.
We should not receive email notification also, any reason why we have received email notification?
You shouldn't be receiving notifications during scheduled downtime, but after the downtime is over, you will be getting notifications. This is normal. Was the service still in scheduled downtime when you received the notification?
Be sure to check out our Knowledgebase for helpful articles and solutions!
bsivavani
Posts: 339
Joined: Tue Oct 06, 2015 9:17 am

Re: Maintenance mode issue

Post by bsivavani »

lmiltchev wrote:Can you elaborate on the actual problem? What do you mean by the statement below?
Service enabled with both email and incident notification.
Email notification - Enabled email notification in service for Critical alerts using Alert Settings tab.
Incident notification - Enabled incident creation in snow for Critical alerts using Event handler option under Check Settings tab.

Can you show us where this is configured?
Explained about both email and incident notifications above.

Also, when you say:
We have received email notification after blackout period but not received incident.
what do you mean? Did you receive a CRITICAL notification or the service recovered? What kind of "incident" did you expect to receive? Are you using Nagios IM? It's not really clear what the issue is. It would help if you showed us the actual emails, screenshot of the State History and Notifications reports, nagios.log, etc.

I have received email notification for Critical alert just after the maintenance window (at 11th minute)
but incident not created for the same.
We should not receive email notification also, any reason why we have received email notification?
You shouldn't be receiving notifications during scheduled downtime, but after the downtime is over, you will be getting notifications. This is normal. Was the service still in scheduled downtime when you received the notification?
Service is not in scheduled downtime when I receive email notification, I have received notification just after the maintenance window.

Any reason why we are receiving email notification just after the maintenance for the alert which is generated during maintenance window ?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Maintenance mode issue

Post by lmiltchev »

I have received email notification for Critical alert just after the maintenance window (at 11th minute)
but incident not created for the same.
Let's get some additional info, so that we can get to the bottom of this.

1. Go to the CCM > Services, click on the View config actions button next to your service, and copy/paste the config on the forum.

2. Go to Reports > State History, select the relevant time period (when the issue happened), select your Host, then your service from the drop-down menus, and click on Run. Show a screenshot of the page.

3. Do the same with the Notifications report and show a screenshot of the page.

4. Upload nagios.log that covers the same time period. You may need to grab an older log from the "/usr/local/nagios/var/archives" directory.
Service is not in scheduled downtime when I receive email notification, I have received notification just after the maintenance window.

Any reason why we are receiving email notification just after the maintenance for the alert which is generated during maintenance window ?
This is by design. When the scheduled downtime is over, Nagios Core will allow normal notifications to be sent out for the host or service again. Read our official documentation on scheduled downtime to see how downtime affects notifications here:

https://assets.nagios.com/downloads/nag ... ntime.html
Be sure to check out our Knowledgebase for helpful articles and solutions!
bsivavani
Posts: 339
Joined: Tue Oct 06, 2015 9:17 am

Re: Maintenance mode issue

Post by bsivavani »

Service is not in scheduled downtime when I receive email notification, I have received notification just after the maintenance window.

Any reason why we are receiving email notification just after the maintenance for the alert which is generated during maintenance window ?
This is by design. When the scheduled downtime is over, Nagios Core will allow normal notifications to be sent out for the host or service again. Read our official documentation on scheduled downtime to see how downtime affects notifications here:

https://assets.nagios.com/downloads/nag ... ntime.html[/quote]

The service is in scheduled downtime from 10AM to 10:30AM if service is stopped around 10:15AM, I will not receive any email notification before 10:30AM. That is normal behaviour.

I started receiving same service (Critical alert) email notification around 10:31AM, is this expected ?

Kindly clarify this.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Maintenance mode issue

Post by lmiltchev »

I started receiving same service (Critical alert) email notification around 10:31AM, is this expected ?
Yes, your service is no longer in scheduled downtime, and it is still in CRITICAL state, so you will be getting notifications.
Be sure to check out our Knowledgebase for helpful articles and solutions!
bsivavani
Posts: 339
Joined: Tue Oct 06, 2015 9:17 am

Re: Maintenance mode issue

Post by bsivavani »

Thanks. Please close request.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Maintenance mode issue

Post by lmiltchev »

Sure.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked