From fc95e24180fe5d14d612cedb1d5b31d3665baf8c Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Tue, 31 Jan 2012 18:59:52 +0000 Subject: 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. --- sitesummary-nodes | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'sitesummary-nodes') 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", -- cgit v1.2.3