Skip to content

Unable to modify existing trap handler #62

@manfredw

Description

@manfredw

Get debug logs

no specific debug logs (level trace or ALL) found.

Describe the bug

Instead of updating the handler the following red error message appears:
"Error : count(): Parameter must be an array or an object that implements Countable"
I was not able to identify all JS/PHP scripts involved in this procedure.

To Reproduce

Open any existing handler and press "Update" button.
Opening of handler takes some time (3-5sec), if I use hostgroups, it also takes additional time until
service names (for hostgroups) are shown. The previous used director version 1.04 which worked.

Expected behavior

Update rule without error message.

Your Environment:

  • trapdirector version (in icinga web 2 : System - About): 1.06
  • Icinga Web 2 version and modules (in icinga web 2 : System - About): 2.9.3
  • Icinga 2 version (icinga2 --version): 2.13.1
  • Operating System and version: Linux openSUSE 15.2
  • Webserver, PHP versions: apache2, php 7.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions