Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-24159

OOB JS/Webhook (Media type) log level is not configurable through Parameters

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • None
    • 6.0.27, 6.4.12, 7.0.0beta1
    • Templates (T)
    • None

      Steps to reproduce:

      1. https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/media/event_driven_ansible/media_event_driven_ansible.yaml?at=release%2F6.4#189
      2. https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/media/event_driven_ansible/media_event_driven_ansible.yaml?at=release%2F6.4#197

      This is a rather small example.

      Result:
      If you want to enable log level printing at level 3 - you need manually modify every line with logging. Probably CTRL+F->replace can be used, but why to do this if it can be configurable?

      Expected:
      Use parameters for logging. Currently two levels used 3 and 4 for logging in default media type templates, so it should be at least two parameters for common logging and for debug.

            abiba Andrew Biba (Inactive)
            edgar.akhmetshin Edgar Akhmetshin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 4h
                4h