SNMP traps going to /var/log/messages file?
Posted: Thu Feb 28, 2019 5:05 pm
Hello,
I'm running v5.5.10, 64-bit, VM, CentOS 7.
I set up a server to send SNMP alerts, and it all seemed to work. Recently, I have seen SNMP alerts, from the same server, that end up in the /var/log/messages file.
I think thats because I have not configured those alerts to be caught by SNMPTT.
Is there a way to suppress SNMP alerts from getting into the messages file?
Feb 28 15:14:50 xihost.mydomain snmptrapd[5964]: 2019-02-28 15:14:50 server2.mydomain [UDP: [10.xxx.xxx.xxx]:59229->[128.xxx.xxx.xxx]:162]:#012DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (139621520) 16 days, 3:50:15.20#011SNMPv2-MIB::snmpTrapOID.0 = OID: SNMPv2-SMI::enterprises.9.9.156.2.0.3#011SNMPv2-SMI::enterprises.9.9.156.1.10.1 = INTEGER: 7#011SNMPv2-SMI::enterprises.9.9.156.1.10.4 = Gauge32: 1
Earl
I'm running v5.5.10, 64-bit, VM, CentOS 7.
I set up a server to send SNMP alerts, and it all seemed to work. Recently, I have seen SNMP alerts, from the same server, that end up in the /var/log/messages file.
I think thats because I have not configured those alerts to be caught by SNMPTT.
Is there a way to suppress SNMP alerts from getting into the messages file?
Feb 28 15:14:50 xihost.mydomain snmptrapd[5964]: 2019-02-28 15:14:50 server2.mydomain [UDP: [10.xxx.xxx.xxx]:59229->[128.xxx.xxx.xxx]:162]:#012DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (139621520) 16 days, 3:50:15.20#011SNMPv2-MIB::snmpTrapOID.0 = OID: SNMPv2-SMI::enterprises.9.9.156.2.0.3#011SNMPv2-SMI::enterprises.9.9.156.1.10.1 = INTEGER: 7#011SNMPv2-SMI::enterprises.9.9.156.1.10.4 = Gauge32: 1
Earl