I'm trying to monitor a few RHEL7 services via Nagios. I'd like to monitor if the services are running or stopped and receive an alert when stopped. I haven't any out of the box option with Nagios 4 and nagios-stat, which is the way we were doing it on our old Nagios server hasn't been updated for years.
EDIT: I decided to go with NRPE but can't figure out a working command for virt-who. The ps info for virt-who is this:
root 60804 0.3 29.2 921684 548544 ? S Oct09 5:13 /usr/bin/python /usr/share/virt-who/virt-who.py -b
systemctl show <servicename>
will give you all the information you could possibly want in an easy to parse format.