-
Notifications
You must be signed in to change notification settings - Fork 8
Description
I'm trying to recieve snmp traps for APC devices but the plugin doesn't appear to be translating them. I haven't tried any other types of devices yet. APC is sending v1 traps. I opened the mib file in mibble browser and it loaded fine.
To install the plugin I used the rpm package graylog-plugin-snmp-0.3.0-1.noarch.rpm.
What I'm seeing in the Web interface:
message
SNMP trap 0
snmp_communicationLost
1.3.6.1.4.1.318.0.636
snmp_request_id
0
snmp_trap_type
V1TRAP
source
10.10.10.10
When I run snmptranslate from the command line using the APC powernet mibs:
snmptranslate 1.3.6.1.4.1.318.0.636 -m /usr/share/snmp/custommibs/powernet423.mib.txt
PowerNet-MIB::apcTestTrap
The APC powernet mibs had an issue orginally and wouldn't load. I followed the directions at http://www.apc.com/us/en/faqs/FA235916/ and they appear to load fine now.
Server log shows:
2017-09-21T09:18:00.556-04:00 INFO [InputStateListener] Input [Syslog UDP/58c04694e344fc369aed31e3] is now RUNNING
2017-09-21T09:18:00.563-04:00 INFO [InputStateListener] Input [Raw/Plaintext UDP/58e5245dfc29384a373ac05c] is now RUNNING
2017-09-21T09:18:12.653-04:00 INFO [SnmpCommandResponder] Initialize new SnmpMibsLoader (custom path: "/usr/share/snmp/custommibs")
2017-09-21T09:18:12.659-04:00 WARN [SnmpMibsLoader] Not a directory: /usr/share/mibs
2017-09-21T09:18:12.661-04:00 WARN [SnmpMibsLoader] Not a directory: /usr/share/mibs
2017-09-21T09:18:13.155-04:00 WARN [SnmpMibsLoader] Error parsing MIB file: /usr/share/snmp/custommibs/2/Cumulus-Counters-MIB.txt
- a symbol 'portName' already present in the MIB
System information:
Graylog 2.2.3
Java Oracle Corporation 1.8.0_141
Kernel 3.10.0-514.26.2.el7.x86_64)
Centos 7