X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=torrus%2Fxmlconfig%2Fexamples%2Fmonitors.xml;fp=torrus%2Fxmlconfig%2Fexamples%2Fmonitors.xml;h=a7a42d0176b782baef7474331a659ff417a675af;hp=0000000000000000000000000000000000000000;hb=74e058c8a010ef6feb539248a550d0bb169c1e94;hpb=35359a73152b3d7a9ad5e3d37faf81f6fedb76e8 diff --git a/torrus/xmlconfig/examples/monitors.xml b/torrus/xmlconfig/examples/monitors.xml new file mode 100644 index 000000000..a7a42d017 --- /dev/null +++ b/torrus/xmlconfig/examples/monitors.xml @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + echo `date '+%d-%b-%Y %H:%M:%S'` \ + $TORRUS_MONITOR $TORRUS_EVENT $TORRUS_NODEPATH \ + >> /tmp/torrus-events + + + + + + + + + + + + + + $TORRUS_HOME/bin/action_printemail | mail ssinyagin@yahoo.com + + + + + + + + + + + + + + + #max,GT + + + + + + + + + + #min,LT + + + + + + + + + + {(LAST-300)},10,*,GT, + {(LAST)},{(LAST-300)},10,/,LT, + OR, + {T@(LAST)},3600,+,NOW,GE, + AND + + + + + + + + + + {(LAST-600)},-,ABS,10485760,GT, + {T@(LAST)},3600,+,NOW,GE, + AND + + + graph-devel, report-file, snmptrap + + + + + + + +