Hi,

When I receive a trap I can send the 'snmptrapd' ouput to an application
that is configured in the snmpd.conf.

However there are traps where some member variables reference to OIDs. In
this case I have to make an 'snmpget' call for that mib variable.

Is it possible to get the clear result of the snmget command back to the
application?

My problem is that the mibs I use are not fully compilant but I only need
some part of them for my pusposes and it is fine, but 'snmget' prints some
error messages that appear in its output:

snmpget -v 2c -c AdminV2 207.134.162.186
EXFO-FIBERVISOR-MIB:pticalPathName.2

Undefined OBJECT-GROUP (tmnEventObjectNotificationGroup): At line 2064 in
/home/tpatai/net-snmp-5.3.1/mibs/FiberVisorMib.mib
Undefined OBJECT-GROUP (tmnEventStateNotificationGroup): At line 2063 in
/home/tpatai/net-snmp-5.3.1/mibs/FiberVisorMib.mib
Undefined OBJECT-GROUP (efdGroup): At line 2062 in
/home/tpatai/net-snmp-5.3.1/mibs/FiberVisorMib.mib
Undefined OBJECT-GROUP (uncontrolledTestNotificationGroup): At line 2061 in
/home/tpatai/net-snmp-5.3.1/mibs/FiberVisorMib.mib
Undefined OBJECT-GROUP (uncontrolledTestResultGroup): At line 2060 in
/home/tpatai/net-snmp-5.3.1/mibs/FiberVisorMib.mib
Undefined OBJECT-GROUP (uncontrolledTestRequestGroup): At line 2059 in
/home/tpatai/net-snmp-5.3.1/mibs/FiberVisorMib.mib
Undefined OBJECT-GROUP (alarmNotificationGroup): At line 2058 in
/home/tpatai/net-snmp-5.3.1/mibs/FiberVisorMib.mib
Undefined OBJECT-GROUP (alarmGroup): At line 2057 in
/home/tpatai/net-snmp-5.3.1/mibs/FiberVisorMib.mib
Undefined OBJECT-GROUP (tmnEventStateNotificationGroup): At line 234 in
/home/tpatai/net-snmp-5.3.1/mibs/ExfoEfdMib.mib
Undefined OBJECT-GROUP (tmnEventObjectNotificationGroup): At line 233 in
/home/tpatai/net-snmp-5.3.1/mibs/ExfoEfdMib.mib
EXFO-FIBERVISOR-MIB:pticalPathName.2 = STRING: Path East-West


Thanks
Tamas


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?p...rge&CID=DEVDEV
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders