Page 1 of 1

Service Escalation set up in Nagios core

Posted: Fri Aug 14, 2020 12:01 pm
by Vishh
I have set up Service escalation in Nagios core. I have defined serviceescalation.cfg in /usr/local/nagios/etc/objects/serviceesclation.cfg as below and it is been defined in nagios.cfg as well.

Code: Select all

define irmsescalation1{
                         hostgroups             irms-webservers
                         servicegroups          web
                         contact_groups         opsgenie
                         first_notification     1
                         last_notification      2
                         notification_interval  10
                         escalation_options     [w,u,c,r]
                        }


define irmsescalation2{
                         hostgroups             irms-webservers
                         servicegroups          web
                         contact_groups         vbidadisuresh
                         first_notification     3
                         last_notification      5
                         notification_interval  10
                         escalation_options     [c,r]
                        }
But, I'm getting the error, could you guys please look into it and give me input in improving serviceescalation file