[Pkg-nagios-changes] [pkg-nagios-plugins] 167/413: just reduce output to failing partitions
Jan Wagner
waja at moszumanska.debian.org
Tue Nov 26 23:13:19 UTC 2013
This is an automated email from the git hooks/post-receive script.
waja pushed a commit to branch master
in repository pkg-nagios-plugins.
commit 27f5c281e7bc0cac3d1dde351a9290f8b4ab46c2
Author: Jan Wagner <waja at cyconet.org>
Date: Fri Jan 30 19:40:04 2009 +0000
just reduce output to failing partitions
---
debian/changelog | 2 ++
debian/pluginconfig/disk.cfg | 8 ++++----
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 12534c6..d2ecd28 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ nagios-plugins (1.4.12-5) UNRELEASED; urgency=low
definitions
* changing check_cups command to use host headers anymore, since cups changed
it's behavior in etch (Closes: #505610)
+ * add -e to all reconfigured check commands using check_disk, to only show
+ effected partitions, when warning or critical (Closes: #395389)
-- Jan Wagner <waja at cyconet.org> Thu, 02 Oct 2008 00:45:31 +0200
diff --git a/debian/pluginconfig/disk.cfg b/debian/pluginconfig/disk.cfg
index 1fc46f9..3284639 100644
--- a/debian/pluginconfig/disk.cfg
+++ b/debian/pluginconfig/disk.cfg
@@ -1,19 +1,19 @@
# 'check_disk' command definition
define command{
command_name check_disk
- command_line /usr/lib/nagios/plugins/check_disk -w '$ARG1$' -c '$ARG2$' -p '$ARG3$'
+ command_line /usr/lib/nagios/plugins/check_disk -w '$ARG1$' -c '$ARG2$' -e -p '$ARG3$'
}
# 'check_all_disks' command definition
define command{
command_name check_all_disks
- command_line /usr/lib/nagios/plugins/check_disk -w '$ARG1$' -c '$ARG2$'
+ command_line /usr/lib/nagios/plugins/check_disk -w '$ARG1$' -c '$ARG2$' -e
}
# 'ssh_disk' command definition
define command{
command_name ssh_disk
- command_line /usr/lib/nagios/plugins/check_by_ssh -H '$HOSTADDRESS$' -C '/usr/lib/nagios/plugins/check_disk -w '\''$ARG1$' -c '\''$ARG2$'\'' -p '\''$ARG3$'\'
+ command_line /usr/lib/nagios/plugins/check_by_ssh -H '$HOSTADDRESS$' -C '/usr/lib/nagios/plugins/check_disk -w '\''$ARG1$' -c '\''$ARG2$'\'' -e -p '\''$ARG3$'\'
}
####
@@ -23,5 +23,5 @@ define command{
# 'ssh_disk_4' command definition
define command{
command_name ssh_disk_4
- command_line /usr/lib/nagios/plugins/check_by_ssh -H '$HOSTADDRESS$' -C '/usr/lib/nagios/plugins/check_disk -w '\''$ARG1$'\'' -c '\''$ARG2$'\'' -p '\''$ARG3$'\' -4
+ command_line /usr/lib/nagios/plugins/check_by_ssh -H '$HOSTADDRESS$' -C '/usr/lib/nagios/plugins/check_disk -w '\''$ARG1$'\'' -c '\''$ARG2$'\'' -e -p '\''$ARG3$'\' -4
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-nagios-plugins.git
More information about the Pkg-nagios-changes
mailing list