nagios-perfdata-0.2.1: Parse Nagios performance data.

Safe HaskellNone
LanguageHaskell2010

Data.Nagios.Perfdata.GearmanResult

Synopsis

Documentation

perfdataFromGearmanResult :: ByteString -> Either ParserError Perfdata Source

Takes the output of a Nagios check formatted according to [0] and reported by mod_gearman[1], and attempts to parse it into a Perfdata object. This should be used, for example, for consuming perfdata from mod_gearman check_result queues.

0
: https://nagios-plugins.org/doc/guidelines.html
1
: https://labs.consol.de/nagios/mod-gearman/