Kea 2.7.6
perfmon_config.h File Reference

The classes herein parse PerfMon hook library's 'parameters' element depicted below: More...

#include <cc/data.h>
#include <cc/simple_parser.h>
#include <alarm_store.h>
#include <monitored_duration.h>
#include <atomic>
+ Include dependency graph for perfmon_config.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  isc::perfmon::AlarmParser
 Parses configuration parameters for a single Alarm. More...
 
class  isc::perfmon::DurationKeyParser
 Parses configuration parameters for a single DurationKey. More...
 
class  isc::perfmon::PerfMonConfig
 Houses the PerfMon configuration parameters for a single scope (e.g. More...
 

Namespaces

namespace  isc
 Defines the logger used by the top-level component of kea-lfc.
 
namespace  isc::perfmon
 

Typedefs

typedef boost::shared_ptr< PerfMonConfigisc::perfmon::PerfMonConfigPtr
 Defines a shared pointer to a PerfMonConfig.
 

Detailed Description

The classes herein parse PerfMon hook library's 'parameters' element depicted below:

{
"library": "lib/kea/hooks/libdhcp_perf_mon.so",
"parameters": {
"enable-monitoring": true,
"interval-width-secs": 5,
"stats-mgr-reporting": true,
"alarm-report-secs": 600,
"alarms": [
{
"duration-key": {
"query-type": "DHCPDISCOVER",
"response-type": "DHCPOFFER",
"start-event": "process-started",
"stop-event": "process-completed",
"subnet-id": 0
},
"enable-alarm": true,
"high-water-ms": 500,
"low-water-ms": 25
},
..
}]
}
}

Definition in file perfmon_config.h.