check_proc seems also have problems with empty additional arguments

This commit is contained in:
Jan Wagner 2013-07-18 12:48:59 +00:00
parent 6fb5ba3a4e
commit bf60a9567f
2 changed files with 4 additions and 3 deletions

3
debian/changelog vendored
View file

@ -3,7 +3,8 @@ nagios-plugins (1.4.16-3) UNRELEASED; urgency=low
* Fixed check_squid* command definitions * Fixed check_squid* command definitions
* Add double threshold to check_smtp (LP: #318703) * Add double threshold to check_smtp (LP: #318703)
- 12_check_smtp_double_threshold.dpatch - 12_check_smtp_double_threshold.dpatch
* Remove the additional argument from check_ssh (Closes: #717229) * Remove the additional argument from check_ssh and check_proc
(Closes: #717229)
-- Jan Wagner <waja@cyconet.org> Wed, 10 Jul 2013 15:16:26 +0200 -- Jan Wagner <waja@cyconet.org> Wed, 10 Jul 2013 15:16:26 +0200

View file

@ -1,14 +1,14 @@
# 'check_procs' command definition # 'check_procs' command definition
define command{ define command{
command_name check_procs command_name check_procs
command_line /usr/lib/nagios/plugins/check_procs -w '$ARG1$' -c '$ARG2$' '$ARG3$' command_line /usr/lib/nagios/plugins/check_procs -w '$ARG1$' -c '$ARG2$'
} }
# 'check_procs_zombie' command definition # 'check_procs_zombie' command definition
define command{ define command{
command_name check_procs_zombie command_name check_procs_zombie
command_line /usr/lib/nagios/plugins/check_procs -w '$ARG1$' -c '$ARG2$' -s Z '$ARG3$' command_line /usr/lib/nagios/plugins/check_procs -w '$ARG1$' -c '$ARG2$' -s Z
} }