Skip to content

Metrics

Alexander Polakov edited this page Oct 18, 2016 · 2 revisions

syncookied supports sending metrics to influxdb over udp. You can use grafana for visualization.

grafana dashboard

Configuring influxdb

Add this section to influxdb.conf:

[[udp]]
  enabled = true
  bind-address = ":8089"
  database = "syncookied"
  retention-policy = ""
  batch-size = 5000
  batch-pending = 10
  read-buffer = 0
  batch-timeout = "1s"
  precision = ""

Configuring grafana

Add influxdb as a data source

Metrics

rx_pps - packets received per second (total)

tx_pps - packets sent per second (total)

rx_syn - SYN packets

rx_forwarded - forwarded packets

rx_drop - dropped packets (total)

rx_drop_bad_cookie - invalid cookie received

rx_drop_bad_ether - invalid ethernet packet received

rx_drop_bad_ip - invalid IPv4 packet received

rx_drop_bad_tcp - invalid TCP packet received

rx_drop_filtered - packet matched Drop filtering rule

rx_drop_bad_state - packet didn't match any state

rx_drop_noip - destination address doesn't match any in hosts.yml

rx_drop_mac - destination MAC address doesn't match input interface MAC address ...

Clone this wiki locally