Ad Widget

Collapse

Display Time when the Zabbix agent was last rebooted

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • k122028
    Junior Member
    • Jan 2020
    • 1

    #1

    Display Time when the Zabbix agent was last rebooted

    Hi, I am using Zabbix LTS version and Ubuntu 18.04. my Agency is also using Ubuntu 18.04.
    I need to display time when the agent was last rebooted. I can not seem to define triggers which give a warning when the agent was rebooted.
    I hope I can get an easy solution here, Thanks in advance!
  • 1berto
    Senior Member
    • Sep 2018
    • 182

    #2
    You can check the documentation for a native way to do this, but you can achieve it with:
    ps -eo pid,lstart,cmd | grep zabbix-agentd

    Comment

    Working...