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

JS Preprocessor giving different results than the actual preprocessor

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 7.4.3, 7.4.4
    • Agent2 (G), Server (S)
    • None
    • Zabbix Server 7.4.4
      Zabbix Agent2 7.4.4
      Zabbix Proxy 7.4.4
      Custom plugins
      Red Hat 9.6

      Special Notes: The RPM attached is specifically designed for RHEL 9.4-9.6. It is untested in all other distros and versions not explicitly listed.{}

      Steps to reproduce:

      1. Install the attached RPM file (you may need our GPG key, also attached)
      2. Ensure Zabbix Agent2 loads the plugin.
      3. Install and onboard Azure Arc to a test (Azure) tenant.
      4. Import the attached template to Zabbix. Add your host to it.
      5. Check the unprocessed data and copy it to a notepad file.
      6. Check the processed item return and copy it to a notepad file.
      7. Copy the unprocessed data -> Data Collection -> Azure Arc Connectivity Check Processed -> Preprocessing -> JavaScript -> Test All Steps.
      8. Paste the unprocessed data. Validate that the resultant data is valid JSON (jsonformatter.com)
      9. Copy the processed data from step #6 into a diff checker against the information returned in step #8.
      10. ...

      Result:

      See log file...
      See memory dump...
      Expected:
      The data should be identical.

        1. zabbix-agent2-plugin-azcmagent-1.0.0-1.el9.x86_64.rpm
          1.31 MB
          Michael Redbourne
        2. RPM-GPG-KEY-Bulletproof.txt
          3 kB
          Michael Redbourne
        3. Azure Arc by Zabbix Agent.yaml
          23 kB
          Michael Redbourne
        4. image-2025-11-02-19-55-08-752.png
          36 kB
          Michael Redbourne

            zabbix.support Zabbix Support Team
            MRedbourne_BR Michael Redbourne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: