racker / rackspace-monitoring-agent-plugins-contrib

Contributed Rackspace Monitoring Agent plugins
71 stars 65 forks source link

Adding systemctl_status.sh #159

Closed sffc closed 6 years ago

sffc commented 6 years ago

Simple plugin for returning the output of systemctl is-system-running as a string.

I use this for monitoring my CentOS servers.

sffc commented 6 years ago

Thanks; I've made a couple more changes to the script and alarm to reduce noise (e.g., status "starting" should not trigger the alarm). I will update my branch as soon as I confirm that it works on my instances.