Questions tagged [snmptrapd]

3 questions
1
vote
1 answer

linux snmptrapd, how to write to a custom log file, or execute a custom command

Ubuntu 18.04 and 20.04, snmptrapd, versions around 5.7.3. Trap events go into syslog. Great. How can you make the log files go to a custom location besides syslog? logoption or logOption as seen in many internet answers and tutorials does NOT work…
user145837
  • 371
  • 5
  • 18
0
votes
1 answer

Why CISCO-ERR-DISABLE-MIB trap does not show interface and vlan information in Icinga?

I have a cisco and a monitoring server with icinga (a.k.a. nagios, thruk). I want to receive traps from cisco and show them in icinga. But I am unable to see the interface and vlan for the errdisable trap. I have downloaded mibs from cisco,…
Ashark
  • 326
  • 1
  • 7
  • 18
0
votes
1 answer

using syslog-ng to parse snmptrapd - not keeping up

(centos 7.x) I have syslog-ng setup to parse snmptrapd messages so I can format them for later digestion. The issue is that syslog-ng only outputs the n-1 message. IE if there are 10 lines in snmptrapd.log syslog-ng only outputs 9 lines. If I send a…
ethrbunny
  • 2,369
  • 4
  • 41
  • 75