Single Notification Only

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
stonehill
Posts: 22
Joined: Mon May 02, 2011 9:29 pm

Single Notification Only

Post by stonehill »

Dear All,

Is it possible that i will get only one notification of any service of host failure or warning state. And is there is any common place to update ll coz i have around 100 hosts and around 2000 services so it will be difficult to do it one by one.

Thanks and regards

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

Re: Single Notification Only

Post by lmiltchev »

stonehill,

Can you elaborate a little bit more on "only one notification of any service of host failure or warning state"? Do you mean you would like to receive a notification if "any" of these hosts/services has a problem and if a second host/service goes down, you don't want to be notified? I am not sure I know what you mean.
Be sure to check out our Knowledgebase for helpful articles and solutions!
stonehill
Posts: 22
Joined: Mon May 02, 2011 9:29 pm

Re: Single Notification Only

Post by stonehill »

If one service/host failed i just need one notification not every hour.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Single Notification Only

Post by lmiltchev »

stonehill,

Did you try changing the "Notification interval" to "0" (zero) for the particular host/service to see if this is going to solve your issue. You can do this by going to the Core Config Manager->Monitoring->Hosts, clicking on the "Modify" action button for the particular host and clicking on the "Alert Settings" tab.
Host - 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.

Parameter name: notification_interval
Required: yes
Changing the "Notification interval" for the services is similar.
Be sure to check out our Knowledgebase for helpful articles and solutions!
stonehill
Posts: 22
Joined: Mon May 02, 2011 9:29 pm

Re: Single Notification Only

Post by stonehill »

Thanks found it sorry for my ignorance. One last question is there is any way so i can change it for all the service or i have to do it one by one coz i have lots of services.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Single Notification Only

Post by lmiltchev »

stonehill,

I don't thing you should do this manually for each service, unless you like working very long hours :D . You can use your templates to achieve the same result. For example, almost everything in Nagios XI references the "xiwizard_generic_host" or "xiwizard_generic_service" templates. You can set your host or services notifications intervals to "0" in these templates.
Go to:
Core Config Manager->Templates->Host or Service Templates. Click on the "xiwizard_generic_host" or "xiwizard_generic_service" template "Modify" Action button. Go to the "Alert Settings Tab" and set your "Notification Interval" to zero.
Note: The changes you make will affect ALL of the hosts/services that reference these templates. However, if you want to override these settings for a particular host or service, you can do so by modifying this host/service's configuration itself.
Hope this help.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked