snmp question

asiahost

New Member
Feb 4, 2011
9
0
1
may i know current 1.7 support snmp?

which interface i can grep for gen mrtg? as i type ifconfig can't see any share kvm host there.

Thanks.
 
I monitor the physical interfaces (eth0,eth1) of the host to get the full network load. Monitoring vmbr0 and vmbr1 didn't give out useful graphs. I use munin, you can as well use any other service available on Debian for that.
 
Last edited by a moderator:
I monitor eth0,eth1 and vmbr0 through Centreon/Nagios with snmp.

Snmpd is working with proxmox and openfiler in my case.
 
may i know current 1.7 support snmp?

which interface i can grep for gen mrtg? as i type ifconfig can't see any share kvm host there.

Thanks.
Hi,
simply
Code:
apt-get install snmpd
edit /etc/snmp/snmpd.conf and start the daemon.

You can also control the interfaces from a vm if you use bridges devices.
Like here the first nic of vm 122 (in and out octets):
Code:
# snmpwalk -c secret -v 1 10.xx.xx.1 | grep IF-MIB | grep  "33 = "
IF-MIB::ifIndex.33 = INTEGER: 33
IF-MIB::ifDescr.33 = STRING: vmtab122i0
IF-MIB::ifType.33 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifMtu.33 = INTEGER: 1500
IF-MIB::ifSpeed.33 = Gauge32: 10000000
IF-MIB::ifPhysAddress.33 = STRING: a:14:95:93:47:6d
IF-MIB::ifAdminStatus.33 = INTEGER: up(1)
IF-MIB::ifOperStatus.33 = INTEGER: up(1)
IF-MIB::ifLastChange.33 = Timeticks: (0) 0:00:00.00
IF-MIB::ifInOctets.33 = Counter32: 551575800
IF-MIB::ifInUcastPkts.33 = Counter32: 20716739
IF-MIB::ifInNUcastPkts.33 = Counter32: 0
IF-MIB::ifInDiscards.33 = Counter32: 0
IF-MIB::ifInErrors.33 = Counter32: 0
IF-MIB::ifInUnknownProtos.33 = Counter32: 0
IF-MIB::ifOutOctets.33 = Counter32: 3557455399
IF-MIB::ifOutUcastPkts.33 = Counter32: 27525526
IF-MIB::ifOutNUcastPkts.33 = Counter32: 0
IF-MIB::ifOutDiscards.33 = Counter32: 0
IF-MIB::ifOutErrors.33 = Counter32: 0
IF-MIB::ifOutQLen.33 = Gauge32: 0
IF-MIB::ifSpecific.33 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifName.33 = STRING: vmtab122i0
IF-MIB::ifInMulticastPkts.33 = Counter32: 0
IF-MIB::ifInBroadcastPkts.33 = Counter32: 0
IF-MIB::ifOutMulticastPkts.33 = Counter32: 0
IF-MIB::ifOutBroadcastPkts.33 = Counter32: 0
IF-MIB::ifHighSpeed.33 = Gauge32: 10
IF-MIB::ifPromiscuousMode.33 = INTEGER: true(1)
IF-MIB::ifConnectorPresent.33 = INTEGER: true(1)
IF-MIB::ifAlias.33 = STRING: 
IF-MIB::ifCounterDiscontinuityTime.33 = Timeticks: (0) 0:00:00.00

Udo
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!