email notification for nagiosxi

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
michaelli
Posts: 115
Joined: Thu Jan 29, 2015 11:21 am

email notification for nagiosxi

Post by michaelli »

Hi,

We setup nagiosxi for send email notification when problem happen in client side. Below is our observation behavior.

When a client has a critical alert (system log or application text base file), it can send email to someone.

But when the STATUS keep in Critical status and further Critical alert occur, there is no email will send out.

How can I configure send further email notification when the many error occur during the critical/warning status.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: email notification for nagiosxi

Post by tgriep »

I think you are looking to be notified periodically when a host or service is down for a long period of time.
You would need to set this for the host / service checks that you want to get re-notified when it is down.
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 down or unreachable. 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 host - only one problem notification will be sent out.
Is that what you are looking for?
Be sure to check out our Knowledgebase for helpful articles and solutions!
michaelli
Posts: 115
Joined: Thu Jan 29, 2015 11:21 am

Re: email notification for nagiosxi

Post by michaelli »

Hi tgriep,

Below is my example I only get 12:01 email notification, nagios do not send 12:02 and 12:05 event to user.

Time State Message
12:00 Ok OK: No data received yet
12:01 Critical Critical: Application A crash
12:02 Critical Critical: Application B crash
12:05 Critical Critical: xxxxxx error

Is it possible to change the email notification from STATE trigger to event trigger?
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: email notification for nagiosxi

Post by ssax »

Are these passive results that you are sending into XI?
michaelli
Posts: 115
Joined: Thu Jan 29, 2015 11:21 am

Re: email notification for nagiosxi

Post by michaelli »

Hi Ssax,

Yes, I use nsclient++ realtime system log. It is passive mode.

Do you mean passive mode cannot send email notification when two error in the same state.

If active mode eg. check_logfiles can do that, we want to try. But I failed to set check_logfiles in windows 2003/2008/2012 on (32/64bit) windows system and application before. So that we change to use passive mode.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: email notification for nagiosxi

Post by tgriep »

Do you have notifications enabled for those services and the contact that wants the notifications assigned to them also?
Be sure to check out our Knowledgebase for helpful articles and solutions!
michaelli
Posts: 115
Joined: Thu Jan 29, 2015 11:21 am

Re: email notification for nagiosxi

Post by michaelli »

Hi all,

Verified that nagios can send email notification for 1st error messages in both active or passive check.

The issue is it do not send further email notification for further error messages.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: email notification for nagiosxi

Post by jolson »

If I'm understanding your post properly, you want notifications to be sent out on every critical state. If that's true, you can modify the service to be volatile.
2015-06-22 10_09_17-Nagios XI - Nagios Core Config Manager - Firefox Developer Edition.png
You do not have the required permissions to view the files attached to this post.
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
michaelli
Posts: 115
Joined: Thu Jan 29, 2015 11:21 am

Re: email notification for nagiosxi

Post by michaelli »

Hi jolson,

Great, this setting work for both active or passive for log messages. It will send email notification for every error messages in the same status.
Thank you.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: email notification for nagiosxi

Post by jolson »

No problem - is there anything else I can help you out with, or are we good to close this thread?
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
Locked