NDO utils bug/explanation

Frassinelli, Marco marco.frassinelli at eds.com
Thu Sep 17 17:11:00 CEST 2009


Hi

I'm using ndo2db for populating my database with nagios data, with I
read from nagvis.

I noticed that in some occasion ndo2db deletes some data from the
tables, here the code in dbhandlers.c line 655 and subsequents:

 

 
ndo2db_db_clear_table(idi,ndo2db_db_tablenames[NDO2DB_DBTABLE_PROGRAMSTA
TUS]);

 
ndo2db_db_clear_table(idi,ndo2db_db_tablenames[NDO2DB_DBTABLE_HOSTSTATUS
]);

 
ndo2db_db_clear_table(idi,ndo2db_db_tablenames[NDO2DB_DBTABLE_SERVICESTA
TUS]);

                ...

I think this is not correct because one has to read the timestamps, data
must be there, this at least apply to the table PROGRAMSTATUS.

 

Thanks

 

Marco

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20090917/1c62e471/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
-------------- 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