diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2014-10-26 12:33:50 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2014-10-26 12:33:50 +0400 |
commit | 47e6e7c84f008a53061e661f31ae96629bc694ef (patch) | |
tree | 648a07f3b5b9d67ce19b0fd72e8caa1175c98f1a /src/pmieconf/webping/http_errors | |
download | pcp-debian.tar.gz |
Debian 3.9.10debian/3.9.10debian
Diffstat (limited to 'src/pmieconf/webping/http_errors')
-rw-r--r-- | src/pmieconf/webping/http_errors | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/src/pmieconf/webping/http_errors b/src/pmieconf/webping/http_errors new file mode 100644 index 0000000..6ac0aca --- /dev/null +++ b/src/pmieconf/webping/http_errors @@ -0,0 +1,50 @@ +#pmieconf-rules 1 +# --- DO NOT MODIFY THIS FILE --- see pmieconf(4) +# + +rule webping.http_errors + default = "$rule$" + enumerate = hosts + predicate = +"some_inst ( + 60 * webping.errors.httperr $hosts$ + > 60 * $threshold$ count/minute +)" + enabled = yes + version = 1 + help = +"The webping agent encountered more than threshold HTTP errors per +minute communicating with web servers in the last sample interval."; + +string rule + default = "High webping HTTP error rate" + display = no + modify = no; + +double threshold + default = 3 + help = +"Threshold webping HTTP errors per minute."; + +string action_expand + default = "%verrs@%h" + display = no + modify = no; + +string email_expand + default = "host: %h high HTTP errors: %verrs" + display = no + modify = no; + + +# Configuration info specific to non-PCP tools follows... +# + +# for SGI Embedded Support Partner integration: +string esp_type + default = "0x2000A8" + display = no + modify = no; + +# +# --- DO NOT MODIFY THIS FILE --- see pmieconf(4) |