Browse Source

Upload files to ''

patron 3 weeks ago
parent
commit
7e35f3a347
1 changed files with 51 additions and 0 deletions
  1. 51 0
      pfstat.conf

+ 51 - 0
pfstat.conf

@@ -0,0 +1,51 @@
+# collect
+#   global
+#     states entries|searches|inserts|removals [diff]
+#     counters match|bad-offset|fragment|...|synproxy [diff]
+#              (see pfctl -si output, same strings)
+#   interface name pass|block packets|bytes in|out v4|v6 [diff]
+#   queue name passed|dropped|other packets|bytes|number [diff]
+
+collect 1 = interface "em0" pass bytes in ipv4 diff
+collect 2 = interface "em0" pass bytes out ipv4 diff
+collect 3 = global states entries
+
+image "/var/www/htdocs/benzedrine.ch/pfstat-day-small.jpg" {
+	from 24 hours to now
+	width 300 height 200
+	left
+		graph 1 bps "in" "bits/s" color 0 192 0 filled,
+		graph 2 bps "out" "bits/s" color 0 0 255
+	right
+		graph 3 "states" "entries" color 192 192 0
+}
+
+collect 15 = global counters match          diff
+collect 16 = global counters bad-offset     diff
+collect 17 = global counters fragment       diff
+collect 18 = global counters short          diff
+collect 19 = global counters normalize      diff
+collect 20 = global counters memory         diff
+collect 21 = global counters bad-timestamp  diff
+collect 22 = global counters congestion     diff
+collect 23 = global counters ip-option      diff
+collect 24 = global counters proto-cksum    diff
+collect 25 = global counters state-mismatch diff
+collect 26 = global counters state-insert   diff
+collect 27 = global counters state-limit    diff
+collect 28 = global counters src-limit      diff
+collect 29 = global counters synproxy       diff
+
+image "/var/www/htdocs/benzedrine.ch/pfstat-errors-day-small.jpg" {
+	from 24 hours to now
+	width 300 height 200
+        left
+		graph 15 "match" "/s" color 192 0 192,
+		graph 17 "frag" "/s" color 0 192 192,
+		graph 23 "iopt" "/s" color 0 0 255,
+		graph 24 "csum" "/s" color 192 192 0,
+		graph 25 "mism" "/s" color 255 0 0
+	right
+		graph 15 "match" "/s" color 0 192 0
+}
+