Skip to content

Instantly share code, notes, and snippets.

@valguss
Created November 17, 2010 11:09
Show Gist options
  • Save valguss/703274 to your computer and use it in GitHub Desktop.
Save valguss/703274 to your computer and use it in GitHub Desktop.
Check if the system is overloaded. Change CHANGEHOSTNAME to the hostname
## Securecentos.com system.conf for Monit (Updated 12082009)
check system CHANGEHOSTNAME
if loadavg (1min) > 4 then alert
if loadavg (5min) > 2 then alert
if memory usage > 75% then alert
if cpu usage (user) > 70% then alert
if cpu usage (system) > 30% then alert
if cpu usage (wait) > 20% then alert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment