just reduce output to failing partitions
This commit is contained in:
parent
5b163cd80d
commit
27f5c281e7
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -4,6 +4,8 @@ nagios-plugins (1.4.12-5) UNRELEASED; urgency=low
|
||||||
definitions
|
definitions
|
||||||
* changing check_cups command to use host headers anymore, since cups changed
|
* changing check_cups command to use host headers anymore, since cups changed
|
||||||
it's behavior in etch (Closes: #505610)
|
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@cyconet.org> Thu, 02 Oct 2008 00:45:31 +0200
|
-- Jan Wagner <waja@cyconet.org> Thu, 02 Oct 2008 00:45:31 +0200
|
||||||
|
|
||||||
|
|
8
debian/pluginconfig/disk.cfg
vendored
8
debian/pluginconfig/disk.cfg
vendored
|
@ -1,19 +1,19 @@
|
||||||
# 'check_disk' command definition
|
# 'check_disk' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_disk
|
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
|
# 'check_all_disks' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_all_disks
|
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
|
# 'ssh_disk' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name ssh_disk
|
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
|
# 'ssh_disk_4' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name ssh_disk_4
|
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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue