Ad Widget

Collapse

Creating a template for monitoring system uptime on servers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pawel.struczyk
    Junior Member
    • Jul 2022
    • 8

    #1

    Creating a template for monitoring system uptime on servers

    Hello

    I'm new here and I need your help.
    I would like to create a template or add a trigger to an instant template that will monitor system uptime on servers. If the server will be up for more than 30 days, I would like a message that the server needs to be restarted.

    Do you have any ideas?​
  • Zablab
    Junior Member
    • Jan 2022
    • 28

    #2
    There is a built in system.uptime key in the Windows by Zabbix Agent template, or you can make a new key called system uptime and the key is system.uptime - https://www.zabbix.com/documentation...l/config/items

    Then make a trigger something like:

    last(/Template/system.uptime)>30d

    That should get you a basic trigger and can get more complex from there.

    Hope that helps!


    Comment

    • pawel.struczyk
      Junior Member
      • Jul 2022
      • 8

      #3
      There is actually such a key in this template.

      You helped me, thank you.​

      Comment

      Working...