trapdirector icon indicating copy to clipboard operation
trapdirector copied to clipboard

Unable to create a trap handler due to missing hosts/hostgroup

Open mtridici opened this issue 4 years ago • 1 comments

Main question

I'm trying to create my first trap handler starting from a received trap, but I'm not able to insert the host or host group name. The error is always the same: invalid hostname (hostid) or invalid hostgroup. I created 2 hosts named das1 and das2 with IP addresses 1.1.1.1 and 1.1.1.2. I'm receiving correctly the traps from these IPs, but I can't create a trap handler.

Could you please help me to understand if I can fix this issue?

My Environment

If related to the question in any way :

  • trapdirector 1.0.6 (in icinga web 2 ):
  • Icinga 2 version (icinga2 --version): 2.8.2
  • Operating System and version: CentOS 7.9
  • Webserver, PHP versions: Apache 2.4.6.97, PHP 7.3
  • Loaded modules

Name | Version director | 1.8.0 doc | 2.8.2 incubator | 0.6.0 ipl | v0.5.0 monitoring | 2.8.2 reactbundle | 0.9.0 trapdirector | 1.0.6

mtridici avatar Jun 08 '21 01:06 mtridici

You may have to wait some seconds until the trapdirector has looked up the hosts matching the string that you entered. Did you try that already?

Tqnsls avatar Jun 29 '22 12:06 Tqnsls