Ad Widget

Collapse

Display durations with days as maximum unit

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Sebneu
    Junior Member
    • Jan 2015
    • 12

    #1

    Display durations with days as maximum unit

    Hi everyone,

    I have an item with the unit s (seconds). When shown in graphs or latest data the duration is displayed as 1M 4d 5h. I don't like durations shown in months since it is ambigious. A month can have 28 or 31 days - a difference of > 10%. Is there a way to tell zabbix to show durations as "35d 5h"?

    I am using 7.2.13

    Thanks for any help
    SebNeu
    Last edited by Sebneu; 14-10-2025, 18:23.
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4806

    #2
    Can you try with uptime as unit? I think it will not convert to months...
    s - seconds, displayed using up to three largest non-zero time units (881764 → 10d 4h 56m)
    uptime - elapsed time in hh:mm:ss or N days, hh:mm:ss (881764 → 10 days, 04:56:04)

    Comment

    • Sebneu
      Junior Member
      • Jan 2015
      • 12

      #3
      Thank you cyber!

      that did the trick!

      Comment

      Working...