7 lines
386 B
Text
7 lines
386 B
Text
|
|
# Liveness has no test to run: the fact that this script executed at all is
|
||
|
|
# the signal. What proves the host is alive is the PUSH arriving at Gatus,
|
||
|
|
# and what detects the host being dead is the heartbeat window expiring with
|
||
|
|
# no push. So this always succeeds - the reporting is the check.
|
||
|
|
MESSAGE="up since $(uptime -p 2>/dev/null || echo unknown)"
|
||
|
|
return 0
|