optix2000 / nsd_exporter

Prometheus exporter for NSD (Name Server Daemon)
BSD 3-Clause "New" or "Revised" License
8 stars 8 forks source link

Add `nsd_up` metrics #4

Closed kimitoboku closed 4 years ago

kimitoboku commented 4 years ago

This pull request adds nsd_up metrics. If nsd control socket is successful, nsd up return 1. otherwise, nsd up return 0.

currently, nsd_exporter can detect the reachability of the nsd server. But, can not detect the existence of the nsd process. By using nsd_up, we can check the existence of the nsd process.

optix2000 commented 4 years ago

LGTM. Good point on having an up check.