Re: [Nagios-devel] misc ndoutils-1.4b8 remarks

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

Re: [Nagios-devel] misc ndoutils-1.4b8 remarks

Post by Guest »

Hi,

Bernhard Reutner-Fischer wrote the following on 20.10.2009 11:11:
>
> A few miscellaneous comments for ndoutils from cvs (see Log Message:)
>
> https://www.nagiosforge.org/gf/project/ ... evision=58
I would recommend using not only a return value but also a debug output
using ndo2db_log_debug_info(), e.g.
ndo2db_log_debug_info(NDO2DB_DEBUGL_PROCESSINFO, 2,
"ndo2db_db_connect() not ok\n");

Either way by checking the db connect/init or within those functions.
But thanks for the hint, I will apply that to IDOUtils.
> https://www.nagiosforge.org/gf/project/ ... evision=73
Also contacts.alias might produce such overflows but it did not
recognize such things.
> https://www.nagiosforge.org/gf/project/ ... evision=85
Mh that's also true but it doesn't matter that much if you quote or do
not quote - only concerning the fact that some %s must not be quoted as
they are subselects/functions.

Kind regards,
Michael

--
DI (FH) Michael Friedrich
[email protected]
Tel: +43 1 4277 14359

Vienna University Computer Center
Universitaetsstrasse 7
A-1010 Vienna, Austria






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