Here is what I've done on each virtual router: apt-get update apt-get install snmpd apt-get install snmp apt-get install snmp-mibs-downloader chkconfig --add snmpd chkconfig snmpd on
vi /etc/default/snmpd #export mibs SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -p /var/run/snmpd.pid 0.0.0.0' mv /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.org vi /etc/snmp/snmpd.conf rocommunity "snmpstring" syslocation "location" syscontact "contact" service snmpd restart iptables -A INPUT -s [sourceip] -p udp --dport 161 -m state --state NEW,ESTABLISHED -j ACCEPT vi /etc/rc.local iptables -A INPUT -s [sourceip] -p udp --dport 161 -m state --state NEW,ESTABLISHED -j ACCEPT this does work if the router is rebooted but does not if the router is rebuilt. We are currently using this method as well as working with usage data. Brandon Arms Network Engineer DSS [email protected] -----Original Message----- From: Vahric Muhtaryan [mailto:[email protected]] Sent: Monday, November 18, 2013 12:16 PM To: CloudStack SupportMailingList Subject: Re: Use of internet bandwidth Hello Gerolamo, I¹m looking for it too I do not have a knowledge yet but usage meter may help but what i¹m thinking i don¹t know what switch you use but switch to open virtual switch and get the flow data and send it to any software and measure there usage. I¹m waiting other replies :D Also i know that VR¹s are debian but i don¹t know package installation allowed or not ? Did you try ? Regards VM On 18/11/13 19:10, "Gerolamo Valcamonica" <[email protected]> wrote: >Hi everybody >I need to monitor the use of internet bandwidth of every customer on my >platform. > >Measuring the internet bandwidth use outgoing the virtual routers could >be the best practice to do that > >The problem is that the virtual routers are created by CloudStack out >of the box without snmp services > >So.. do you have any ideas for internet usage measurements by costumer >account? > >P.S. >I use Zabbix as monitoring system > >-- >Gerolamo Valcamonica
