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

system.uptime Item Key Not Working on Zabbix Agent 2

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 6.0.35rc1, 7.0.5rc1, 7.2.0alpha1
    • None
    • Agent (G)
    • None
    • Zabbix Agent 2 Version: v6.0.32
      Operating System: windows 10 pro 64bit 19045.3693
    • Prev.Sprint, S24-W38/39, S24-W40/41
    • 1

      Description:

      The system.uptime item key does not work when using Zabbix Agent 2 on a Windows machine. The command returns an error indicating that the counter path cannot be parsed. This issue does not occur with the original Zabbix Agent.

       

      Steps to Reproduce:

      1. Install Zabbix Agent 2 on a Windows machine.
      2. Open Command Prompt with administrator privileges.
      3. Navigate to the Zabbix Agent 2 installation directory.
      4. Run the following command:

      .\zabbix_agent2.exe -c .\zabbix_agent2.conf -t system.uptime

      Actual Result:

      • Command output:

      system.uptime                                 [m|ZBX_NOTSUPPORTED] [Unable to parse the counter path. Check the format and syntax of the specified path.]

       ** 

      Expected Result:

      • Command output:

      system.uptime                                 [m|SECONDS] [123456]

       

      Configuration Changes:

      • No changes made from default configuration.

       

      Additional Information:

      • This issue does not occur with the original Zabbix Agent using the same configuration and command.
      • Other item keys may or may not be affected. Further testing with other keys like system.cpu.load is recommended.

            MVekslers Michael Veksler
            joosep_19 Joosep
            Team B
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

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