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
what is the notification interval
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: what is the notification interval
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
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
Thank you very much.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: what is the notification interval
No ProblemPratapa wrote:Thank you very much.
Locking thread