Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
| linux:snmp [2022/12/18 04:24] – admin | linux:snmp [2022/12/18 05:02] (current) – admin | ||
|---|---|---|---|
| Line 23: | Line 23: | ||
| snmpget -v 2c -On -c public 192.168.114.124 IP-FORWARD-MIB:: | snmpget -v 2c -On -c public 192.168.114.124 IP-FORWARD-MIB:: | ||
| + | # Only if you have mibs tree definition | ||
| snmptable -v 2c -c public 192.168.114.124 1.3.6.1.2.1.1.9 | snmptable -v 2c -c public 192.168.114.124 1.3.6.1.2.1.1.9 | ||
| - | # where you can add users mibs | + | # where you can add users mibs - https:// |
| snmptranslate -Dinit_mib .1.3 2>&1 |grep MIBDIR | snmptranslate -Dinit_mib .1.3 2>&1 |grep MIBDIR | ||
| # проверить работу словаря | # проверить работу словаря | ||
| snmptranslate -IR -On synoUPS | snmptranslate -IR -On synoUPS | ||
| + | |||
| + | -Td Print full details of the specified OID. | ||
| + | -Tp Print a graphical tree, rooted at the specified OID. | ||
| + | -Ta Dump the loaded MIB in a trivial form. | ||
| + | -Tl Dump a labeled form of all objects. | ||
| + | -To Dump a numeric form of all objects. | ||
| + | -Ts Dump a symbolic form of all objects. | ||
| + | -Tt Dump a tree form of the loaded MIBs (mostly useful for debugging). | ||
| + | -Tz Dump a numeric and labeled form of all objects (compatible with MIB2SCHEMA format) | ||
| + | |||
| </ | </ | ||
| * snmp good example https:// | * snmp good example https:// | ||
| </ | </ | ||
| + | |||
| + | |||