-
-
Save indigo423/4a7f81dd39aa3269e462b2e4129fba6c to your computer and use it in GitHub Desktop.
| 1.3.6.1.2.1.7526.2.1.1 = INTEGER: 68308908 Rx Bytes Integer The total number of bytes received | |
| 1.3.6.1.2.1.7526.2.1.2 = INTEGER: 391350 Rx Packets Integer The total number of packets received | |
| 1.3.6.1.2.1.7526.2.2.1 = INTEGER: 80599243 Tx Bytes Integer The total number of bytes sent | |
| 1.3.6.1.2.1.7526.2.2.2 = INTEGER: 348929 Tx Packets Integer The total number of bytes sent | |
| 1.3.6.1.2.1.7526.2.3.1 = INTEGER: 1 Registration Integer Registration status of registration x (1..12) (works with v6.5 or newer) | |
| 1.3.6.1.2.1.7526.2.4 = STRING: "snomD375-SIP 8.9.3.60 2010.12-00003-g3143800" Firmware & U-Boot Version String The currently used firmware & uboot version (for example, “snom 360-SIP 3.60d 113-m”) | |
| 1.3.6.1.2.1.7526.2.5 = INTEGER: 1 Registrations Integer The number of registrations on the phone | |
| 1.3.6.1.2.1.7526.2.6 = INTEGER: 20 Calls Integer The number of successful and unsuccessful calls | |
| 1.3.6.1.2.1.7526.2.7 = STRING: "91336" Memfree Integer The free memory on the phone | |
| 1.3.6.1.2.1.7526.2.8 = STRING: "5 days, 18 hours, 4 minutes" Uptime String The running time of the phone | |
| 1.3.6.1.2.1.7526.2.9 = STRING: "5.02 5.01 5.00 1/66 661" CPU load average String The CPU load average of last 1min., 5min. and 15min. (> V8.2.6) | |
| 1.3.6.1.2.1.7526.2.10 = STRING: "used: 59408 free: 63388 cached: 27948 lid: 0 lcs: 64404" Meminfo String Info about memory: used, free, cached, lid (phone lowlevel app.), lcs (phone highlevel app.) (> V8.2.6) | |
| 1.3.6.1.2.1.7526.2.11 = STRING: "5 days, 18 hours, 4 minutes" LCS Uptime String The running time of the phone highlevel application (> V8.2.6) | |
| 1.3.6.1.2.1.7526.2.12 = STRING: "in: 8 out: 27" Packets String The incoming and outgoing messages (> V8.2.6) | |
| 1.3.6.1.2.1.7526.2.13 = STRING: "con: 0 http: 0 https: 0 xml: 0" Connections String The connections (> V8.2.6) | |
| 1.3.6.1.2.1.7526.2.14 = STRING: "timeouts: 60" Timeouts String The number of timeouts running (> V8.2.6) | |
| 1.3.6.1.2.1.7526.2.15 = STRING: "sub: 2 dialog: 0 www: 0" Subscriptions String The subscriptions (> V8.2.6) |
The memfree is documented as an Integer but written as a String and to make it worse encapsulated with "
#L9
Documentation from: http://wiki.snom.com/Category:HowTo:SNMP
We have TimeTicks to represent system uptime:
7.1.8.
TimeTicks
The TimeTicks type represents a non-negative integer which represents
the time, modulo 2^32 (4294967296 decimal), in hundredths of a second
between two epochs. When objects are defined which use this ASN.1
type, the description of the object identifies both of the reference
epochs.For example, [3] defines the TimeStamp textual convention which is
based on the TimeTicks type. With a TimeStamp, the first reference
epoch is defined as the time when sysUpTime [5] was zero, and the
second reference epoch is defined as the current value of sysUpTime.The TimeTicks type may not be sub-typed.
#L10
Ridiculous? Why do I have to parse your custom String when we have data types like Integer, Gauge or Counter. Similar to Net-SNMP for Linux, scalar for each load average value (1, 5, 15) multiplied by 100.
The docs don't describe what 1/66 661 means. The whole rest of the output is the same thing. If you need human readable Strings for some weird internal usage, provide them additionally in your private MIB but don't force external systems to parse your weird stuff.
#L11-15
Please, please !!! implement SNMPv 2c/3 and not just a poor version of SNMP version 1 which only allows snmpget requests and no possibility to walk through the tree.
Why is this duplicated with standard MIB which gives a place for this type of information?
#L1-L4