You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since they are reported to StatsMgr they may be fetched using the commands :isccmd:`statistic-get-all`
193
+
or :isccmd:`statistic-get`.
100
194
101
195
Alarms
102
196
~~~~~~
103
197
104
-
Alarms may be defined to watch specific durations. Each alarm defines a high-water mark and a
105
-
low-water mark. When the reported average value for duration exceeds the high-water mark, a
106
-
WARN level alarm log will be emitted at which point the alarm is considered "triggered". Once
107
-
triggered the WARN level log will be repeated at a specified alarm report interval as long the
108
-
reported average for the duration remains above the low-water mark. Once the average falls
109
-
below the low-water mark the alarm is "cleared" and an INFO level log will be emitted.
198
+
Alarms may be defined to watch specific durations. Each alarm defines a high-water mark,
199
+
``high-water-ms`` and a low-water mark, ``low-water-ms``. When the reported average value
200
+
for duration exceeds the high-water mark, a WARN level alarm log will be emitted at which
201
+
point the alarm is considered "triggered". Once triggered the WARN level log will be
202
+
repeated at a specified alarm report interval, ``alarm-report-secs`` as long the reported
203
+
average for the duration remains above the low-water mark. Once the average falls below the
204
+
low-water mark the alarm is "cleared" and an INFO level log will be emitted.
205
+
206
+
The alarm triggered WARN log will look similar to the following:
207
+
208
+
::
209
+
210
+
2024-03-20 10:22:14.030 WARN [kea-dhcp6.leases/47195.139913679886272] PERFMON_ALARM_TRIGGERED Alarm for DHCPDISCOVER.DHCPOFFER.composite-total_response.0 has been triggered since 2024-03-20 10:18:20.070000, reported average duration 00:00:00.700000 exceeds high-water-ms: 500
211
+
212
+
213
+
and he alarm cleared INFO log will look similar to the following:
214
+
215
+
::
110
216
111
-
.. Note:
112
-
Alarms are not yet functional.
217
+
2024-03-20 10:30:14.030 INFO [kea-dhcp6.leases/47195.139913679886272] PERFMON_ALARM_CLEARED Alarm for DHCPDISCOVER.DHCPOFFER.composite-total_response.0 has been cleared, reported average duration 00:00:00.010000 is now below low-water-ms: 25
113
218
114
219
API Commands
115
220
~~~~~~~~~~~~
@@ -153,7 +258,7 @@ An example of the anticipated configuration is shown below:
153
258
Where:
154
259
155
260
* enable-monitoring
156
-
Enables event data aggregation for reporting, statisitcs, and alarms. Defaults to false.
261
+
Enables event data aggregation for reporting, statistics, and alarms. Defaults to false.
157
262
* interval-width-secs
158
263
The amount of time, in seconds, that individual task durations are accumulated into an
159
264
aggregate before it is reported. Default is 60 seconds.
@@ -167,7 +272,7 @@ Where:
167
272
defined by the following:
168
273
169
274
* duration-key
170
-
Idenitifies the monitored duration to watch
275
+
Identifies the monitored duration to watch
171
276
172
277
* query-type - Message type of the client query (e.g.DHCPDISCOVER, DHCPV6_REQUEST)
173
278
* response-type - Message type of the server response (e.g. DHCPOFFER, DHCPV6_REPLY)
0 commit comments