Hi again, Thanks for the Update, I am really happy that my query was looked into J. But still
it’s half way as from agent side I am able to capture the value under a string
(u_char*) data type and I am able to persist, but if I give the same snmp set
cmd as hex-string following the display msg 1) snmpset -v2c -c motrw 127.0.0.1 clSnmpBootstrapServerAddress.0 x 0x100874cf00a2 CNEOMI- 2) snmpset -v2c -c motrw 127.0.0.1 clSnmpBootstrapServerAddress.0 x 0x00100874cf00a2 CNEOMI- Now with this kind of display msg on snmpset I am totally confused
& even more annoyed as I am not able to capture the hex value in any of
data variables but I see junk values in the same string (u_char* )data which
are getting modified when I change the values under ‘x’ type. I want to know what should I give as the type of my MIB is it ‘x’
or ‘s’? My MIB is of type TransportAddress which is of type
octetString(0…255) as per the TransportAddress definition which is followed
by my MIB. So what must be wrong there? Is it my agent’s fault that is not
able to capture the value under ‘x’ or I am wrong who is trying to
set a value on a MIB of type ‘s’? I am confused here. Please help
me. Regards, -----Original Message----- >>>>> On Wed, 12 Jul 2006 21:57:31 +0530,
<[EMAIL PROTECTED]> said: sudhir> But what value should Manager pass when he has to do a snmp sudhir> set on this? sudhir> For example: sudhir> # snmpset -v2c -c motrw 127.0.0.1
clSnmpBootstrapServerAddress.0 = sudhir> 100874cf00a2 sudhir> CNEOMI- sudhir> 00 00 00 00 00 00 00 00 00 00 00 00 Well, your snmpset command looked fine though I don't understand the MIB. Certainly the agent didn't accept the value and actually is doing something illegal (it should return an error if it doesn't like it, not return the current value or all zeros). You have a broken agent. -- 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 Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users