[Pkg-nagios-changes] [pkg-nagios-plugins-contrib] 02/02: Update check_apt.cmd to use update-check_libs-status.
Bernd Zeimetz
bernd at bzed.de
Mon Dec 1 14:00:06 UTC 2014
This is an automated email from the git hooks/post-receive script.
bzed pushed a commit to branch master
in repository pkg-nagios-plugins-contrib.
commit 3479e9da55148ffc97dd8635369f558ff8d4b15e
Author: Bernd Zeimetz <bernd at bzed.de>
Date: Mon Dec 1 14:55:40 2014 +0100
Update check_apt.cmd to use update-check_libs-status.
---
dsa/check_apt.cmd | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/dsa/check_apt.cmd b/dsa/check_apt.cmd
index 812e586..aeb8d09 100644
--- a/dsa/check_apt.cmd
+++ b/dsa/check_apt.cmd
@@ -9,13 +9,14 @@
# - the following sudo permissions:
# nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/check_libs
# nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/check_running_kernel
-# - a cronjob running update-apt-status:
+# - cronjobs running update-apt-status and update-check_libs-status:
# @hourly root [ -x /usr/lib/nagios/cronjobs/update-apt-status ] && /usr/lib/nagios/cronjobs/update-apt-status 2>&1 | logger -t update-apt-status
+# @hourly root [ -x /usr/lib/nagios/cronjobs/update-check_libs-status ] && /usr/lib/nagios/cronjobs/update-check_libs-status 2>&1 | logger -t update-check_libs-status
command[ packages ] = mispipe "/usr/lib/nagios/plugins/check_statusfile /var/cache/nagios_status/apt" "sed -n '1p;\$p' | paste -s -d ''"
-command[ libs ] = mispipe "sudo /usr/lib/nagios/plugins/check_libs" "sed 's, ([0-9, ]*),,g'"
+command[ libs ] = /usr/lib/nagios/plugins/check_statusfile /var/cache/nagios_status/check_libs
command[ running_kernel ] = sudo /usr/lib/nagios/plugins/check_running_kernel
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-nagios-plugins-contrib.git
More information about the Pkg-nagios-changes
mailing list