How to alert anomalies on network traffic jump with prometheus?

We want to detect if a VM in our IaaS infra is under DDOS attack or not.

And We have several symptoms and metrics like: node_nf_conntrack_entries, node_network_receive_packets_total and also libvirt_domain_interface_stats_receive_packets_total

We do not want to have a false positive by setting a trigger point. Traffic > n then alert!

rate(libvirt_domain_interface_stats_receive_packets_total{host="x"}[5m])

enter image description here

rate(node_network_receive_packets_total{instance="y1"}[5m])

enter image description here

sum(node_nf_conntrack_entries_limit - node_nf_conntrack_entries) by (instance) < 1000

enter image description here



Comments

Popular posts from this blog

Today Walkin 14th-Sept

Spring Elasticsearch Operations

Hibernate Search - Elasticsearch with JSON manipulation