[Nagios-devel] Bug in escalation template handling

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] Bug in escalation template handling

Post by Guest »

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 post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked