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

git at icinga.org git at icinga.org
Fri Oct 9 18:44:14 CEST 2009


Module: icinga-core
Branch: hbaecker/ssl
Commit: c817f31c1bdcf751ec2af95e4aa17ad847f86359
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=c817f31c1bdcf751ec2af95e4aa17ad847f86359

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 4f49ff7..118dc7f 100644
--- a/module/idoutils/src/dbhandlers.c
+++ b/module/idoutils/src/dbhandlers.c
@@ -1731,7 +1731,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);
 	dbi_result_free(idi->dbinfo.dbi_result);





More information about the icinga-checkins mailing list