Ad Widget

Collapse

SysUptime failed

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mfortes
    Senior Member
    • Oct 2019
    • 416

    #1

    SysUptime failed

    Hi,


    It has happened a few times here in my environment, of some machines accusing RESTART saying that their uptime has been reset. In the item SysUptime the machine is really with the Uptime reset, but when checking, the machines are with Uptime very high ... Is that a mistake? Do you have any other more reliable keys for this?

    Click image for larger version

Name:	2.PNG
Views:	194
Size:	1.5 KB
ID:	425455

    Click image for larger version

Name:	1.PNG
Views:	206
Size:	3.0 KB
ID:	425454


    Michael R. Fortes

    Linkedin: Mike Fortes
    Medium: mromeiro-f
  • Markku
    Senior Member
    Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
    • Sep 2018
    • 1781

    #2
    Hi, sysUpTime is a 32-bit counter and it starts again from zero at about 497 days.

    If you want to differentiate the wrapping case from a reboot, you can try adding an expression to the trigger so that it also checks if the previous value is not within some sensible short distance from the max value (2^32). The exact configration will of course depend on your actual current item and trigger configuration.

    Markku

    Comment

    Working...