Snmp statistics - snmp_get_statistic does not work

"Joan Landry" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <A9FCB77F97940A418A61FD9BB71E4170A1C81B@dexbe012-6.exch012.intermedia.net>
 
I would like to know if there is a way to allow a sub agent to control
the object snmpEnableAuthenTraps while allowing the master agent to
respond to counters in the snmp_mib such as snmpInASNParseErrs.

I want to control the setting of the snmpEnableAuthenTraps in the
subagent but I need the other objects to be reported correctly by the
master agent.

If I take over the snmp_mib and use
snmp_get_statistic(STAT_SNMPINASNPARSEERRS)I get invalid data from
net-snmp. If I do not take over snmp_mib I can not register for
snmpEnableAuthenTraps.

Any ideas on getting this resolved would be appreciated.
Thanks

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.