Ad Widget

Collapse

system.uptime variable in email alert

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TeeJay13
    Junior Member
    • Mar 2025
    • 8

    #1

    system.uptime variable in email alert

    Currently we have an email alert message having system.uptime
    Code:
     ({?last(/{HOST.HOST}/system.uptime)} )
    I get this pulls from the DB which is in seconds but for the life of me the past few days i can't figure out how to convert this into d/h/s like how it shows up in Zabbix.

    Zabbix Version: 7.2
    OS: Ubuntu
    OS Version: 24.04 Noble
    Zabbix Component: Server, Frontend
    Web Server: Apache
    Last edited by TeeJay13; 04-04-2025, 16:05.
  • vijayk
    Senior Member
    • May 2023
    • 305

    #2
    Can you please share what value is comes in item and what value you want?

    You can use Custom multiplier from preprocessing to convert the value. And use Unit = uptime in item.

    Comment

    Working...