summaryrefslogtreecommitdiff
path: root/src/pmie/examples/uag.20
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/pmie/examples/uag.20
downloadpcp-debian.tar.gz
Debian 3.9.10debian/3.9.10debian
Diffstat (limited to 'src/pmie/examples/uag.20')
-rw-r--r--src/pmie/examples/uag.207
1 files changed, 7 insertions, 0 deletions
diff --git a/src/pmie/examples/uag.20 b/src/pmie/examples/uag.20
new file mode 100644
index 0000000..475017c
--- /dev/null
+++ b/src/pmie/examples/uag.20
@@ -0,0 +1,7 @@
+//
+// a rule expression with multiple actions and %-binding in the
+// arguments for the action methods
+//
+some_inst ( disk.dev.total > 60 )
+ -> syslog 10 mins "[%i] busy, %v IOPS " &
+ shell 1 hour "echo 'Disk %i is REALLY busy. Running at %v I/Os per second' | Mail -s 'pmie alarm' sysadm";