[Nagios-devel] Debugging
Posted: Thu Jun 08, 2006 4:18 am
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello
I often hear people complaining that nagios does not log the exact command line which is
executed for active host/service checks. I see that this can be helpful when setting up
new services. I checked the code and found that this info is actually printed if DEBUG3 is
defined. This of course requires recompilation which is think is kind of bad, considering
you want this logging only for some minutes.
So the question for me is what would be the nicest solution to implement? Make a new
configuration-directive to turn on/off only this one log? Implement loglevels and get rid
of "define DEBUG*" alltogether? Does anyone care at all about this?
Chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEiBWosLjW0HYht7URAvZXAJ95jz/k6U6xgqm3Kkfcx1HAuD9zAQCeM8H/
9gtqX7YNbmwYejA5eJcD/YU=
=6Qg0
-----END PGP SIGNATURE-----
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Hash: SHA1
Hello
I often hear people complaining that nagios does not log the exact command line which is
executed for active host/service checks. I see that this can be helpful when setting up
new services. I checked the code and found that this info is actually printed if DEBUG3 is
defined. This of course requires recompilation which is think is kind of bad, considering
you want this logging only for some minutes.
So the question for me is what would be the nicest solution to implement? Make a new
configuration-directive to turn on/off only this one log? Implement loglevels and get rid
of "define DEBUG*" alltogether? Does anyone care at all about this?
Chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEiBWosLjW0HYht7URAvZXAJ95jz/k6U6xgqm3Kkfcx1HAuD9zAQCeM8H/
9gtqX7YNbmwYejA5eJcD/YU=
=6Qg0
-----END PGP SIGNATURE-----
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]