Connections
Before the plugin can forward alarms or assets, you must configure a connection to the ServiceNow instance.
A connection holds the ServiceNow base URL, OAuth2 client credentials (username and password), and optional SSL settings.
Connections are stored in the OpenNMS Secure Credentials Vault under the prefix servicenow_connection_.
All connection management is done through Karaf shell commands.
Add a connection
admin@opennms()> opennms-service-now:add-connection --help
DESCRIPTION
opennms-service-now:add-connection
Add a ServiceNow connection
SYNTAX
opennms-service-now:add-connection [options] url username password
ARGUMENTS
url
ServiceNow base URL (e.g. https://instance.service-now.com)
(required)
username
OAuth2 client ID
(required)
password
OAuth2 client secret
(required)
OPTIONS
-i, --ignore-ssl-certificate-validation
Disable SSL certificate validation (use only in development)
--help
Display this help message
Example
admin@opennms()> opennms-service-now:add-connection \
https://myinstance.service-now.com myClientId myClientSecret