well well well.it all worked for me. thanks a lot for the help.I need another
help, how to create a tabular object (CR) using snmpset command. I think i\'ve
to do something with rowStatus. But not having the proper idea about that.
could u help me in this regard also.On Mon, 22 Oct 2007 14:04:45 +0100 \"Dave
Shield\" wrote On 22 Oct 2007 12:36:27 -0000, girish wrote: > Well I\'ve
defined NNN as 32 already. Fair enough (though that wasn\'t in the code you
posted). > Now I
tried using > netsnmp_check_vb_type_and_max_size but still the error is
> there. You definitely want to use \'max_size\' rather than \'size\',
since the string \"girish\" isn\'t 32 characters long. > I doubt
whether the command which I\'m using is correct or not. > snmpset -v 3 -u
myuser -l authNoPriv -a MD5 -A my_password localhost > UserLabel.1 s girish
That command looks OK (assuming the passwords are r
ight, etc). And if you\'re getting the error \"wrongLength\", then it\'s
certainly accepting these credentials. (Otherwise it wouldn\'t get that
far). No - that particular error fits with the code you had before. I
strongly suspect that the subagent that you are running is still using the
\'netsnmp_check_vb_type_and_size()\' call. Try cleaning your system to
remove any trace of your subagent, and query the master agent to confirm that
it isn\'t serving requests for your MIB. Then recompile your subagent
(using the max_size call), and start it up again. Dave
------------------------------------------------------------------------- This
SF.net email is sponsored by: Splunk Inc. Still grepping through log files to
find problems? Stop. Now Search log events and configuration files using AJAX
and a browser. Download your FREE copy of Splunk now >>
http://get.splunk.com/ _______________________________________________
Net-snmp-users mailing lis
t [email protected] Please see the following page to
unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Regards,
Girish
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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