Service Not Inheriting from Service Template
Posted: Tue Oct 30, 2018 3:22 pm
Hello,
Previously have used this template in a lot of places, but I have a few cases where my services don't appear to be working:
Attached Files -
test_service_template.cfg - Service Template
test_service.cfg - Service
Error: notification_period '' for service 'CPU' on host 'redacted' could not be found!
Error: Could not register service (config file '/usr/local/nagios/etc/services/hg0-mgicint-linux-ts.cfg', starting on line 16)
The notification period is defined in the template, and on the "service template" tab of the service I have selected the Test template.
Curious what I am missing here. Also, if I am correct in my thinking, anything we define on the service itself (more specific parameters) will override anything inherited from the template.
Thanks for any insight!
Previously have used this template in a lot of places, but I have a few cases where my services don't appear to be working:
Attached Files -
test_service_template.cfg - Service Template
test_service.cfg - Service
Error: notification_period '' for service 'CPU' on host 'redacted' could not be found!
Error: Could not register service (config file '/usr/local/nagios/etc/services/hg0-mgicint-linux-ts.cfg', starting on line 16)
The notification period is defined in the template, and on the "service template" tab of the service I have selected the Test template.
Curious what I am missing here. Also, if I am correct in my thinking, anything we define on the service itself (more specific parameters) will override anything inherited from the template.
Thanks for any insight!