[patch] Add long_output support to NDOUtils
Sébastien Aperghis-Tramoni
sebastien at aperghis.net
Thu Dec 18 00:00:14 CET 2008
Hello,
Attached is a patch I wrote for $work which adds long_output support
to NDOUtils. We are currently using it in servers soon to be put in
production, and it currently seems to be working fine. It's against
Nagios CVS as of a couples of weeks ago. The SQL bit to upgrade an
existing database is provided in db/mysql-upgrade-long_output.sql. It
also fixes a small bug that was present in the code (an "#ifdef
BUILLD_NAGIOS_3X" instead of "#ifdef BUILD_NAGIOS_3X".. two days to
find out..)
diffstat < ndoutils-long_output.diff
db/mysql-upgrade-long_output.sql | 18 ++++++++++++++
db/mysql.sql | 5 ++++
include/protoapi.h | 1
src/dbhandlers.c | 48 +++++++++++++++++++++++++
+-------------
src/ndo2db.c | 1
src/ndomod.c | 46 ++++++++++++++++++++++++++++
+--------
6 files changed, 93 insertions(+), 26 deletions(-)
Patch attached in plain and gzipped to avoid being mangled.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ndoutils-long_output.diff
Type: application/octet-stream
Size: 27741 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20081218/4b9a9d29/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ndoutils-long_output.diff.gz
Type: application/x-gzip
Size: 3973 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20081218/4b9a9d29/attachment.bin>
-------------- next part --------------
Regards
--
S?bastien Aperghis-Tramoni
Close the world, txEn eht nepO.
-------------- next part --------------
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel
More information about the Developers
mailing list