Zabbix. Task. Windows reboot monitoring
Версия от 11:23, 7 октября 2023; Cless (обсуждение | вклад) (Новая страница: «== Create Item for Windows Host == '''key:''' uptime_chk '''OID''': sysUpTimeInstance '''numeric''' '''decimal''' '''units''': uptime<blockquote>Uptime counts...»)
Create Item for Windows Host
key: uptime_chk
OID: sysUpTimeInstance
numeric
decimal
units: uptime
Uptime counts in timeticks (1/100 of second) So, as a result, uptime will be written to the DB in seconds
custom multiplier: 0.01
Update interval: 0
Flexible intervals: 60 6,23:30-23:35 (on Saturdays from 23:30 to 23:35)
Create trigger
If we have uptime more than 24 hours (60*60*24=86400 seconds), then reboot hasn't held
Saturday reboot hasn't held
{winserv_template:uptime_sunday_check.last(0)}>86400