Safe Haskell | None |
---|---|
Language | Haskell2010 |
- checkEkg :: NagiosPlugin ()
- checkEkg' :: ByteString -> NagiosPlugin ()
Documentation
checkEkg :: NagiosPlugin () Source
Run the check against the EKG endpoint specified on the command
line. Terminate according to the
plugin development guidelines -
OK
if we retrieve and successfully parse a result, otherwise
CRITICAL
.
checkEkg' :: ByteString -> NagiosPlugin () Source
Version of checkEkg
which takes a ByteString
rather than
requesting it from an EKG endpoint.