Help for this page

Select Code to Download


  1. or download this
    [root@elara trunk]# snmpget -v 1 -c debug localhost .1.3.6.1.4.1.99999
    +9.1
    SNMPv2-SMI::enterprises.999999.1 = STRING: "Package OID Test Successfu
    +l"
    ...
    Error in packet
    Reason: (noSuchName) There is no such variable name in this MIB.
    Failed object: SNMPv2-SMI::enterprises.999999.3
    
  2. or download this
    #!/usr/bin/perl
    #
    ...
    #this does not work
    my $reg_oid3 = new NetSNMP::OID($root_oid . ".3");
    $agent->register('test3', $reg_oid3, $test->monitor);