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

Zabbix Agent 2 (Windows): DebugLevel from included file is ignored

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Cannot Reproduce
    • Icon: Trivial Trivial
    • None
    • 7.0.19
    • Agent2 (G)

      *Environment:*

      • OS: Windows 11 (reproducible)
      • Product: Zabbix Agent 2 (Windows)
      • Zabbix Server reachable; active checks OK
      • Same behavior observed with the version referenced in ZBX-24918

      *Description:*
      `DebugLevel` set in an included configuration file under `zabbix_agent2.d` is ignored on Windows. The same approach works correctly on Linux.

      *Steps to Reproduce:*

      1. Install Zabbix Agent 2 on Windows 11.
      2. Create file:
      `C:\Program Files\Zabbix Agent 2\zabbix_agent2.d\windows.conf`
      3. Put the following content in the file:

         LogFileSize=0
         DebugLevel=5
         Server=X.X.X.X
         ServerActive=X.X.X.X
         Hostname=TEST
         

      4. Restart the “Zabbix Agent 2” service.

      *Actual Result:*

      • Agent restarts and connects to the Zabbix server with the correct `Hostname` (confirming the include file is read).
      • `DebugLevel=5` is not applied; the agent keeps default verbosity.

      *Expected Result:*

      • `DebugLevel=5` should be applied when defined in an included file on Windows, same as on Linux.

      *Additional Verification:*

      • On Linux, placing `DebugLevel=5` in `/etc/zabbix/zabbix_agent2.d/debian.conf` works correctly (include is read and debug level changes).
      • Tried also with the version in ZBX-24918 → same effect (debug level ignored on Windows).

      Best Regards
      TaKeN

            zabbix.dev Zabbix Development Team
            TaKeN Marek Krolikowski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: