Warnig and Critical checking and notification

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
veenm
Posts: 148
Joined: Tue Jun 18, 2013 5:58 am

Warnig and Critical checking and notification

Post by veenm »

Hi ,

I have one requirement .
Can we configure the nagios check and alerts for nagios as below.
1. Should get the Warning alert after 3 polls
2.should get the critical alert after 1 check.

how we can configure above checks in nagios core
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Warnig and Critical checking and notification

Post by abrist »

This is possible with escalations.
Create 1 escalation for warnings:

Code: Select all

first_notification  3
last_notification  0
notification_interval  <your choice (5min. default)>
escalation options  w
Create a second escalation for criticals:

Code: Select all

first_notification  1
last_notification  0
notification_interval  <your choice (5min. default)>
escalation_options  c
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
veenm
Posts: 148
Joined: Tue Jun 18, 2013 5:58 am

Re: Warnig and Critical checking and notification

Post by veenm »

In which template do we have to add these parameter
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Warnig and Critical checking and notification

Post by abrist »

Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked