Re: changing the ipAdEntAddr and ifPhysAddress entry order

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Mon, 2006-02-20 at 20:35 +0100, Taner mehmetali wrote:
> These are scalar objects and i used the mib2c.scalar.conf to generate the
> template code 

> I get the error that the Object i implement is not in the agent
> 
> snmpget -v1 -cpublic 192.168.2.101 npIpxGetUnitCfgResp2.1

If these are scalar objects, then the only valid instance is 0.
Try
    snmpget -v1 -cpublic 192.168.2.101 npIpxGetUnitCfgResp2.0


A GET request on  someScalar.1 will *never* work.


> i solved the problem with the code of npIpxGetUnitCfgResp2
> but i get a Hex-string value intstead of a string value.

Well, if the MIB definition of npIpxGetUnitCfgResp2 includes
a DISPLAY-HINT clause, the tools will use that to control
how to display the results.  Otherwise they have to guess.

If the value looks like a printable string, it should be
displayed as such.  Otherwise, it will be displayed in hex.

What is the value that you are seeing?

Dave


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
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.