Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- #
- # ip_conntrack: Plugin to monitor the number of tracked connection
- if [ "$1" = "config" ]; then
- echo "graph_title Number of tracked connections"
- echo "graph_args --base 1000"
- echo "graph_vlabel connections"
- echo "graph_category network"
- echo "connection.label connections"
- echo "connection.type DERIVE"
- echo "connection.min 0"
- echo "connection.max 100000"
- exit 0
- fi;
- echo -n "connection.value "
- cat /proc/sys/net/ipv4/netfilter/ip_conntrack_count
Add Comment
Please, Sign In to add comment