OpenNMS configuration for *nix systems with Net-SNMP agent installed.
Running OpenNMS *NIX operating system
-
Download the configuration module from releases as tar.gz file
-
OpenNMS 1.12+
-
OpenNMS 14+
-
Net-SNMP agents
-
Network access with SNMP v1, v2c, v3
-
Optional: git
Running OpenNMS on Windows operating system
-
Download the configuration module from releases as ZIP file
-
If linking is not possible, you can copy the files to the location
-
Optional: git
Download and install from GitHub
mkdir ${HOME}/opennms-config-workspace
cd ${HOME}/opennms-config-workspace
git clone https://github.com/opennms-config-modules/net-snmp.git
Install events
cp ${HOME}/opennms-config-workspace/net-snmp/events/*.xml ${OPENNMS_HOME}/etc/events
Include in eventconf.xml
<event-file>events/net-snmp.events.xml</event-file>
Install datacollection configuration
cp ${HOME}/opennms-config-workspace/net-snmp/datacollection/*.xml ${OPENNMS_HOME}/etc/datacollection
Include in datacollection-config.xml
<include-collection dataCollectionGroup="Net-SNMP-disk"/>
<include-collection dataCollectionGroup="Net-SNMP-lmsensors"/>
<include-collection dataCollectionGroup="Net-SNMP-system"/>