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

CPU utilization in negative numebrs...

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 6.2.2
    • Templates (T)
    • Zabbix 6.2.2
      Centos 9 Stream
      PHP 8.0.20 (fpm-fcgi) (built: Jun 8 2022 00:33:06)

      Steps to reproduce:

      1. Add host Dell EMC Isilon
      2. Add original SNMP Linux template
      3.  

      Result:
      I get CPU utilization in negative numbers.

      Expected:
      I expect to see the CPU Utilization in positive real numebers.

       

      I have fount the problem.
      The problem is that the CPU Idle from which ist CPU Utilization depending is higher then 100. So I get it from Linux devices over SNMP.

      Now is there this Java preprocesing:
      Code:
      return (100 - value)
       

      I tried to use the Abs() function but I will not get a correct result, only it will be always positive.

            zit Zabbix Integration Team
            Alfista Peter Danko
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: