summaryrefslogtreecommitdiff
path: root/src/pmdas/shping/shping.status.pmie
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2014-10-26 12:33:50 +0400
committerIgor Pashev <pashev.igor@gmail.com>2014-10-26 12:33:50 +0400
commit47e6e7c84f008a53061e661f31ae96629bc694ef (patch)
tree648a07f3b5b9d67ce19b0fd72e8caa1175c98f1a /src/pmdas/shping/shping.status.pmie
downloadpcp-debian.tar.gz
Debian 3.9.10debian/3.9.10debian
Diffstat (limited to 'src/pmdas/shping/shping.status.pmie')
-rw-r--r--src/pmdas/shping/shping.status.pmie63
1 files changed, 63 insertions, 0 deletions
diff --git a/src/pmdas/shping/shping.status.pmie b/src/pmdas/shping/shping.status.pmie
new file mode 100644
index 0000000..199c600
--- /dev/null
+++ b/src/pmdas/shping/shping.status.pmie
@@ -0,0 +1,63 @@
+#pmieconf-rules 1
+# --- DO NOT MODIFY THIS FILE --- see pmieconf(4)
+
+rule shping.status
+ summary = "$rule$"
+ enumerate = hosts
+ predicate =
+"some_inst (
+ shping.status $hosts$ @0 > 0 && shping.status $hosts$ @1 == 0
+)"
+ enabled = no
+ version = 1
+ help =
+"An application or service being monitored by the shping PMDA was
+previously probed successfully and the probe has either failed, or
+not responded within a timeout period (as defined by the PCP metric
+shping.control.timeout) during the last sample interval.
+
+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 application or service probe failure"
+ modify = no
+ display = no;
+
+string action_expand
+ default = %i
+ display = no
+ modify = no;
+
+string email_expand
+ default = "application or service: %i"
+ display = no
+ modify = no;
+
+
+# Configuration info specific to non-PCP tools follows...
+#
+
+# for SGI Embedded Support Partner integration:
+string esp_type
+ default = "0x200090"
+ display = no
+ modify = no;
+
+# for EnlightenDSM integration:
+string enln_test
+ default = shping.status
+ display = no
+ modify = no;
+string enln_units
+ default = exit_status
+ display = no
+ modify = no;
+
+#
+# --- DO NOT MODIFY THIS FILE --- see pmieconf(4)