Skip to content
Prometheus exporter for VMAX Unisphere metrics built with PowerShell!
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Config
CreateService.ps1
README.md
StartListener.ps1
UnisphereExporter.psd1
UnisphereExporter.psm1

README.md

Unisphere Exporter

Prometheus exporter for VMAX Unisphere metrics built with PowerShell!

Dependencies

Polaris - A cross-platform, minimalist web framework for PowerShell.
NSSM - A service helper which doesn't suck.

Configuration

  • Update the config.json with the correct Unisphere API settings for your environment.
  • The metrics which will be collected are defined in metrics.json

Running as a Service

  1. Clone this repo to C:\Program Files\WindowsPowerShell\Modules
Set-Location "C:\Program Files\WindowsPowerShell\Modules"
git clone "https://gitlab.servevirtual.net/Platform/UnisphereExporter.git"
  1. Copy the StartListener.ps1 function to an unprotected folder such as D:\Resources\UnisphereExporter
Copy-Item -Path .\UnisphereExporter\StartListener.ps1 -Destination D:\Resources\UnisphereExporter\StartListener.ps1
  1. Verify the paths in CreateService.ps1 are correct based on where you've copied the source files

  2. Setup as a service by running CreateService.ps1

  3. Validate by locally browsing to http://localhost:9183/metrics

You can’t perform that action at this time.