diff options
Diffstat (limited to 'src/pmieconf/webping')
-rw-r--r-- | src/pmieconf/webping/connect_errors | 50 | ||||
-rw-r--r-- | src/pmieconf/webping/html_errors | 50 | ||||
-rw-r--r-- | src/pmieconf/webping/http_errors | 50 | ||||
-rw-r--r-- | src/pmieconf/webping/no_response | 56 | ||||
-rw-r--r-- | src/pmieconf/webping/other_errors | 51 | ||||
-rw-r--r-- | src/pmieconf/webping/slow_response | 56 |
6 files changed, 313 insertions, 0 deletions
diff --git a/src/pmieconf/webping/connect_errors b/src/pmieconf/webping/connect_errors new file mode 100644 index 0000000..ff523af --- /dev/null +++ b/src/pmieconf/webping/connect_errors @@ -0,0 +1,50 @@ +#pmieconf-rules 1 +# --- DO NOT MODIFY THIS FILE --- see pmieconf(4) +# + +rule webping.connect_errors + default = "$rule$" + enumerate = hosts + predicate = +"some_inst ( + 60 * webping.errors.sockerr $hosts$ + > 60 * $threshold$ count/minute +)" + enabled = yes + version = 1 + help = +"The webping agent encountered more than threshold web server connection +errors per minute in the last sample interval."; + +string rule + default = "High webping connection error rate" + display = no + modify = no; + +double threshold + default = 3 + help = +"Threshold webping web server connection errors per minute."; + +string action_expand + default = "%verrs@%h" + display = no + modify = no; + +string email_expand + default = "host: %h high connection errors: %verrs" + display = no + modify = no; + + +# Configuration info specific to non-PCP tools follows... +# + +# for SGI Embedded Support Partner integration: +string esp_type + default = "0x2000A6" + display = no + modify = no; + +# +# --- DO NOT MODIFY THIS FILE --- see pmieconf(4) diff --git a/src/pmieconf/webping/html_errors b/src/pmieconf/webping/html_errors new file mode 100644 index 0000000..58eecbb --- /dev/null +++ b/src/pmieconf/webping/html_errors @@ -0,0 +1,50 @@ +#pmieconf-rules 1 +# --- DO NOT MODIFY THIS FILE --- see pmieconf(4) +# + +rule webping.html_errors + default = "$rule$" + enumerate = hosts + predicate = +"some_inst ( + 60 * webping.errors.htmlerr $hosts$ $urls$ + > 60 * $threshold$ count/minute +)" + enabled = yes + version = 1 + help = +"The webping agent encountered more than threshold HTML errors per +minute communicating with web servers in the last sample interval."; + +string rule + default = "High webping HTML error rate" + display = no + modify = no; + +double threshold + default = 3 + help = +"Threshold webping HTML errors per minute."; + +string action_expand + default = "%verrs[%i]@%h" + display = no + modify = no; + +string email_expand + default = "host: %h high HTML errors for %i: %verrs" + display = no + modify = no; + + +# Configuration info specific to non-PCP tools follows... +# + +# for SGI Embedded Support Partner integration: +string esp_type + default = "0x2000A7" + display = no + modify = no; + +# +# --- DO NOT MODIFY THIS FILE --- see pmieconf(4) 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) diff --git a/src/pmieconf/webping/no_response b/src/pmieconf/webping/no_response new file mode 100644 index 0000000..e5624dd --- /dev/null +++ b/src/pmieconf/webping/no_response @@ -0,0 +1,56 @@ +#pmieconf-rules 1 +# --- DO NOT MODIFY THIS FILE --- see pmieconf(4) +# + +rule webping.no_response + default = "$rule$" + enumerate = hosts + predicate = +"some_inst ( + webping.perurl.kbytes $hosts$ $urls$ @1 - + webping.perurl.kbytes $hosts$ $urls$ @0 > 0 + && webping.perurl.kbytes $hosts$ $urls$ @0 == 0 +)" + enabled = yes + version = 1 + help = +"The retrieval of at least one URL by the webping agent failed on the +most recent attempt, but succeeded on the previous attempt."; + +string rule + default = "No response to webping request" + display = no + modify = no; + +string action_expand + default = "%i@%h" + display = no + modify = no; + +string email_expand + default = "host: %h no web server response for %i" + display = no + modify = no; + + +# Configuration info specific to non-PCP tools follows... +# + +# for SGI Embedded Support Partner integration: +string esp_type + default = "0x2000AB" + display = no + modify = no; + +# for HP OpenView integration: +string ov_severity + display = no + default = "Critical"; + +# for CA/Unicenter TNG integration: +string tngfw_color + display = no + default = "Red"; + +# +# --- DO NOT MODIFY THIS FILE --- see pmieconf(4) diff --git a/src/pmieconf/webping/other_errors b/src/pmieconf/webping/other_errors new file mode 100644 index 0000000..29d56b2 --- /dev/null +++ b/src/pmieconf/webping/other_errors @@ -0,0 +1,51 @@ +#pmieconf-rules 1 +# --- DO NOT MODIFY THIS FILE --- see pmieconf(4) +# + +rule webping.other_errors + default = "$rule$" + enumerate = hosts + predicate = +"some_inst ( + 60 * webping.errors.othererr $hosts$ + > 60 * $threshold$ count/minute +)" + enabled = yes + version = 1 + help = +"The webping agent encountered more than threshold errors (cause +unknown) per minute communicating with web servers in the last sample +interval."; + +string rule + default = "High webping error rate, cause unknown" + display = no + modify = no; + +double threshold + default = 3 + help = +"Threshold webping errors of unknown cause, per minute."; + +string action_expand + default = "%verrs@%h" + display = no + modify = no; + +string email_expand + default = "host: %h high errors of unknown cause: %verrs" + display = no + modify = no; + + +# Configuration info specific to non-PCP tools follows... +# + +# for SGI Embedded Support Partner integration: +string esp_type + default = "0x2000A9" + display = no + modify = no; + +# +# --- DO NOT MODIFY THIS FILE --- see pmieconf(4) diff --git a/src/pmieconf/webping/slow_response b/src/pmieconf/webping/slow_response new file mode 100644 index 0000000..40766ee --- /dev/null +++ b/src/pmieconf/webping/slow_response @@ -0,0 +1,56 @@ +#pmieconf-rules 1 +# --- DO NOT MODIFY THIS FILE --- see pmieconf(4) +# + +rule webping.slow_response + default = "$rule$" + enumerate = hosts + predicate = +"some_inst ( + webping.perurl.time.total $hosts$ $urls$ + > $threshold$ seconds +)" + enabled = yes + version = 1 + help = +"The retrieval of at least one URL by the webping agent took longer than +threshold seconds at the most recent attempt."; + +string rule + default = "Slow response to webping request" + display = no + modify = no; + +double threshold + default = 8 + help= +"Threshold on the maximum acceptable web server response time, in +seconds. +The possible range of values for the threshold may be very large, +e.g. 0.5 to 20 seconds or more, and the most appropriate value depends +on the response time to fetch the URLs (the transmission time is +included), the network latency between the webping agent and the web +servers, and the loading of the web servers."; + +string action_expand + default = "%vsecs[%i]@%h" + display = no + modify = no; + +string email_expand + default = "host: %h web server response for %i: %vsecs" + display = no + modify = no; + + +# Configuration info specific to non-PCP tools follows... +# + +# for SGI Embedded Support Partner integration: +string esp_type + default = "0x2000AA" + display = no + modify = no; + +# +# --- DO NOT MODIFY THIS FILE --- see pmieconf(4) |