Help for this page

Select Code to Download


  1. or download this
    #!c:/perl/perl.exe
    use Net::SNMP;
    ...
        print "The ups is on battery\n";
    }
    $session->close;
    
  2. or download this
     
    C:\>snmp.pl
    $VAR1 = {
    ...
    3
    The ups is normal
    The ups is on battery
    
  3. or download this
    $VAR1 = {
              '.1.3.6.1.2.1.33.1.4.1.0' => 3
    ...
    l line 25.
    Use of uninitialized value in numeric eq (==) at C:\SNMP.p
    l line 29.