>>>>> On Thu,  7 Oct 2004 14:40:11 -0300, "Vinicius Akiyama" <[EMAIL PROTECTED]> said:

Vinicius> I'm trying to extend the agent, and my MIB has some integer
Vinicius> and octet string objects. It's only to store some values set
Vinicius> by hand (snmpset), not going to acquire them automatically.

Vinicius> I've followed the example (scalar_int) to create my integer
Vinicius> objects
Vinicius> (netsnmp_register_int_instance) and it worked fine. But I've got
Vinicius> problems to create the octet string objects.

You need something different for strings.   You'll need to use
something like the netsnmp_register_scalar function instead.

-- 
Wes Hardaker
Sparta


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to