Public Repository

Last pushed: 2 months ago
Short Description
Hubot script that interfaces with the Hewlett Packard Enterprise OneView RESTful API and SCMB
Full Description

Steps to Run hpe-oneview-hubot:

1) Create config file

Create a file called "oneview-configuration.json" like this, but with the appropriate applianceIP, userName, and password:

{
  "applianceIp": "0.0.0.0",
  "userName": "administrator",
  "password": "password",

  "apiVersion": 300,
  "notificationsFilters": [{"severity": "Critical"}],
  "pollingInterval": 30,
  "readOnly": true,
  "notificationsRoom": "clean-room",
  "doProxy": false,
  "proxyHost": "0.0.0.0",
  "proxyPort": 0
}

2) Docker Run

A basic docker run:

docker run -it --rm -e HUBOT_NAME=oneview -v $(pwd)/oneview-configuration.json:/home/docker/hpe-oneview-hubot/oneview-configuration.json docker.io/jesseolsen/hpe-oneview-hubot:latest

Advanced Docker Run (Including PROXY): For more advanced options, set the appropriate variables and run like this:

docker run -it --rm -e "PARMS=$*" -e http_proxy=$http_proxy -e https_proxy=$https_proxy -e HUBOT_HIPCHAT_JID=$HUBOT_HIPCHAT_JID -e HUBOT_HIPCHAT_PASSWORD=$HUBOT_HIPCHAT_PASSWORD -e HUBOT_HIPCHAT_ROOMS=$HUBOT_HIPCHAT_ROOMS -e HUBOT_HIPCHAT_XMPP_DOMAIN=$HUBOT_HIPCHAT_XMPP_DOMAIN -e HUBOT_NAME=$HUBOT_NAME -e "HUBOT_SLACK_TOKEN=$HUBOT_SLACK_TOKEN" -e "no_proxy=$no_proxy" -v $(pwd)/oneview-configuration.json:/home/docker/hpe-oneview-hubot/oneview-configuration.json docker.io/jesseolsen/hpe-oneview-hubot:latest

Full source code and documentation (in GitHub):
https://github.com/HewlettPackard/hpe-oneview-hubot

Docker Pull Command
Owner
jesseolsen

Comments (0)