Re: Command option -Ih

"Giuseppe Modugno" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Elettronika S.r.l.
Message-ID <[email protected]>
On 23 May 2011 at 8:53, Dave Shield wrote:
> > with snmpset command?
> 
> I haven't looked in detail, but I strongly suspect that display
> hints are only used for displaying the _results_ of a command.
> I very much doubt whether they are used for interpreting the
> value given to an "snmpset" command.

The snmpcmd(1) man page says the contrary:

-Ih
    disables the use of DISPLAY-HINT information when assigning  
    values. This would then require providing the raw value:
    snmpset ... HOST-RESOURCES-MIB::hrSystemDate.0

                        x "07 D2 0C 0A 02 04 06 08"
    instead of a formatted version:
    snmpset ... HOST-RESOURCES-MIB::hrSystemDate.0

                        = 2002-12-10,2:4:6.8 


> Yes - this would probably be a sensible addition,  but it will
> require someone to sit down and write the necessary code.

If I had the necessary skill to do that, I would sit down... :-)
Do you have some hints where and how to start?

> I've logged this as a Feature Request in the project tracker

Ok, thank you. I think this is a good feature to add to net-snmp.

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