#169 snmpset should honour DISPLAY-HINTS

open
nobody
None
5
2012-11-08
2011-05-23
Dave Shield
No

From Giuseppe Mudugno (users list - 19 May)

I have a private MIB with an INTEGER OID with DISPLAY-HINT "d-1" and UNITS "V".
It means that the value 123 is shown (by snmpget or other managers) as "12.3 V".

It should be nice if I can use the same format also for SET requests to the agent. So I'd like to write:

snmpset -v2c -c private agent PRIVATE-MIB::myVar.0 = 23.4V

to send to the agent the request to set a the new value 23.4V for myVar. On the wire, the value should be the integer 234.

Is it possible? I tried, but without success.

Discussion