Installation
Install the plugin with its KAR file and enable the Karaf feature. For incidents from OpenNMS alarms, also enable the ticketer plugin.
Deploy the KAR File
Copy the KAR file to the deploy directory of OpenNMS.
The example uses /opt/opennms as the OpenNMS directory:
cp path/to/opennms-plugin-servicenow.kar /opt/opennms/deploy/
Install the Feature
Install the feature in the Karaf shell. No restart is necessary:
ssh -p 8101 admin@localhost
admin@opennms()> feature:install opennms-plugin-servicenow
To load the feature at each start, add it to featuresBoot.d:
echo "opennms-plugin-servicenow wait-for-kar=opennms-plugin-servicenow" > ${OPENNMS_HOME}/etc/featuresBoot.d/plugin-servicenow.boot
Enable the Ticketer Plugin
To create ServiceNow incidents from OpenNMS alarms, enable the ticketer plugin:
-
Create the properties file:
echo "opennms.ticketer.plugin = org.opennms.netmgt.ticketd.OSGiBasedTicketerPlugin" >> ${OPENNMS_HOME}/etc/opennms.properties.d/osgi-ticketer.properties echo "opennms.alarmTroubleTicketEnabled = true" >> ${OPENNMS_HOME}/etc/opennms.properties.d/osgi-ticketer.properties -
Restart OpenNMS:
$OPENNMS_HOME/bin/opennms -vt restart