What would be the easiest way to create an inverted hostalive

you could write a bash wrapper for check_ping that inverts the exitcode
if exitcode != 0 => exit 0
else exit 1

1 Like