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.
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 thensd
server. But, can not detect the existence of thensd
process. By usingnsd_up
, we can check the existence of the nsd process.