summaryrefslogtreecommitdiff
blob: 986ec51014b5d0ab9cb126216904aa9b064705be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From 61928eea1075f22be24c4122c66ff7c2a1dcefae Mon Sep 17 00:00:00 2001
From: Christian Ruppert <idl0r@gentoo.org>
Date: Mon, 25 Feb 2013 01:33:10 +0100
Subject: [PATCH] Fix Icinga's default result limitations,
 https://github.com/HenriWahl/Nagstamon/issues/10


Signed-off-by: Christian Ruppert <idl0r@gentoo.org>
---
 Nagstamon/Server/Generic.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Nagstamon/Server/Generic.py b/Nagstamon/Server/Generic.py
index 0dfd1d6..cfe613d 100644
--- a/Nagstamon/Server/Generic.py
+++ b/Nagstamon/Server/Generic.py
@@ -434,9 +434,9 @@ class GenericServer(object):
         # group them together
         hostserviceprops = 0
         # services (unknown, warning or critical?)
-        nagcgiurl_services = self.monitor_cgi_url + "/status.cgi?host=all&servicestatustypes=" + str(servicestatustypes) + "&serviceprops=" + str(hostserviceprops)
+        nagcgiurl_services = self.monitor_cgi_url + "/status.cgi?host=all&limit=0&servicestatustypes=" + str(servicestatustypes) + "&serviceprops=" + str(hostserviceprops)
         # hosts (up or down or unreachable)
-        nagcgiurl_hosts = self.monitor_cgi_url + "/status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=" + str(hoststatustypes) + "&hostprops=" + str(hostserviceprops)
+        nagcgiurl_hosts = self.monitor_cgi_url + "/status.cgi?hostgroup=all&limit=0&style=hostdetail&hoststatustypes=" + str(hoststatustypes) + "&hostprops=" + str(hostserviceprops)
         # hosts - mostly the down ones
         # unfortunately the hosts status page has a different structure so
         # hosts must be analyzed separately
-- 
1.7.12.4