/net-snmp

OpenNMS configuration for *nix systems with Net-SNMP agent installed

Primary LanguageJavaGNU Affero General Public License v3.0AGPL-3.0

Net-SNMP

Requirements

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

Installation

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

Events

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>

Data Collection

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"/>

Graph Report Definitions

Install graph report definitions
cp ${HOME}/opennms-config-workspace/net-snmp/graphs/*.properties ${OPENNMS_HOME}/etc/snmp-graph.properties.d