[icinga-checkins] icinga.org: icinga-core/mfriedrich/ocilib: fixed hostchecks perfdata output (cp fault)

git at icinga.org git at icinga.org
Tue Oct 6 18:05:22 CEST 2009


Module: icinga-core
Branch: mfriedrich/ocilib
Commit: 061fedce9907ce1aca3efcd397c5b0e467fb6c0e
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=061fedce9907ce1aca3efcd397c5b0e467fb6c0e

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Tue Oct  6 13:26:18 2009 +0200

fixed hostchecks perfdata output (cp fault)

---

 module/idoutils/src/dbhandlers.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/module/idoutils/src/dbhandlers.c b/module/idoutils/src/dbhandlers.c
index 1cea4a8..dd7598b 100644
--- a/module/idoutils/src/dbhandlers.c
+++ b/module/idoutils/src/dbhandlers.c
@@ -1908,7 +1908,7 @@ int ndo2db_handle_hostcheckdata(ndo2db_idi *idi) {
         data[19] = (void *) &return_code;
         data[20] = (void *) &es[2];
         data[21] = (void *) &es[3];
-        data[22] = (void *) &es[3];
+        data[22] = (void *) &es[4];
 
         result = ido2db_query_insert_or_update_hostcheckdata_add(idi, data);
 





More information about the icinga-checkins mailing list