#######################################################
### Calomel.org pfstat.conf BEGIN
#######################################################
#
## Bytes in and out plus states
#
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/pfstat/pfstat_day.jpg" {
from 1 days to now
width 980 height 200
left
graph 1 "in" "bytes/s" color 0 192 0 filled,
graph 2 "out" "bytes/s" color 0 0 255
right
graph 3 "states" "entries" color 192 192 0
}
image "/var/www/htdocs/pfstat/pfstat_week.jpg" {
from 1 weeks to now
width 980 height 200
left
graph 1 "in" "bytes/s" color 0 192 0 filled,
graph 2 "out" "bytes/s" color 0 0 255
right
graph 3 "states" "entries" color 192 192 0
}
image "/var/www/htdocs/pfstat/pfstat_month.jpg" {
from 1 months to now
width 980 height 200
left
graph 1 "in" "bytes/s" color 0 192 0 filled,
graph 2 "out" "bytes/s" color 0 0 255
right
graph 3 "states" "entries" color 192 192 0
}
#######################################################
#
## Pass/Block packets per second In/Out
#
collect 4 = interface "em0" pass packets in ipv4 diff
collect 5 = interface "em0" pass packets out ipv4 diff
collect 6 = interface "em0" block packets in ipv4 diff
collect 7 = interface "em0" block packets out ipv4 diff
image "/var/www/htdocs/pfstat/pfstat-packets_day.jpg" {
from 1 days to now
width 980 height 200
left
graph 4 "pass in" "packets/s" color 0 192 0 filled,
graph 5 "pass out" "packets/s" color 0 0 255
right
graph 6 "block in" "packets/s" color 255 0 0,
graph 7 "block out" "packets/s" color 192 192 0
}
image "/var/www/htdocs/pfstat/pfstat-packets_week.jpg" {
from 1 weeks to now
width 980 height 200
left
graph 4 "pass in" "packets/s" color 0 192 0 filled,
graph 5 "pass out" "packets/s" color 0 0 255
right
graph 6 "block in" "packets/s" color 255 0 0,
graph 7 "block out" "packets/s" color 192 192 0
}
image "/var/www/htdocs/pfstat/pfstat-packets_month.jpg" {
from 1 months to now
width 980 height 200
left
graph 4 "pass in" "packets/s" color 0 192 0 filled,
graph 5 "pass out" "packets/s" color 0 0 255
right
graph 6 "block in" "packets/s" color 255 0 0,
graph 7 "block out" "packets/s" color 192 192 0
}
#######################################################
#
## Inserts, removals and searches per second
#
collect 8 = global states inserts diff
collect 9 = global states removals diff
collect 10 = global states searches diff
image "/var/www/htdocs/pfstat/pfstat-states_day.jpg" {
from 1 days to now
width 980 height 200
left
graph 8 "inserts" "states/s" color 0 192 0 filled,
graph 9 "removals" "states/s" color 0 0 255
right
graph 10 "searches" "states/s" color 255 0 0
}
image "/var/www/htdocs/pfstat/pfstat-states_week.jpg" {
from 1 weeks to now
width 980 height 200
left
graph 8 "inserts" "states/s" color 0 192 0 filled,
graph 9 "removals" "states/s" color 0 0 255
right
graph 10 "searches" "states/s" color 255 0 0
}
image "/var/www/htdocs/pfstat/pfstat-states_month.jpg" {
from 1 months to now
width 980 height 200
left
graph 8 "inserts" "states/s" color 0 192 0 filled,
graph 9 "removals" "states/s" color 0 0 255
right
graph 10 "searches" "states/s" color 255 0 0
}
#######################################################
#
## Bits per seconds per Queue (for the Calomel.org PF Example)
#
collect 11 = queue "ack" pass bytes diff
collect 12 = queue "dns" pass bytes diff
collect 13 = queue "ssh" pass bytes diff
collect 14 = queue "bulk" pass bytes diff
image "/var/www/htdocs/pfstat/pfstat-queues_day.jpg" {
from 1 days to now
width 980 height 150
left
graph 11 bps "ack" "bits/s" color 0 192 192,
graph 12 bps "dns" "bits/s" color 192 0 192,
graph 13 bps "ssh" "bits/s" color 255 0 0,
graph 14 bps "bulk" "bits/s" color 192 192 0
}
image "/var/www/htdocs/pfstat/pfstat-queues_week.jpg" {
from 1 weeks to now
width 980 height 150
left
graph 11 bps "ack" "bits/s" color 0 192 192,
graph 12 bps "dns" "bits/s" color 192 0 192,
graph 13 bps "ssh" "bits/s" color 255 0 0,
graph 14 bps "bulk" "bits/s" color 192 192 0
}
image "/var/www/htdocs/pfstat/pfstat-queues_month.jpg" {
from 1 months to now
width 980 height 150
left
graph 11 bps "ack" "bits/s" color 0 192 192,
graph 12 bps "dns" "bits/s" color 192 0 192,
graph 13 bps "ssh" "bits/s" color 255 0 0,
graph 14 bps "bulk" "bits/s" color 192 192 0
}
#######################################################
#
## All other Counters
#
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/pfstat/pfstat-errors_day.jpg" {
from 1 days to now
width 980 height 200
left
graph 17 "frag" "/s" color 192 0 192,
graph 22 "cong" "/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
# others are usually all zero here
right
graph 15 "match" "/s" color 0 192 0
}
image "/var/www/htdocs/pfstat/pfstat-errors_week.jpg" {
from 1 weeks to now
width 980 height 200
left
graph 17 "frag" "/s" color 192 0 192,
graph 22 "cong" "/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
# others are usually all zero here
right
graph 15 "match" "/s" color 0 192 0
}
image "/var/www/htdocs/pfstat/pfstat-errors_month.jpg" {
from 1 months to now
width 980 height 200
left
graph 17 "frag" "/s" color 192 0 192,
graph 22 "cong" "/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
# others are usually all zero here
right
graph 15 "match" "/s" color 0 192 0
}
#######################################################
### Calomel.org pfstat.conf END
#######################################################