OpenNMS configuration for APC
Download and install from GitHub
mkdir ${HOME}/opennms-config-workspace
cd ${HOME}/opennms-config-workspace
git clone https://github.com/opennms-config-modules/apc.git
Install APC events
cp ${HOME}/opennms-config-workspace/apc/events/*.xml ${OPENNMS_HOME}/etc/events
Include in eventconf.xml
<event-file>events/apc.bestpower.events.xml</event-file>
<event-file>events/apc.powernet.events.xml</event-file>
<event-file>events/apc.netbotz.events.xml</event-file>
Install datacollection configuration
cp ${HOME}/opennms-config-workspace/apc/datacollection/*.xml ${OPENNMS_HOME}/etc/datacollection
Include in datacollection-config.xml
<include-collection dataCollectionGroup="APC"/>
<include-collection dataCollectionGroup="APC-Netbotz"/>