Hello !
I've already asked a similar question a week ago (or so) and since then there were changes and I'd like to ask now, when I know better what exactly it is that I'm asking..
So,
I'm using the netsnmp libraries, i.e- NetSNMP::agent (found at: http://net-snmp.sourceforge.net/)
When someone runs 'snmpwalk' on my servers, he sees:
SNMPv2-SMI::enterprises.54321.1.1.1 = INTEGER: 0
SNMPv2-SMI::enterprises.54321.1.1.2 = INTEGER: 1
SNMPv2-SMI::enterprises.54321.1.1.3 = INTEGER: 1
SNMPv2-SMI::enterprises.54321.1.1.5 = INTEGER: 1
SNMPv2-SMI::enterprises.54321.1.1.8 = INTEGER: -1
SNMPv2-SMI::enterprises.54321.1.1.9 = INTEGER: 1
SNMPv2-SMI::enterprises.54321.1.1.12 = INTEGER: 0
SNMPv2-SMI::enterprises.54321.1.1.13 = INTEGER: 0
SNMPv2-SMI::enterprises.54321.1.1.16 = INTEGER: 3879900
SNMPv2-SMI::enterprises.54321.1.2.1 = INTEGER: 1060249
SNMPv2-SMI::enterprises.54321.1.2.2 = INTEGER: 1060249
SNMPv2-SMI::enterprises.54321.1.2.3 = INTEGER: 12900
SNMPv2-SMI::enterprises.54321.1.2.4 = INTEGER: 21596
SNMPv2-SMI::enterprises.54321.1.2.5 = INTEGER: 60
Now, this doesn't help anyone that doesn't have a list of these OIDs and their meaning.
So, I'd like it to look like this:
number of udp connections = INTEGER: 0
number of tcp connections = INTEGER: 1
number of users connected = INTEGER: 1
Total connected so far = INTEGER: 1
blah blah blah blah = INTEGER: -1
...
1. Can this be done?
2. How ??
Thank you, Dave
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.