diff options
author | Petter Reinholdtsen <pere@hungry.com> | 2012-01-31 19:08:03 +0000 |
---|---|---|
committer | Petter Reinholdtsen <pere@hungry.com> | 2012-01-31 19:08:03 +0000 |
commit | 1691c9257c8d5f94d78d68f376205c200c5445ed (patch) | |
tree | d3b07a2a80b3a6d58d7a1f111f6fa7a517ab1210 | |
parent | fc95e24180fe5d14d612cedb1d5b31d3665baf8c (diff) | |
download | sitesummary-1691c9257c8d5f94d78d68f376205c200c5445ed.tar.gz sitesummary-1691c9257c8d5f94d78d68f376205c200c5445ed.tar.bz2 sitesummary-1691c9257c8d5f94d78d68f376205c200c5445ed.tar.xz |
Fix typo in calculating process warning levels on LTSP servers.
-rw-r--r-- | debian/changelog | 1 | ||||
-rwxr-xr-x | sitesummary-nodes | 2 |
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); |