Professional Web Applications Themes

Net::SNMP module - PERL Modules

Hi I am trying to use Net::SNMP module in perl to communicate with the remote agent. In this module i have to set oid in dotted notation( like '1.3.6.1.2.1.1.3.0') and i get the result in number form. This thing i dont want. Is there any way i can just give the oid in name format like "tcpRtoAlgorithm.0" and get the result as "vanj" instead of 4. syntax of tcpRtoAlgorithm is INTEGER {other(1), constant(2), rsre(3), vanj(4) } Is there any function in Net::SNMP or any other module that can do this? Regards Amaninder Saini...

  1. #1

    Default Net::SNMP module

    Hi

    I am trying to use Net::SNMP module in perl to communicate with the
    remote agent. In this module i have to set oid in dotted notation( like
    '1.3.6.1.2.1.1.3.0') and i get the result in number form. This thing i
    dont want.
    Is there any way i can just give the oid in name format like
    "tcpRtoAlgorithm.0" and get the result as "vanj" instead of 4.

    syntax of tcpRtoAlgorithm is INTEGER {other(1), constant(2), rsre(3),
    vanj(4) }

    Is there any function in Net::SNMP or any other module that can do
    this?

    Regards
    Amaninder Saini

    Amaninder.Saini@gmail.com Guest

  2. #2

    Default Re: Net::SNMP module

    [email]Amaninder.Saini[/email] wrote:
    > syntax of tcpRtoAlgorithm is INTEGER {other(1), constant(2), rsre(3),
    > vanj(4) }
    >
    Have you tried plugging 'tcpRtoAlgorithm' into the search.cpan.org
    search engine?

    jimk
    James E Keenan Guest

Similar Threads

  1. php-snmp
    By tuxette in forum PHP Development
    Replies: 2
    Last Post: March 7th, 11:58 AM
  2. SNMP.pm
    By Wim in forum PERL Beginners
    Replies: 1
    Last Post: January 30th, 02:58 PM
  3. #25604 [NEW]: configure fails to define variables for use with snmp module
    By gaz at fission dot org dot uk in forum PHP Development
    Replies: 0
    Last Post: September 19th, 01:58 PM
  4. ucd-snmp-4.1.2
    By shaahul in forum PERL Modules
    Replies: 0
    Last Post: September 15th, 08:49 PM
  5. UCD-SNMP / NET-SNMP config for hostmib AIX 4.3.3
    By NickS in forum Linux / Unix Administration
    Replies: 4
    Last Post: September 11th, 11:24 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139