;5=      !"#$%&'()*+,-./0123456789:;< Safe-InferredNone Encapsulates all the data in a check result that's relevant to metrics (we throw away things like the state type of HARD/SOFT).CThe check type, either Service with associated ServiceData or Host.cThe part of the check result that's specific to service checks, and doesn't appear in host checks.vNagios unit of measurement. NullUnit is an empty string in the check result; UnknownUOM indicates a failure to parse."List of metrics by metric name.#[Encapsulates the data in a Nagios performance metric. A service can have several of these.+Value of a minmaxEwarn/crit threshold, subject to the same constraints as MetricValue..pValue of a performance metric. We may lose some data converting to doubles here; this may change in the future.:rParse the component of the check output which contains the performance metrics (HOSTPERFDATA or SERVICEPERFDATA).N =>?@ABCD !"#$%&'()*+,-./0123EFGHI456789JKLMNO:PQ9  !"#$%&'()*+,-./0123456789:9"#$%&'()*.0/378:!  +-,912546!  =DCBA@?> ! "#$%&'()*+-,.0/123EFGHI456789JKLMNO:PQNone;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.orgdoc/guidelines.html1 : https:/labs.consol.denagios mod-gearmanRSTUVWXYZ[\]^_`ab;;;RSTUVWXYZ[\]^_`ab;Nonec2Map from key to value for items in a check result.d9Matches the '::' separating items in check result output.e'Matches the key in check result output.f)Matches the value in check result output.g1Matches a key::value pair in check result output.hCMatches a line of key::value pairs (i.e., the result of one check).i;Insert items from a list into a map for easy access by key.j%Parse the output from a Nagios check.kWe have no more data to give the parser at this point, so we either fail or succeed here and return a ParserError or an ItemMap respectively.llCalled if the check output is from a service check. Returns the service-specific component of the perfdata.mhWhether this perfdata item is for a host check or a service check (or Nothing on failure to determine).nGiven an item map extracted from a check result, parse and return the performance metrics (or store an error and return Nothing).oUGiven an item map extracted from a check result, parse and return a Perfdata object.<Extract perfdata from a Nagios perfdata item formatted according to the default template[0]. This is the format that is used in the perfdata spool files and consumed by pnp4nagios. 0@Default templates defined in the Nagios source (xdata/xpddefault.h). Service perfdata: "[SERVICEPERFDATA]t$TIMET$t$HOSTNAME$t$SERVICEDESC$t$SERVICEEXECUTIONTIME$t$SERVICELATENCY$t$SERVICEOUTPUT$t$SERVICEPERFDATA$" Host perfdata: "[HOSTPERFDATA]t$TIMET$t$HOSTNAME$t$HOSTEXECUTIONTIME$t$HOSTOUTPUT$t$HOSTPERFDATA$"cpqrsdefghijklmtuvwxno<<<cpqrsdefghijklmtuvwxno<None"#$%&'()*129;<;<"#$%&'()*912y      !"#$%&''()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrsstuvwxyz{nagios-perfdata-0.2.2Data.Nagios.Perfdata.ErrorData.Nagios.Perfdata.Metric"Data.Nagios.Perfdata.GearmanResultData.Nagios.Perfdata.TemplateData.Nagios.Perfdata ParserError fmtParseErrorPerfdata perfdataTypeperfdataTimestampperfdataHostnameperfdataHostStateperfdataMetrics ReturnState UnknownState CriticalState WarningStateOKState HostOrServiceHostServiceServicePerfdataserviceDescription serviceStateUOM UnknownUOMNullUnitCounterTerabyteGigabyteMegabyteKilobyteBytePercent Microsecond MillisecondSecond MetricListMetric metricValue metricUOM warnValue critValueminValuemaxValue Threshold NoThresholdDoubleThreshold MetricValue UnknownValue DoubleValuemetricValueDefaultunknownMetricValue uomFromStringconvertMetricToBase isMetricBaseconvertPerfdataToBaseparseReturnCodeparseReturnStateperfdataServiceDescriptionparseMetricStringperfdataFromGearmanResultperfdataFromDefaultTemplatePrefixTeraGigaMegaKiloMicroMilliBase uomToPrefix uomToBase prefixToScale uomToScaleconvertUnitToBase uomParser metricNamevalue thresholdmetric metricLine $fShowPrefix $fShowUOMCheckResultMapCheckResultFieldcheckResultSepcheckResultFieldNamecheckResultFieldValuecheckResultField checkResultmapResultItemsextractResultItemscheckTimestamp parseDoubleparsePluginOutput checkMetrics checkHostnamecheckServiceState checkTypeextractCheckItemsItemMap separatoridentvalitemlinemapItems parseLine extractItemsparseServiceData parseDataType parseMetricsextractPerfdataItemlabelcontent parseHostnameparseTimestampparseHostStateparseHostMetricsparseServiceMetrics