Monitoring Bandwidth for Individual Virtual Hosts on Nginx
I have been doing some research for the last few days, and I can't quite find the right tool for the job. Basically, all I want is a readout of how much bandwidth each of my nginx virtual hosts is using. It doesn't even have to be a pretty graph (although it could be) – a simple numerical display would be fine.
Google Analytics is installed on all of my sites. Its an awesome tool, but as you may know it doesn't report bandwidth. I started looking into programs that I can use on my server to accomplish this task.
I gave Munin a shot, and was directed to the nginxvhosttraffic plugin
I've been looking at the log parsers AWStatsWebalizer
After a while, I realized that for no reason I was limiting myself to web interfaces. A command line readout would work fine for me as well. I found vnStat
I can't be the only one that wants these numbers. The bandwidth graph in the Linode manager is great, but it doesn't provide fine granularity I need to see individual virtual hosts. So what do you guys use? Thanks everyone in advance.
– devsforev
1 Reply
Without giving out a script I don't have permission to share I did a bit of searching and found this:
also:
There might be more help here too: