Page 1 of 1

what is the notification interval

Posted: Tue Nov 26, 2019 7:03 am
by Pratapa
Hi,

Following is the service definition.

define service {
service_description Print Spooler Service
use master-service-template
host_name host1,host2
check_command check_nt_service!1248!Spooler
notification_interval 10
contact_groups xyz_admins
}


define service {
name master-service-template
active_checks_enabled 1
passive_checks_enabled 0
parallelize_check 1
obsess_over_service 0
check_freshness 0
notifications_enabled 1
event_handler_enabled 0
flap_detection_enabled 0
process_perf_data 1
retain_status_information 1
retain_nonstatus_information 1
notification_interval 0
contact_groups nagios-admin
contacts contact-service-now-ticketer
check_period 24x7
notification_period 24x7
notification_options w,c,r
max_check_attempts 3
check_interval 5
retry_interval 1
register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE!
}

What is the Notification interval for the service "Print Spooler Service". Is it 0 or 10?

Regards,
Pratapa

Re: what is the notification interval

Posted: Tue Nov 26, 2019 7:41 am
by scottwilkerson
It is 10 for this service.

The any attribute set in the service will override the attribute in the template.

Here are more details on Object Inheritance
https://assets.nagios.com/downloads/nag ... tance.html

Re: what is the notification interval

Posted: Wed Nov 27, 2019 5:27 am
by Pratapa
Thank you very much.

Re: what is the notification interval

Posted: Wed Nov 27, 2019 7:31 am
by scottwilkerson
Pratapa wrote:Thank you very much.
No Problem

Locking thread