Ad Widget

Collapse

Getting snmp traps working with zabbix 2.2.12

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Linwood
    Senior Member
    • Dec 2013
    • 398

    #16
    I am a bit confused what script you mean.

    Is snmptrapd actually receiving the trap? I'd start there, you can run it manually (stop the service first) and see what it receives (I think it's -d but there's a man page at the net-snmp site).

    If you're looking at router logins, are you sure they are being sent? IOS has a confusing aspect there, there's CLI that looks like it will send traps, but it will not. You have to configure syslog to be sent as traps, and then either take it all, or configure the specific message to be sent. But I'd start with just taking it all to make sure the trap comes through.

    The only script I really changed here is the receiving perl script that comes with zabbix, and I changed it to delete lines coming from smnptrapd, not to add anything or change how it works, so that's not going to be helpful (I just delete specific common lines like uptime I don't want in the trap data).

    Comment

    • zabbixfk
      Senior Member
      • Jun 2013
      • 256

      #17
      Getting snmp traps working with zabbix 2.2.12

      @Linwood - Thanks for the reply. Yes i meant the perl script which you modified.
      I am having tough time in getting router traps ( juniper), will need to figure out how to get out traps from it.

      Thanks

      Comment

      Working...