aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/changelog1
-rwxr-xr-xsitesummary-nodes2
2 files changed, 2 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 399f77b..cbf2b02 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ sitesummary (0.1.2) UNRELEASED; urgency=low
* Drop Nagios check for user count, as the check do not check anything
useful, and the default nrpe setup do not allow us to raise the
warning levels.
+ * Fix typo in calculating process warning levels on LTSP servers.
-- Petter Reinholdtsen <pere@debian.org> Tue, 31 Jan 2012 19:55:29 +0100
diff --git a/sitesummary-nodes b/sitesummary-nodes
index 6778146..3777e31 100755
--- a/sitesummary-nodes
+++ b/sitesummary-nodes
@@ -448,7 +448,7 @@ sub generate_nagios_config {
# lots of users can log into these machines and run their
# desktops from there.
if (is_pkg_installed($hostid, "ltsp-server")) {
- my $proclimit = "1500!2500";
+ $proclimit = "1500!2500";
}
print_nagios_service_check($remote, $hostname, "processes total",
"check_procs", $proclimit);