Hi, I'm trying to set up eventhandlers for some snmp traps. But somehow it seems like only trapandlers with numeric OID's are executed - the ones defined with the OID names from the MIB files aren't ecenuted...
E.g: traphandle .1.3.6.1.4.1.343.2.10.3.2.1.5.1.0.16 /usr/bin/tee -a /var/tmp/trap-info-server-health.txt | /bin/echo >>/var/tmp/trap.txt 'Server Health' traphandle INTELCORPORATIONBASEBOARD-MIB::trap1ForPowerSupply /usr/bin/tee -a /var/tmp/IntelServer | /usr/lib/nagios/eventhandlers/handle-intelserver-trap 256 The first line is executed without problems... The second line is never executed, event thoug the trap is received ?? The snmp trap daemon is started with parameters: /usr/sbin/snmptrapd -m ALL -s -u /var/run/snmptrapd.pid And the MIB files for the INTELCORPORATIONBASEBOARD-MIB::trap1ForPowerSupply is present.... Is there a quick way to get the INTELCORPORATIONBASEBOARD-MIB::trap1ForPowerSupply translated to a "pure numeric" oid - just to see if it really solves my problem ?? I'm using net-snmp package net-snmp-5.0.9-2.30E.6 on a WhiteBox Enterprise Linux 3.0 (a RedHat ES 3.0 clone) Any hints ?? /Brian ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ 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
