nagios-plugin-ekg-0.1.1.0: Monitor ekg metrics via Nagios

Safe HaskellNone
LanguageHaskell2010

System.Nagios.Plugin.Ekg.Check

Synopsis

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.