Re: Setting notification_commands Via Template
Posted: Wed Jul 13, 2016 1:35 am
Ok, I seemingly just fixed it by removing the other templates.
I don't see how this makes sense as none of them change the host_notification_commands and service_notification_commands directives are not set anymore on any of them.
At least they don't anymore, my generic template did once have the directives set, but I changed that when I recreated the xi_contact_generic template.
They are only:
I am gonna just remove these contact templates and simply add the contactgroups directly to each contact.
Gonna try and apply with these changes and see if it fixes the problem all over...
I don't see how this makes sense as none of them change the host_notification_commands and service_notification_commands directives are not set anymore on any of them.
At least they don't anymore, my generic template did once have the directives set, but I changed that when I recreated the xi_contact_generic template.
They are only:
Code: Select all
define contact {
name A-contact
contactgroups +A Contacts
use generic
register 0
}
define contact {
name B-contact
contactgroups +B Contacts
use generic
register 0
}
define contact {
name C-contact
contactgroups +C Contacts
use generic
register 0
}
define contact {
name D-contact
contactgroups +D Contacts
use generic
register 0
}
define contact {
name generic
contactgroups +contactgroup_all
register 0
}Gonna try and apply with these changes and see if it fixes the problem all over...