/netapp-api-exporter

prometheus exporter for NetApp ONTAP systems

Primary LanguageGoApache License 2.0Apache-2.0

Netapp API Exporter

Prometheus exporter for Netapp ONTAP API. It fetches data from Netapp's filer and exports them as prometheus metrics. There are mainly two groups of metrics that have been implemented.

Volume Metrics with labels availability_zone, filer, project_id, share_id, volume and vserver.

  • netapp_volume_total_bytes
  • netapp_volume_used_bytes
  • netapp_volume_available_bytes
  • netapp_volume_snapshot_used_bytes
  • netapp_volume_snapshot_reserved_bytes
  • netapp_volume_snapshot_available_bytes
  • netapp_volume_used_percentage
  • netapp_volume_saved_total_percentage
  • netapp_volume_saved_compression_percentage
  • netapp_volume_saved_deduplication_percentage

Aggregate Metrics with labels availability_zone, filer, node and aggregate.

  • netapp_aggregate_total_bytes
  • netapp_aggregate_used_bytes
  • netapp_aggregate_available_bytes
  • netapp_aggregate_used_percentage
  • netapp_aggregate_physical_used_bytes
  • netapp_aggregate_physical_percentage

In addition, filer status metrics (labes availability_zone, filer).

  • netapp_filer_scrape_failure

Usage

Flags

Flags:
      --help              Show context-sensitive help (also try --help-long and --help-man).
  -c, --config="./netapp_filers.yaml"  
                          Config file
  -l, --listen="0.0.0.0"  Listen address
  -d, --debug             Debug mode

Configuration

Configuration file is in yaml format (default path "./netapp_filers.yaml"). It should contain blocks in following format,

- name: xxxx
  host: netapp-bb98.labx.company
  username: <username>
  password: <password>