-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
External Monitoring via SNMP of systemd services #1651
Copy link
Copy link
Closed
Labels
RFE 🎁Request for Enhancement, i.e. a feature requestRequest for Enhancement, i.e. a feature request
Description
Hi,
I'm using systemd in my containers and on my servers to run/watch services. To monitor the whole infrastructure I'm using SNMP with some central server.
- Question: Is there some effort to expose information of running/not running services via SNMP?
- Would be helpful to have a small daemon exposing that information either via SNMP or via AgentX-protocol?
I found that paper which suggests to use the so called AgentX protocol for that. They implemented a small proof-of-concept daemon in python, which uses systemctl instead of dbus to query state information and uses AgentX to register itself to the snmpd from NET-SNMP:
systemd <--systemctl--> python-script <--agentx--> snmpd <--snmp--> monitoring solution
Maybe a stable solution could look like this:
systemd <--dbus--> systemd-monitord <--agentx--> snmpd <--snmp--> monitoring solution
Here's the solution of libvirt which also uses AgentX to expose information about domains to "the outer world". And here you can find the RFC 2741 for the "Agent Extensibility (AgentX) Protocol".
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
RFE 🎁Request for Enhancement, i.e. a feature requestRequest for Enhancement, i.e. a feature request