5.2 Adding the Oracle VM Server Object Module

To monitor Oracle VM Server configuration with the ovs-snmp shared object module, you must add the following line to /etc/snmp/snmpd.conf:

dlmod ovs /usr/lib64/ovs-snmp/ovs.so
Note

The default snmpd.conf on Oracle VM Server provides an example configuration that you should modify to suit your business needs. It is beyond the scope of this documentation to describe a complete configuration for snmpd.conf. Refer to the snmpd.conf man page for more information.

From a high level, the steps to add the ovs-snmp shared object module to snmpd.conf are as follows:

  1. Connect to the appropriate instance of Oracle VM Server.

  2. Open /etc/snmp/snmpd.conf for editing.

  3. Add the following line:

    dlmod ovs /usr/lib64/ovs-snmp/ovs.so
  4. Ensure that you have read access rights in snmpd.conf.

    Tip

    You can temporarily add rocommunity public to the start of snmpd.conf to allow read access from all computers on the network.

  5. Save and close /etc/snmp/snmpd.conf.

  6. Restart the SNMP service, if it is running.

    # service snmpd restart