Ad Widget

Collapse

Problem with total CPU utilization %

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • deeper
    Junior Member
    • Apr 2025
    • 7

    #1

    Problem with total CPU utilization %

    Hi all,
    Is this a server issue or a issue arises from an incorrect formula?
    type calculated key total.cpu.utilization.percent formula is avg(last_foreach(/V1/system.cpu.util[*]))
    Trigger is max(/V1/total.cpu.utilization.percent,{$CPU_UTIL_TIME})>={ $CPU_UTIL_MAX} and max(/V1/total.cpu.utilization.percent,{$CPU_UTIL_TIME})<=1 00
  • bbonno
    Junior Member
    • Apr 2025
    • 22

    #2
    That graph of yours has crazy spikes in it, so some of your input values are off. Check the latest data for all your /V1/system.cpu.util[*] items. They should all values between 0 and 100, and have '%' as the unit.

    Comment

    • deeper
      Junior Member
      • Apr 2025
      • 7

      #3
      Click image for larger version

Name:	Screenshot 2025-04-15 at 11-09-38 Zabbix Main Configuration of items.png
Views:	192
Size:	301.8 KB
ID:	501861
      They all have the same problem
      Click image for larger version

Name:	Screenshot 2025-04-15 at 11-18-31 Zabbix Main Configuration of items.png
Views:	179
Size:	75.4 KB
ID:	501862
      tried to process values ​via JavaScript
      Click image for larger version

Name:	Screenshot 2025-04-15 at 11-21-57 Zabbix Main History refreshed every 30 sec.png
Views:	181
Size:	158.9 KB
ID:	501863

      Comment

      • bbonno
        Junior Member
        • Apr 2025
        • 22

        #4
        Wait, you are using system.cpu.util on SNMP agent items?! I think it's undocumented that it gives data at all when not used on Zabbix Agent items.

        That said, good job in the scripting. The remaining data looks reasonable.

        Comment

        • deeper
          Junior Member
          • Apr 2025
          • 7

          #5
          SNMP agent items?! I
          right, ill check it
          thanks

          Comment

          Working...