hi ..

i am a fresher, both to netsnmp as well as this
mailing list.

the problem i face is as follows:
i am trying to write a handler for a scalar of type
OCTET STRING. i created the template code from the mib
compiler as follows:

mib2c -c scalar.conf netSnmpfilename

then i made changes as suggested by the comments at
the appropriate places in the handler to handle
GET/SET requests.i compiled this with the
example-demon given on the netsnmp site.

THE PROBLEM:
-------------
when i try to do an snmpset on the above scalar it is
giving me the following error:

Error in packet.
Reason: resourceUnavailable (This is likely a
out-of-memory failure within the agent)
Failed object: NET-SNMP-MIB::netSnmp.2.5.2.0

 
Can anyone please tell me where i have gone wrong???
also to the best of my knowledge, unlike for scalar
inetgers, there are no pre-written handlers for string
scalars. in case there are any please let me know
where i can find them. 

regards,
Sharath


                
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - 250MB free storage. Do more. Manage less. 
http://info.mail.yahoo.com/mail_250


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
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

Reply via email to