diff options
author | Petter Reinholdtsen <pere@hungry.com> | 2012-01-31 18:59:52 +0000 |
---|---|---|
committer | Petter Reinholdtsen <pere@hungry.com> | 2012-01-31 18:59:52 +0000 |
commit | fc95e24180fe5d14d612cedb1d5b31d3665baf8c (patch) | |
tree | c1affe1c5e2c5a47363b921ecabed53f239f98f1 /sitesummary-nodes | |
parent | 5471251a4825782e023a3cbba4762ca652b7cb17 (diff) | |
download | sitesummary-fc95e24180fe5d14d612cedb1d5b31d3665baf8c.tar.gz sitesummary-fc95e24180fe5d14d612cedb1d5b31d3665baf8c.tar.bz2 sitesummary-fc95e24180fe5d14d612cedb1d5b31d3665baf8c.tar.xz |
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.
Diffstat (limited to 'sitesummary-nodes')
-rwxr-xr-x | sitesummary-nodes | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sitesummary-nodes b/sitesummary-nodes index eb2f599..6778146 100755 --- a/sitesummary-nodes +++ b/sitesummary-nodes @@ -443,17 +443,13 @@ sub generate_nagios_config { print_nagios_service_check($remote, $hostname, "swap", "check_swap", "10%!5%"); - my $userlimit = "20!50"; my $proclimit = "500!1000"; - # Raise user and process count limits for thin clients, as + # Raise process count limits for thin clients, as # lots of users can log into these machines and run their # desktops from there. if (is_pkg_installed($hostid, "ltsp-server")) { - my $userlimit = "150!200"; my $proclimit = "1500!2500"; } - print_nagios_service_check($remote, $hostname, "current users", - "check_users", $userlimit); print_nagios_service_check($remote, $hostname, "processes total", "check_procs", $proclimit); print_nagios_service_check($remote, $hostname, "processes zombie", |