Alarm Correlation
This section describes how to configure Horizon to provide real-time feedback on alarm correlation.
Situation Feedback
Situation feedback lets operators provide real-time feedback on alarm correlation.
Installation
Enable situation feedback by installing the feature from the Karaf shell:
feature:install opennms-situation-feedback
To ensure that the feature continues to be installed on subsequent restarts, add opennms-situation-feedback
to a file in featuresBoot.d
:
echo "opennms-situation-feedback" | sudo tee ${OPENNMS_HOME}/etc/featuresBoot.d/opennms-situation-feedback.boot
Requirements
The feature requires Elasticsearch to persist the feedback records.
Configure Elasticsearch Persistence
From a Karaf shell on your Horizon instance, start by configuring the situation feedback persistence to use your Elasticsearch cluster:
$ ssh -p 8101 admin@localhost
...
admin@opennms()> config:edit org.opennms.features.situationfeedback.persistence.elastic
admin@opennms()> config:property-set elasticUrl http://elastic:9200
admin@opennms()> config:update
This configuration is stored in ${OPENNMS_HOME}/etc/org.opennms.features.situationfeedback.persistence.elastic.cfg .
See Elasticsearch Integration for more information.
|
Installing the feature exposes a REST endpoint that OpenNMS Helm uses to display and submit feedback.
Find further information on the REST API in the Developer Guide.