Monitoring / logging bandwidth usage per KVM on SmartOS?

Usually on a KVM node with CentOS,

  1. iptables support is enabled on the bridge (bridge-nf-call-iptables)
  2. iptables rules can be used to log the data, 2 chain rules one for incoming and one for outgoing
  3. then a bash script is used to extract the data/store the data
  4. iptables counter is flushed (iptables -Z iirc)

I’m pretty new to SmartOS and have tried looking up a way to install iptables (which I assume isn’t possible since this is based off solaris?) so what would be the best way to get a similar setup going on SmartOS?

Answer

Attribution
Source : Link , Question Author : Arjit Chaudhary , Answer Author : Community

Leave a Comment