# Nexenta Exporter for Prometheus This Prometheus exporter uses the Nexenta API to provide metrics for JBODs, volumes and license informations. ### Usage The exporter accepts arguments and/or environment variables to set the credentials and connection details. Flag | Env Var | Default --- | --- | --- `-api-host` | `API_HOST` | `nexenta` `-api-port` | `API_PORT` | `8457` `-api-user` | `API_USER` | `admin` `-api-password` | `API_PASSWORD` | `password` `-api-ssl` | `API_SSL` | `false` `-insecure` | `INSECURE` | `false` `-listen-address` | `LISTEN_ADDRESS` | `:9457` `-metrics-endpoint` | `METRICS_ENDPOINT` | `/metrics` ### Currently implemented metrics: Metric | Type | Description --- | --- | --- `nexenta_up` | gauge | Is the Nexenta API reachable (0/1) `nexenta_scrape_failures_total` | counter |Number of errors while scraping the Nexenta API `nexenta_jbod_status` | gauge | Status of JBOD (0/1) `nexenta_jbod_temp` | gauge | Temperature of JBOD (°C) `nexenta_jbod_voltage` | gauge | Voltage of JBOD (Volts) `nexenta_jbod_slot_status` | gauge | Status of JBOD slot (0/1) `nexenta_volume_online` | gauge | Is the volume online (0/1) `nexenta_license_days_left` | gauge | License days left