performance_data Class Reference

Helper methods for performance data processing. More...

Public Member Functions

 match_threshold ($threshold, $value)

Static Public Member Functions

static process_performance_data ($perf_data_str)
 Process performance data and return as an array.

Detailed Description

Helper methods for performance data processing.

This should only be used in ORM, to do the backend processing. Because this can be done both for services and hosts, which is entirely similar, this is exported to a helper, so it's available for both.


Member Function Documentation

performance_data::match_threshold ( threshold,
value 
)
Parameters:
$threshold string Threshold and ranges
$value float
Returns:
bool
static performance_data::process_performance_data ( perf_data_str  )  [static]

Process performance data and return as an array.

Parameters:
$perf_data_str string
Returns:
array

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables

Generated on 19 Dec 2018 for ninja by  doxygen 1.6.1