ソースを参照

add check_traffic plugin example

Jon Schipp 11 年 前
コミット
b5e16c897f
1 ファイル変更3 行追加9 行削除
  1. 3 9
      check_traffic.sh

+ 3 - 9
check_traffic.sh

@@ -5,15 +5,9 @@
 ########
 # Examples:
 
-# 1.) Return critical if there's more than 10k PPS
-# $ ./check_pps.sh -i eth0 -w 8000 -c 10000  -p
-#
-# 2.) Return critical if there's more than 1m BPS
-# $ ./check_pps.sh -i eth0 -w 500000 -c 1000000 -b
-#
-# 2.) Return critical if we've reach 70% of the NIC's line-rate capacity
-# $ ./check_pps.sh -i eth0 -w 50 -c 70 -r
-#
+# 1.) Check syslog traffic rate
+# $ ./check_traffice.sh -i eth0 -f "port 514" -t 1s -w 500 -c 1000
+
 
 # Nagios Exit Codes
 OK=0