Page 1 of 1

[Nagios-devel] Discrepancy between command definitions and actual

Posted: Tue Mar 03, 2009 2:04 am
by Guest
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The documentation for ACKNOWLEDGE_{SVC,HOST}_PROBLEM commands in Nagios
2.x and 3.x says to use 1 for sticky and 0 for non-sticky ack's; however
the way it's currently implemented is using the following macros for
non-sticky and sticky ack's respectively:

include/common.h:#define ACKNOWLEDGEMENT_NORMAL 1
include/common.h:#define ACKNOWLEDGEMENT_STICKY 2

Looks like it's always been like that so I think the best would be to
fix the documentation... At least for the current releases. OTOH this
will leave broken any home-build script that send the command according
to the documentation.

http://www.nagios.org/developerinfo/ext ... mand_id=39
http://www.nagios.org/developerinfo/ext ... mand_id=40

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

iD8DBQFJrI/96dZ+Kt5BchYRAtFzAJ4xmDbYBwjvDVyug7HBxIegN94prQCfRlJJ
EyiLy6kvvMrEod6BZuBd9nc=
=G0ku
-----END PGP SIGNATURE-----





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