This repository has been archived by the owner on Jan 23, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
foodcritic updates
- Loading branch information
Showing
2 changed files
with
20 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
check system <%= node[:host] %> | ||
check system <%= node["fqdn"] %> | ||
if loadavg (1min) > 4 for 2 cycles then alert | ||
if loadavg (5min) > 2 for 2 cycles then alert | ||
if memory usage > 75% for 2 cycles then alert | ||
if cpu usage (user) > 70% for 2 cycles then alert | ||
if cpu usage (system) > 30% for 2 cycles then alert | ||
if cpu usage (wait) > 20% for 2 cycles then alert | ||
if cpu usage (wait) > 20% for 2 cycles then alert |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters