snmpset and DISPLAY-HINT

"Giuseppe Modugno" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Elettronika S.r.l.
Message-ID <[email protected]>
Dear list,

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.

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.