/[nagios-plugins-perl]/trunk/plugins/check_snmp_fsrw.pl
ViewVC logotype

Diff of /trunk/plugins/check_snmp_fsrw.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 137 by racvision, Thu May 27 13:52:39 2010 UTC revision 151 by racvision, Tue Jan 7 10:21:09 2014 UTC
# Line 96  my $count = 0; Line 96  my $count = 0;
96  map {  map {
97          my $indice  = $_;          my $indice  = $_;
98          my $oid     = $base_oid . '.2.' . $indice;          my $oid     = $base_oid . '.2.' . $indice;
99          my $rep     = $session->get_next_request( $oid );          my $rep     = $session->get_request( $oid );
100          my @tab_res = values( %$rep );          my @tab_res = values( %$rep );
101          my $nom_fs  = $tab_res[ 0 ];          my $nom_fs  = $tab_res[ 0 ];
102          $oid        = $base_oid . '.5.' . $indice;          $oid        = $base_oid . '.5.' . $indice;
103          $rep        = $session->get_next_request( $oid );          $rep        = $session->get_request( $oid );
104          @tab_res    = values( %$rep );          @tab_res    = values( %$rep );
105          my $st_fs   = $tab_res[ 0 ];          my $st_fs   = $tab_res[ 0 ];
106          &logD("$indice: $nom_fs => $st_fs");          &logD("$indice: $nom_fs => $st_fs");

Legend:
Removed from v.137  
changed lines
  Added in v.151

  ViewVC Help
Powered by ViewVC 1.1.8