On 2021-03-09 14:17, rs vas wrote:
Hi,

We are currently using Node Exporter Systemd collection to avail
Systemd service level metrics - to alert on if any of the service is
not running.

One of the systems does not support systemd, but run using
SysV/service, whereas NodeExporter is reporting as service is not
running.

Are there any other collectors I can use which acn support SysV
service status as-well here using Node Exporter?


The problem with sysv is that unlike systemd there isn't a simple way to know when something is running. systemd exposes an API to list all units and their statuses, but for sysv the best you can really do is look in the runlevels directories and hope each one has a "status" option.

--
Stuart Clark

--
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/4f4741e650145c975c56bbddc55b233b%40Jahingo.com.

Reply via email to