#!/bin/bash
if [[ `systemctl is-active httpd` == 'active' ]]; then
	echo "OK: Apache web server is running."
	exit 0
else
	echo "CRITICAL: Apache Web Server is DOWN"
	exit 2
fi
