@@ -1,5 +1,5 @@
--- plugin/check_jobs.pl.in.orig 2013-11-02 12:34:30.935086664 +0100
-+++ plugin/check_jobs.pl.in 2013-11-02 13:06:24.328934170 +0100
++++ plugin/check_jobs.pl.in 2013-11-02 13:14:40.207327666 +0100
@@ -20,13 +20,6 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
@@ -30,6 +30,25 @@
# ==================== Functions ====================
# Print Usage
sub print_usage (){
+@@ -119,7 +119,17 @@
+ if ($opt_t) {
+ $TIMEOUT=$opt_t;
+ }
+-
++
++if ($opt_V) {
++ printf "$PROGNAME Version $version\n";
++ exit $ERRORS{'OK'};
++}
++
++if ($opt_h) {
++ print_help();
++ exit $ERRORS{'OK'};
++}
++
+ # Just in case of problems, let's not hang Nagios
+ $SIG{'ALRM'} = sub {
+ print "CRITCAL - Plugin Timed out\n";
--- plugin/check_snmptraps.pl.in.orig 2013-11-02 12:34:21.551088535 +0100
+++ plugin/check_snmptraps.pl.in 2013-11-02 13:06:10.584945654 +0100
@@ -20,14 +20,6 @@
|