summaryrefslogtreecommitdiff
path: root/src/pmdas/shping/shping.response.pmie
diff options
context:
space:
mode:
Diffstat (limited to 'src/pmdas/shping/shping.response.pmie')
-rw-r--r--src/pmdas/shping/shping.response.pmie67
1 files changed, 67 insertions, 0 deletions
diff --git a/src/pmdas/shping/shping.response.pmie b/src/pmdas/shping/shping.response.pmie
new file mode 100644
index 0000000..f77457a
--- /dev/null
+++ b/src/pmdas/shping/shping.response.pmie
@@ -0,0 +1,67 @@
+#pmieconf-rules 1
+# --- DO NOT MODIFY THIS FILE --- see pmieconf(4)
+
+rule shping.response
+ summary = "$rule$"
+ enumerate = hosts
+ predicate =
+"some_inst (
+ shping.time.real $hosts$ > $threshold$ &&
+ shping.status $hosts$ == 0
+)"
+ enabled = no
+ version = 1
+ help =
+"A monitored application or service probe from the shping PMDA
+has taken more than threshold milliseconds to complete.
+
+If this rule is enabled, the shping PMDA should be installed; see
+$PCP_PMDAS_DIR/shping/README and pmdashping(1).
+
+If some application or service is not available then the
+corresponding line should be commented out of the shping
+configuration file ($PCP_PMDAS_DIR/shping/shping.conf by default)
+and the shping PMDA restarted.";
+
+string rule
+ default = "Shell-ping PMDA slow application or service response"
+ modify = no
+ display = no;
+
+unsigned threshold
+ default = 3000
+ help =
+"Threshold time, in milliseconds, for command to run to completion.";
+
+string action_expand
+ default = %vmsec[%i]
+ display = no
+ modify = no;
+
+string email_expand
+ default = "service: %i response time: %vmsec"
+ display = no
+ modify = no;
+
+
+# Configuration info specific to non-PCP tools follows...
+#
+
+# for SGI Embedded Support Partner integration:
+string esp_type
+ default = "0x200095"
+ display = no
+ modify = no;
+
+# for EnlightenDSM integration:
+string enln_test
+ default = shping.response
+ display = no
+ modify = no;
+string enln_units
+ default = msec[%i]
+ display = no
+ modify = no;
+
+#
+# --- DO NOT MODIFY THIS FILE --- see pmieconf(4)