-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi everyone,
I'm building a subagent and it need to read some values from snmp server
itself. There's a way to get a value from the same tree without the need
of creating a snmp session as shown in snmpdemoapp.c? What I need is
something like:

int read_value_from_oid(oid * location,
                        size_t location_len,
                        netsnmp_variable_list *result);

so I can get result->val

Or may someone point me to some docs for doing this? Any help will be
appreciate, thanks for your work and your time.

Andrea Agosti
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJLctgSAAoJEEGDEvtXdEoQYWcH/ias0tGEubYn8ZW8SXd6Kuwj
vzqCpWUSrsBwmdutUOxR4GDWvkoXb7W4WD2Sug2Mc76UohbgLqcWkPHOTId2E+g9
zheM6qosiV3cpEDWPGIA7QKUpTkX2EASLnld894CRGTMov59AAS6xCXob0afDZrS
SVPKCdqwxxUlP2lV030+pUndch9u/R7LLDnkeRrh+x2gTDAZFXrGVp6OuWQJRjW2
VaKKP2mg9UhrkhM1Zv7bza77PBh41SUflFsg1gchxWC/vRLJs17LinN8EjjA5Qsy
yNEJvLywwbux8umeDutlW1R2ps93heD1h+OMS4aE65zv24sGuHLdnJNWIaAu0g4=
=p5FH
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to