Data from ps1. scripts is not reaching Zabbix server

XMLWordPrintable

    • Type: Problem report
    • Resolution: Commercial support required
    • Priority: Trivial
    • None
    • Affects Version/s: 6.0.42
    • Component/s: Agent (G), Server (S)
    • None
    • Environment:
      Docker instance of zabbix server with version 6.4.21, zabbix agent v 6.0.42 mostly and is always ran on windows machines

      Steps to reproduce:{}

      1. Create a UserParameter with a powershell script ( We are trying to monitor touchscreen and printer status and collect some system data, most of the time we see this problem in a printer script )
      2. Some UserParameter items work just fine, and some seem to work ( no "unsupported" errors or anything like that ) and some are empty, with no data in them

      Result:
      We get an item that works perfectly fine on one machine but sends no data on another. They've got the same server without proxies or encryption, machines got similar specs and identical configs for agent, spare the hostname. Yet, on "dev-ops" host we get no data and on q-systems host everything works just fine

      There is no errors in the logs even with DebugLevel = 4 enabled, but dev-ops host sometimes falls into the timeout error on the server, most of the time it works fine

      Config for both of them is almost default

      These are the only changed values. I tried to increase timeout for scripts execution in server configuration, but it didn't really changed anything
      i've attached the scripts ( one of printer ones is adapted for win 7 )

       

        1. zabbix_agentd.log
          49 kB
        2. TouchScreen.ps1
          2 kB
        3. screenshot-3.png
          screenshot-3.png
          54 kB
        4. screenshot-2.png
          screenshot-2.png
          22 kB
        5. screenshot-1.png
          screenshot-1.png
          17 kB
        6. PrinterDeviceWin7.ps1
          3 kB
        7. PrinterDevice.ps1
          2 kB
        8. image-2025-11-27-11-58-34-813.png
          image-2025-11-27-11-58-34-813.png
          23 kB
        9. image-2025-11-27-11-04-22-646.png
          image-2025-11-27-11-04-22-646.png
          13 kB
        10. image-2025-11-27-11-04-20-529.png
          image-2025-11-27-11-04-20-529.png
          13 kB
        11. image-2025-11-27-11-00-30-619.png
          image-2025-11-27-11-00-30-619.png
          14 kB
        12. image-2025-11-25-10-46-39-180.png
          image-2025-11-25-10-46-39-180.png
          89 kB
        13. image-2025-11-25-10-45-43-369.png
          image-2025-11-25-10-45-43-369.png
          89 kB

            Assignee:
            Zabbix Support Team
            Reporter:
            Andrey Kiseev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: