CheckUpTime

This check checks the uptime of a server and if the time is less then the times given as arguments a state is returned.

OptionValuesDescription
MaxCrittimeMaximum time the system is allowed to be up
MinCrittimeMinimum time the system is allowed to be up
MaxWarntimeMaximum time the system is allowed to be up
MinWarntimeMinimum time the system is allowed to be up
nsclient Flag to make the plug in run in NSClient compatibility mode
ShowAll Add this option to show details even if an error is not encountered.
AliasstringA string to use as alias for the values (default is uptime)

Examples

Check that the system has been running for at least a day:

 checkUpTime MinWarn=1d MinCrit=12h
 Client has uptime (19h) < warning (24h)