Check_uptime reset counter after 50days


Hi All… probably this is not a new topic, but I was not able to solve the issue.

I am using check_uptime with NSCLIENT++ 0.5.2 to check the system reboot. Unfortunately on some windows machine the counter is resetting after 50 days. I read about a possible problem related to a Windows function GetTickTime that is 32bit long so after 50days it wrap around the counter. After that the check_uptime report a reboot !!

How to solve it ?

Thanks a lot