Guest User

Untitled

a guest
Feb 21st, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. #!/bin/sh
  2. #
  3. # ip_conntrack: Plugin to monitor the number of tracked connection
  4.  
  5. if [ "$1" = "config" ]; then
  6. echo "graph_title Number of tracked connections"
  7. echo "graph_args --base 1000"
  8. echo "graph_vlabel connections"
  9. echo "graph_category network"
  10. echo "connection.label connections"
  11. echo "connection.type DERIVE"
  12. echo "connection.min 0"
  13. echo "connection.max 100000"
  14. exit 0
  15. fi;
  16.  
  17. echo -n "connection.value "
  18. cat /proc/sys/net/ipv4/netfilter/ip_conntrack_count
Add Comment
Please, Sign In to add comment