XML Samples

This section provides sample XML configuration for many of the tasks described in the Provisioning chapter.

Configure SNMP community names

Sample snmp-config.xml
<?xml version="1.0" encoding="UTF-8"?>
<snmp-config
    xmlns="http://xmlns.opennms.org/xsd/config/snmp[http://xmlns.opennms.org/xsd/config/snmp]"
    port="161" retry="3" timeout="800" read-community="public" version="v1" max-vars-per-pdu="10">
    <definition retry="1" timeout="2000" read-community="public" version="v2c">
        <specific>10.12.23.32</specific>
    </definition>
</snmp-config>