I'd like to monitor bandwith on my VPS.
I think that the easiest way is to parse http-logs (%bytes-send%
value).
Are there any scripts or software (freeware) that does bandwidth usage graphs like (example) cpanel?
Thanks a lot.
PS of course, i can write it, but i don`t want to invent a bicycle 🙂
Best Answer
I use AWStats to do some analytics data including data transfer stats. For Apache it will support those logs out of the box. For nginx I am unsure, but you can always write custom rules for a log (For example, I wrote one for HAProxy logs).
I would this reporting and not monitoring myself. For monitoring I would monitor/graph network usage with something like Monit, Cacti, or Nagios. Although this would include other data as well.