This pack allows you to integrate with HPE Nimble
Copy the example configuration in hpenimble.yaml.example to
/opt/stackstorm/configs/hpenimble.yaml
and edit as required.
It must contain:
ipaddress - Your Nimble array IP address
username - Nimble User name
password - Nimble Password
dbuser - Mongo database username
dbpass - Mongo database password
You can also use dynamic values from the datastore. See the docs for more info.
Example configuration:
---
ipaddress: "10.10.10.10"
username: "Administrator"
password: "password"
dbuser: "appUser"
dbpass: "passwordForAppUser"
You can also run st2 pack config hpenimble
and answer the prompts
Note : When modifying the configuration in /opt/stackstorm/configs/
please
remember to tell StackStorm to load these new values by running
st2ctl reload --register-configs
Actions are defined in two groups:
get_volumes
post_volumes
get_events
get_alarms
This application uses the mongo db installed by StackStorm. Since the DB is secured you will need to log into the StackStorm mongo DB as a StackStorm admin and create a separate DB
mongo -u admin -p UkIbDILcNbMhkh3KtN6xfr9h admin (passwd in /etc/st2/st2.config)
db.createUser({user: "appUser",pwd: "passwordForAppUser",roles: [ { role: "readWrite", db: "app_db" } ]})
mongo -u appUser -p passwordForAppUser admin
Event fields in service now: u_category, u_id, u_severity, u_time, u_summary