2
edits
Changes
New page: If you are trying to get snmpd working on a VE (for whatever reason, note you should strongly consider if you can accomplish what you are trying to do on the host) you will need to do a co...
If you are trying to get snmpd working on a VE (for whatever reason, note you should strongly consider if you can accomplish what you are trying to do on the host) you will need to do a couple things.
Do this if you are seeing an error like this one:
error scanning interface data (expected 10, got 0)
First you need to run net-snmp 5.4.1 or later and second you will need to start it with the following option:
<code>-I -ipAddressTable</code>
So
<code>/sbin/snmpd -I -ipAddressTable</code>
From what I understand they are in the process of patching things on net-snmp to work with openvz a little better, but because of the duplicate IPs on the VEs (127.0.0.1) things aren't exactly standard.
Do this if you are seeing an error like this one:
error scanning interface data (expected 10, got 0)
First you need to run net-snmp 5.4.1 or later and second you will need to start it with the following option:
<code>-I -ipAddressTable</code>
So
<code>/sbin/snmpd -I -ipAddressTable</code>
From what I understand they are in the process of patching things on net-snmp to work with openvz a little better, but because of the duplicate IPs on the VEs (127.0.0.1) things aren't exactly standard.