[icinga-checkins] icinga.org: icinga-core/master: Decrease proxy queue reporting interval.

git at icinga.org git at icinga.org
Sun Jun 30 16:49:25 CEST 2013


Module: icinga-core
Branch: master
Commit: 4d34205852d457a138bcd09010694af2e89900dd
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=4d34205852d457a138bcd09010694af2e89900dd

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Mon Apr 29 13:41:06 2013 +0200

Decrease proxy queue reporting interval.

---

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

diff --git a/module/idoutils/src/ido2db.c b/module/idoutils/src/ido2db.c
index 92688b2..9cdee98 100644
--- a/module/idoutils/src/ido2db.c
+++ b/module/idoutils/src/ido2db.c
@@ -1160,7 +1160,7 @@ static void *ido2db_proxy_thread_proc(void *pargs) {
 				break;
 
 		time(&now);
-		if (ido2db_proxy_last_report < now - 15 && (size_left > 0 || size_right > 0)) {
+		if (ido2db_proxy_last_report < now && (size_left > 0 || size_right > 0)) {
 			syslog(LOG_INFO, "IDO2DB proxy stats (p=%p): left=%d, right=%d; iostats=%d\n", proxy, (int)size_left, (int)size_right, (int)(iostats + size_left + size_right) / 2);
 			ido2db_proxy_last_report = now;
 		}





More information about the icinga-checkins mailing list