Version 1

    This monitor uses a non-root account to monitor service status on RHEL/CentOS 7 systems with the "/usr/bin/systemctl  is-active <SERVICENAME>" command. If the service is inactive (i.e., not running/started), the monitor will "exit 1" and report as Down. The only other possible result is "active" (i.e., running/started), which will "exit 0" and report as up.  Please see below for add'l requirements:



    1. Credential used for monitoring should be a user with SSH login rights to the monitored client system.

    2. Replace <SERVICENAME>  below with the actual service name you want to monitor. You can add similar Linux/Unix Script Components to monitor other services.