RE: [Query] mib of type TransportAddress

<[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

 

There can be bugs in the agent code of mine but I want to know what
could be the reason for the peculiar behavior of the manager in the
display msg bcoz I newly observed that in the snmpset the display msg
shown is just a string display 

 

1) # snmpset -v2c  -c motrw 127.0.0.1 clSnmpBootstrapServerAddress.0 =
100874cf00a2

CNEOMI-LITE-BOOTSTRAP-MIB::clSnmpBootstrapServerAddress.0 = STRING:
"100874cf00a2"

 

2) # snmpset -v2c  -c motrw 127.0.0.1 clSnmpBootstrapServerAddress.0 =
100874cf00a2

CNEOMI-LITE-BOOTSTRAP-MIB::clSnmpBootstrapServerAddress.0 = Hex-STRING:
10 08 74 cf 00 a2

 

This has wonder strucking me

So even now the problem can be with the agent code or is this kind of
scenario is observed ever before?

If yes, then I will try to look into all the possibilities of scratching
my head to fix but if this mus be wrong in MIB file which must be
goofing or manager side them pls do let me know as I this can atleast
give me direction

 

Regards,

Sudhir P

 

 

 

 

-----Original Message-----
From: Wes Hardaker [mailto:[email protected]] 
Sent: Friday, July 14, 2006 6:52 PM
To: Sudhir Parisaboyina (WT01 - Broadband Networks)
Cc: [email protected]; [email protected]
Subject: Re: [Query] mib of type TransportAddress

 

>>>>> On Fri, 14 Jul 2006 10:49:15 +0530,
<[email protected]> said:

 

sudhir> I want to know what should I give as the type of my MIB is it

sudhir> 'x' or 's'? My MIB is of type TransportAddress which is of

sudhir> type octetString(0...255) as per the TransportAddress

sudhir> definition which is followed by my MIB.

 

TransportAddress is an octet string, as you mentioned, so that should

actually work just fine. 

 

sudhir> So what must be wrong there? Is it my agent's fault that is

sudhir> not able to capture the value under 'x' or I am wrong who is

sudhir> trying to set a value on a MIB of type 's'? I am confused

sudhir> here. Please help me.

 

It is definitely with your code.  But without looking at it (and even

if you had included it, I don't have the time at the moment anyway), I

can't determine what's going wrong.

-- 

Wes Hardaker

Sparta, Inc.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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.