[Nagios-devel] Minor issues with notification macros/cgi

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] Minor issues with notification macros/cgi

Post by Guest »

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I was playing with notifications, and I noted the following two things:

1. $NOTIFICATIONCOMMENT$ description says that $NOTIFICATIONTYPE$ can be
~ 'CUSTOM', however it looks like custom notification are always of type
PROBLEM or RECOVERY depending on the status of host. IMHO it would be
clearer to print CUSTOM instead (and update $NOTIFICATIONTYPE$ description).

2. In notifications.cgi, it shows the notification comment in the
Information collumn for Acknowledgements, but not for Custom
notifications (and possibly not for downtime - I haven't tested yet). It
would make sense to print the comment just like for acknowledgments.

Due to lack of time I can't provide a patch, but I believe it's pretty
trivial to fix...

Thanks,

Thomas

- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIblsA6dZ+Kt5BchYRAuV3AKC9BVEQpG+GnqmlXGmQ8+5oHxjDBACfVVhh
MFmWRvpV+9dDQdOI8s7SJM4=
=gzSE
-----END PGP SIGNATURE-----





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked