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
and [systemd](https://github.com/kubernetes/node-problem-detector/blob/v0.8.12/config/systemd-monitor-counter.json).
107
113
108
-
The Kernel Monitor matches kernel issues according to a set of predefined rule list in
109
-
[`config/kernel-monitor.json`](https://github.com/kubernetes/node-problem-detector/blob/v0.1/config/kernel-monitor.json). The rule list is extensible. You can expand the rule list by overwriting the
110
-
configuration.
114
+
- A `SystemStatsMonitor` type of daemon collects various health-related system stats as metrics.
### Configure path for the kernel log device {#kernel-log-device-path}
138
+
##Exporter
140
139
141
-
Check your kernel log path location in your operating system (OS) distribution.
142
-
The Linux kernel [log device](https://www.kernel.org/doc/Documentation/ABI/testing/dev-kmsg) is usually presented as `/dev/kmsg`. However, the log path location varies by OS distribution.
143
-
The `log` field in `config/kernel-monitor.json` represents the log path inside the container.
144
-
You can configure the `log` field to match the device path as seen by the Node Problem Detector.
140
+
An exporter reports the node problems and/or metrics to certain backends.
141
+
The following exporters are supported:
145
142
146
-
### Add support for another log format {#support-other-log-format}
143
+
-**Kubernetes exporter**: this exporter reports node problems to the Kubernetes API server.
144
+
Temporary problems are reported as Events and permanent problems are reported as Node Conditions.
147
145
148
-
Kernel monitor uses the
149
-
[`Translator`](https://github.com/kubernetes/node-problem-detector/blob/v0.1/pkg/kernelmonitor/translator/translator.go) plugin to translate the internal data structure of the kernel log.
150
-
You can implement a new translator for a new log format.
146
+
-**Prometheus exporter**: this exporter reports node problems and metrics locally as Prometheus
147
+
(or OpenMetrics) metrics. You can specify the IP address and port for the exporter using command
148
+
line arguments.
149
+
150
+
-**Stackdriver exporter**: this exporter reports node problems and metrics to the Stackdriver
151
+
Monitoring API. The exporting behavior can be customized using a
0 commit comments