1 |
idl0r 13/02/25 00:36:38 |
2 |
|
3 |
Added: nagstamon-0.9.9-icinga_results_limitations.patch |
4 |
Log: |
5 |
Fix Icinga's default result limitations, https://github.com/HenriWahl/Nagstamon/issues/10 |
6 |
|
7 |
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key B427ABC8) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 net-analyzer/nagstamon/files/nagstamon-0.9.9-icinga_results_limitations.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagstamon/files/nagstamon-0.9.9-icinga_results_limitations.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagstamon/files/nagstamon-0.9.9-icinga_results_limitations.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: nagstamon-0.9.9-icinga_results_limitations.patch |
16 |
=================================================================== |
17 |
From 61928eea1075f22be24c4122c66ff7c2a1dcefae Mon Sep 17 00:00:00 2001 |
18 |
From: Christian Ruppert <idl0r@g.o> |
19 |
Date: Mon, 25 Feb 2013 01:33:10 +0100 |
20 |
Subject: [PATCH] Fix Icinga's default result limitations, |
21 |
https://github.com/HenriWahl/Nagstamon/issues/10 |
22 |
|
23 |
|
24 |
Signed-off-by: Christian Ruppert <idl0r@g.o> |
25 |
--- |
26 |
Nagstamon/Server/Generic.py | 4 ++-- |
27 |
1 file changed, 2 insertions(+), 2 deletions(-) |
28 |
|
29 |
diff --git a/Nagstamon/Server/Generic.py b/Nagstamon/Server/Generic.py |
30 |
index 0dfd1d6..cfe613d 100644 |
31 |
--- a/Nagstamon/Server/Generic.py |
32 |
+++ b/Nagstamon/Server/Generic.py |
33 |
@@ -434,9 +434,9 @@ class GenericServer(object): |
34 |
# group them together |
35 |
hostserviceprops = 0 |
36 |
# services (unknown, warning or critical?) |
37 |
- nagcgiurl_services = self.monitor_cgi_url + "/status.cgi?host=all&servicestatustypes=" + str(servicestatustypes) + "&serviceprops=" + str(hostserviceprops) |
38 |
+ nagcgiurl_services = self.monitor_cgi_url + "/status.cgi?host=all&limit=0&servicestatustypes=" + str(servicestatustypes) + "&serviceprops=" + str(hostserviceprops) |
39 |
# hosts (up or down or unreachable) |
40 |
- nagcgiurl_hosts = self.monitor_cgi_url + "/status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=" + str(hoststatustypes) + "&hostprops=" + str(hostserviceprops) |
41 |
+ nagcgiurl_hosts = self.monitor_cgi_url + "/status.cgi?hostgroup=all&limit=0&style=hostdetail&hoststatustypes=" + str(hoststatustypes) + "&hostprops=" + str(hostserviceprops) |
42 |
# hosts - mostly the down ones |
43 |
# unfortunately the hosts status page has a different structure so |
44 |
# hosts must be analyzed separately |
45 |
-- |
46 |
1.7.12.4 |