Wednesday, January 3, 2018

flow table monitoring in Prometheus

From next week (8 Jan 2018), Gauge is able to log flow table statistics to Prometheus. This makes graphing ACL counters, packets by Ethernet source and destination etc, possible in Prometheus.

You will need this config in gauge.yml:


faucet_configs:
    - '/etc/ryu/faucet/faucet.yaml'
watchers:
    port_stats:
        dps: ['windscale-faucet-1']
        type: 'port_stats'
        interval: 10
        db: 'prometheus'
    flow_table:
        dps: ['windscale-faucet-1']
        type: 'flow_table'
        interval: 10
        db: 'prometheus'
dbs:
    prometheus:
        type: 'prometheus'
        prometheus_port: 9303

        prometheus_addr: ''


Then you can graph things like packets by eth_src:


No comments:

Post a Comment

Note: Only a member of this blog may post a comment.