Contributed by tbert on from the we-have-ways-of-making-you-walk dept.
Reyk Floeter has committed support for SNMP queries for snmpctl(8)
Hi, I just committed a simple SNMP client implementation to snmpctl/snmpd. You can use it as an in-tree alternative to net-snmp's snmpwalk/snmpget. Examples: $ snmpctl walk 127.0.0.1 $ snmpctl walk printer.my.domain version 1 oid printerWorkingGroup $ snmpctl -n walk 203.0.113.240 oid ifMIB community "blah" Limitations: - no SNMPv3/USM support yet - no bulk support yet (bulkwalk) - not so many fancy options. snmpd does not support loading of external MIB files, so you have to use net-snmp if you want to load additional MIBs for the symbolic name parsing. snmpctl only shows symbolic names there are found in snmpd's mib.h. Testing welcome, especially with non-snmpd(8) agents. Reyk
Since the initial commit, several subsequent commits have been made, notably implementing the snmp bulk walk command. As always, testing is essential to assure the quality of the coming release.
(Comments are closed)
By Anonymous Coward (195.178.181.120) on
Comments
By Anonymous Coward (108.60.37.203) on
well...eventually. or hacking mib.h