Monitor systemd with SNMP
Posted: Mon Feb 01, 2021 5:01 pm
Is there a way to monitor until files with SNMP that I am unware of? There isn't much information out there and assume someone here may have a better lead or answer.
Code: Select all
$ systemctl is-active wazuh-manager
active
$ /usr/bin/snmpwalk -v2c -c <string> <hostname> 1.3.6.1.2.1.25.4.2.1.2 | grep -i waz
HOST-RESOURCES-MIB::hrSWRunName.314633 = STRING: "wazuh-db"
HOST-RESOURCES-MIB::hrSWRunName.314806 = STRING: "wazuh-modulesd"