[BACK]Return to check_bioctl CVS log [TXT][DIR] Up to [local] / nagios / check_bioctl

Diff for /nagios/check_bioctl/check_bioctl between version 1.15 and 1.17

version 1.15, 2009/11/23 22:24:45 version 1.17, 2011/12/27 01:32:01
Line 1 
Line 1 
 #!/usr/bin/perl -T  #!/usr/bin/perl -T
 # $RedRiver: check_bioctl,v 1.14 2009/11/23 21:58:04 andrew Exp $  # $RedRiver: check_bioctl,v 1.15 2009/11/23 22:24:45 andrew Exp $
 ########################################################################  ########################################################################
 # check_bioctl *** A nagios check for OpenBSD bioctl  # check_bioctl *** A nagios check for OpenBSD bioctl
 #  #
Line 10 
Line 10 
   
 local %ENV = ();  local %ENV = ();
   
 my $NAGIOS_OUTPUT = 0;  my $NAGIOS_OUTPUT = 1;
   
 my $License = <<'EOL';  my $License = <<'EOL';
 Copyright (c) 2009 Andrew Fresh <andrew@afresh1.com>  Copyright (c) 2009 Andrew Fresh <andrew@afresh1.com>
Line 158 
Line 158 
         chomp $line;          chomp $line;
   
         # Do these by columns cuZ that is the easiest for now          # Do these by columns cuZ that is the easiest for now
         my @o = unpack( "A6 A1 A11 A15 A7 A9 A*", $line );          my @o = unpack( "A10 A1 A11 A15 A7 A9 A*", $line );
         return if $o[0] eq 'Volume';          return if $o[0] eq 'Volume';
   
         foreach (@o) {          foreach (@o) {

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.17

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>