Bug in escalation template handling
Darren White
tech at shasta.com
Fri Jul 2 17:38:04 CEST 2004
As best I can tell, this is an undocumented bug.
Host escalations to not support hostgroup_name in template
definitions. Read on for an explanation.
When defining a serviceescalation, you can use a host_name or a
hostgroup_name to specify which host(s) the escalation applies to. If
you define a template (register 0) and then "use" it in a
serviceescalation, it works with either a host_name or a
hostgroup_name in the template definition.
When defining a hostescalation, you can use a host_name or a
hostgroup_name as well, to specify the host(s) it applies to. When
you use a template, if you specify host_name in the template,
everything works. If you use hostgroup_name, nagios complains
about the host_name parameter being Null.
Confirmed with Nagios 1.0 and 1.2.
Darren White
InterStar Inc.
530-224-6866 x 103
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
More information about the Developers
mailing list