Icingaweb2 SNMP Trap module (receiver and handler)

snmp
snmp-trap
(Patrick) #1

Hi,

I’m starting a new project to receive & handle traps with these objectives :

  • only needs snmptrad from net-snmp to receive & handle traps
  • Icingaweb2 module to list received traps & configure rules
  • On trap received, push status to service(s) and host(s) depending on rules
  • Trap name resolution with ability to import and analyse vendor mibs

Project is hosted here : https://github.com/patrickpr/trapdirector

First beta release will occur during the month (I hope ! ), For now, it should work with standard installation, but a lot of features are missing.

Edit : First beta is out ! Try it and give me feedback.

Please report bugs here : https://github.com/patrickpr/trapdirector/issues

Feedbacks are welcome !

7 Likes
#2

Interesting!
That could make working with traps a bit easier or less complicated :slight_smile:

Not using it very often, but would give it a try

(Patrick) #3

First beta is out, with all working quite well - tried it on two different production architectures -.
Give it a try a send me feedbacks !

(Andreas Liesegang) #4

hi,

im use it on CentOS7…
when i run test_trap_v1.sh then i get a message from snmptrapd : [trap_class.php] : Exception trapped : [2019/02/28 17:26:18] [trap_class.php] : no trap oid found

What is the error?

(Patrick) #5

Hi,

The error means that the trapdirector trap receiver did not receive the oid that defines the trap from snmptrapd.

Check :

If it’s not the case, open an issue : https://github.com/patrickpr/trapdirector/issues

#6

Hi Patrick,
thanks for the trapdirector. I have installed it on Ubuntu 18.04 and for some reasons iam unable to add hosts.
I receive traps and snmptranslate works also fine but i cant add an handler without an host. Can you help here?

(Patrick) #7

Hi, please open an issue on github : I won’t be able to handle multiple persons reporting bug on a forum…

https://github.com/patrickpr/trapdirector/issues

(Patrick) #8

Hi,

I just release the first stable (hope so) release of TrapDirector

Install and send me feedbacks : here, on gitter (https://gitter.im/trapdirector/community), or open an issue if something isn’t working as it should.

Thanks for your feedbacks !

Patrick