Good morning,
I'm a bit confused this morning, so I'd love some clarification.
If the Notification interval for a service check is set to 1440 (one day) and the First notification delay is set to nothing (blank), then when a status changes on that service check the notification should go out immediately and then once every 1440 minutes there after, correct?
I created several service checks yesterday and a few of them started out Critical, but have yet to send out a notification. I thought I understood how this works, but it seems I do not. The First notification delay setting doesn't 'need' to be set, right?
Thank you.
Nagios XI Notifications
Re: Nagios XI Notifications
Here's a screenshot if the service check Alert Settings in question.
You do not have the required permissions to view the files attached to this post.
Re: Nagios XI Notifications
I'd just like to confirm a couple of things. First, what is the check interval set to? And second, about what time yesterday were these service checks created?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagios XI Notifications
See attached for check intervals screenshot.
The service checks were added shortly after 10:30AM PST yesterday.
The service checks were added shortly after 10:30AM PST yesterday.
You do not have the required permissions to view the files attached to this post.
Re: Nagios XI Notifications
This is correct - the notification should go out immediately, provided the service went to a HARD non-OK state, the service is not flapping, it's not in a scheduled downtime, and the host it is attached to is not DOWN. After a notification is sent, you should get re-notified in 1440 minutes, provided the service is sitll in a non-OK state.If the Notification interval for a service check is set to 1440 (one day) and the First notification delay is set to nothing (blank), then when a status changes on that service check the notification should go out immediately and then once every 1440 minutes there after, correct?
Service - notification interval
This directive is used to define the number of "time units" to wait before re-notifying a contact that this service is still in a non-OK state. Unless you've changed the interval_length directive from the default value of 60, this number will mean minutes. If you set this value to 0, Nagios will not re-notify contacts about problems for this service - only one problem notification will be sent out.
Parameter name: notification_interval
Required: yes
The first notification delay is optional - it doesn't have to be set. Does nagios *think* a notification was sent? Do you see an entry in the Notifications report? I would recommend that you start troubleshooting your issue by following all of the steps, outlined in the KB article below:I created several service checks yesterday and a few of them started out Critical, but have yet to send out a notification. I thought I understood how this works, but it seems I do not. The First notification delay setting doesn't 'need' to be set, right?
https://support.nagios.com/kb/article/n ... ms-36.html
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagios XI Notifications
I just tried to send a custom notification and that didn't even go through. I'm getting other notifications, just not ones from these servers it would seem.
I'm not seeing anything in the logs to indicate why the message isn't being sent. It's almost as if Nagios XI doesn't even see it happening.
I'm not seeing anything in the logs to indicate why the message isn't being sent. It's almost as if Nagios XI doesn't even see it happening.
Re: Nagios XI Notifications
Is your contact a member of any of the two contact groups that are assigned to this service? Is this a "contact only" or a "xi user" (who is also a contact)? Can you show us the contact definition, along with the notification command, and any templates that are being used in the contact definition?
What log did you check the /var/log/maillog or /usr/local/nagiosxi/tmp/phpmailer.log? Are you using Sendmail or SMTP to send emails?I'm not seeing anything in the logs to indicate why the message isn't being sent. It's almost as if Nagios XI doesn't even see it happening.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagios XI Notifications
Do I need to be a member of the contact group to be able to send a custom notification to it? As a Nagios Admin I figured it would just send the notification to whomever is in the contact group assigned to the service.
I'm not sure what you mean by "contact definition". The template being used for the contacts in this particular contact group is just the "xi_contact_generic" that we use for everything.
We're using Sendmail and I checked the /var/log/maillog.
I'm not sure what you mean by "contact definition". The template being used for the contacts in this particular contact group is just the "xi_contact_generic" that we use for everything.
We're using Sendmail and I checked the /var/log/maillog.
Re: Nagios XI Notifications
No, it will only go to the contacts defined on the host/service:
Send Custom Notification:
This command is used to send a custom notification about the specified host. Useful in emergencies when you need to notify admins of an issue regarding a monitored system or service. Custom notifications normally follow the regular notification logic in Nagios. Selecting the Forced option will force the notification to be sent out, regardless of the time restrictions, whether or not notifications are enabled, etc. Selecting the Broadcast option causes the notification to be sent out to all normal (non-escalated) and escalated contacts. These options allow you to override the normal notification logic if you need to get an important message out.
Send Custom Notification:
This command is used to send a custom notification about the specified host. Useful in emergencies when you need to notify admins of an issue regarding a monitored system or service. Custom notifications normally follow the regular notification logic in Nagios. Selecting the Forced option will force the notification to be sent out, regardless of the time restrictions, whether or not notifications are enabled, etc. Selecting the Broadcast option causes the notification to be sent out to all normal (non-escalated) and escalated contacts. These options allow you to override the normal notification logic if you need to get an important message out.
Re: Nagios XI Notifications
Ok, so we're back at square one.
I forced a custom notification and it was not sent.
Would you like me to PM you my system profile, so you can take a look?
I forced a custom notification and it was not sent.
Would you like me to PM you my system profile, so you can take a look?