aboutsummaryrefslogtreecommitdiffstats
path: root/sitesummary-nodes
diff options
context:
space:
mode:
Diffstat (limited to 'sitesummary-nodes')
-rwxr-xr-xsitesummary-nodes5
1 files changed, 4 insertions, 1 deletions
diff --git a/sitesummary-nodes b/sitesummary-nodes
index 3697b8e..7fd0d25 100755
--- a/sitesummary-nodes
+++ b/sitesummary-nodes
@@ -305,7 +305,6 @@ sub generate_nagios_config {
(
139 => { name => 'samba', package => 'samba' },
389 => { name => 'ldap', package => 'slapd' },
- 631 => { name => 'cups', package => 'cups' },
4949 => { name => 'munin', package => 'munin-node' },
);
@@ -346,6 +345,10 @@ sub generate_nagios_config {
}
}
+ print_nagios_service_check(0, $hostname, "cups queue",
+ "check_cups_queue")
+ if (is_pkg_installed($hostid, "cups"));
+
# The rest of the checks only work if NRPE is installed and configured
next unless ((!$remote && $nagiosclient)
|| ($remote && defined $nrpestatus));