Following my previous post about "snmpset and DISPLAY-HINT", I found 
the option -Ih that "disables the use of DISPLAY-HINT information 
when assigning values" (extracted from snmpcmd(1) man page).

So I think the default behaviour of snmpset is to take into account 
the DISPLAY-HINT, but it seems it doesn't work.

With DISPLAY-HINT "d-1", I tried to use the command
    snmpset ... MY-MIB::myVar.0 i 2.2
but no packet is transmitted and the error message
    MY-MIB::myVar.0:  (2.2)
appears.

On the contrary, if I use the command
    snmpset ... MY-MIB::myVar.0 i 22
it works.

Does the DISPLAY-HINT is taken into account only for OCTET-STRING 
variables and not for INTEGER with snmpset command?

------------------------------------------------------------------------------
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

Reply via email to