Trap Handler implementation doesnt work

Hello guys and have a wonderful day :slight_smile:

I have a little problem that I haven’t gotten anywhere for a while.
But first briefly about the situation

I currently monitor different hardware and software in different networks with different IP address ranges (VLANs)
I installed Icinga2 and IcingaWeb2 on my master.

System information MASTER:
Platform: Ubuntu
Platform version: 18.04.4 LTS (Bionic Beaver)
Kernel: Linux
Kernel version: 4.15.0-112-generic
Architecture: x86_64

Icinga2: (Version: r2.11.4-1)
IcingaWeb2: (Version: 2.8.1 GitCommit: 233bd29e4104125b4e5ef631e8c16dde33dadd9a)

On the master I have defined different zones (one zone per network or VLAN),
each of these has its own folder in which the hosts / endpoints are configured.
Checks are initialized globally and assigned to suitable hosts via “assign where”
So far, this has all worked without any problems.

In the networks there is now a VM running Icinga2 as a satellite.
The satellites are configured in such a way that they synchronize with their parents

Accept config from parent node? [y/N]: y
Accept commands from parent node? [y/N]: y

System information SATELLITE:
Platform: Ubuntu
Platform version: 18.04.5 LTS (Bionic Beaver)
Kernel: Linux
Kernel version: 4.15.0-29-generic
Architecture: x86_64

Icinga2 (Version: r2.12.0-1)
IcingaWeb2 (Version: 2.8.2 GitCommit 8a89839af94a247ee2149b2336c73b8251b477c0)
Module director 1.7.1 / doc 2.8.2 / incubator 0.5.0 /
ipl v0.5.0 / monitoring 2.8.2 / reactbundle 0.7.0 / trapdirector 1.0.5b

Now I have also successfully installed IcingaWeb2 on a satellite and configured it so
that you can log in with new users (not those from Master-IcingaWeb2)
and only see the hosts / checks that are also assigned to this zone of the satellite. That’s working.

Now to my problem :smiley:
I also want to receive snmp traps in this network, which is why I installed the Icingaweb2 Trap Director.
After a successful configuration I received the first trap and “tried” to build a trap handler from it.
For this I have created a dummy service with a dummy check command.
However, the received traps are not recognized by the defined handlers and therefore do not switch any checks / services to OK / WARN / CRIT

What can I do to make it work?

If something is missing in information I will gladly submit it later :sweat_smile:

Hi Stefan!
You’re putting me in a bit of a sticky situation here. :slightly_frowning_face:
We have the rule, that we want all communication on the forum to be in English, so it stays accessible to all.
I do see that you went through the trouble of translating your original comment, and I appreciate that. :slight_smile:

Having German text up there might help bring across your point but I am afraid that it will encourage other users to reply in German, which will lead to others not being able to understand what’s going on.

That’s why I would like to ask you to remove the German text and stick with English in the forum.

Thank you very much!
Feu

1 Like