Hmm... things are more complex, that I thought. My patch brokes data inputs returning several values.
So, I can only suggest this workarond-like patch. I hope it will not brake something else.
Search found 3 matches
- Fri Aug 05, 2005 7:23 am
- Forum: Feature Requests
- Topic: snmpget output parser
- Replies: 12
- Views: 6889
- Wed Aug 03, 2005 1:34 pm
- Forum: Feature Requests
- Topic: snmpget output parser
- Replies: 12
- Views: 6889
patch
Here is a patch, attached. As I understand, function strip_quotes only cut nonnumeric data at the end of the output. This adds cutting beginning stuff.
- Mon Aug 01, 2005 7:04 pm
- Forum: Feature Requests
- Topic: snmpget output parser
- Replies: 12
- Views: 6889
snmpget output parser
Hello. I've some managed switch which have Counter64 type of IF-MIB::ifInOctets.* instead of Counter32 and snmpget work like this: # snmpget -v 2c -c public 192.168.200.2 .1.3.6.1.2.1.2.2.1.10.5 IF-MIB::ifInOctets.5 = Wrong Type (should be Counter32): Counter64: 5600637353944 It appends "Wrong ...