banshee est en développement actif : les collecteurs vont encore changer, et une version que vous publiez demandera sans doute des ajustements. Pour un usage stable, attendez la version 1.0.0.

Storage

banshee/storage-collection/storage/netapp/https/ontap-9.6/

volumes

The state and the space of each volume of a NetApp ONTAP cluster by its REST API.

  • storage
  • netapp
  • ontap
  • volume
  • svm
  • https
  • api

par banshee1 installation2 versions

v2Dernière

Publiée le 28 octobre 2026. One naming convention across collections; documentation completed.

Volumes of a NetApp ONTAP cluster, by its REST API

Returns, for each volume of a NetApp ONTAP cluster, its state, its used space, its free space and its size, read from the REST API with an account. Five watches are offered, each one set on the probe.

Versions

Written for the ONTAP REST API, which ONTAP serves from 9.6; ONTAP 9.5 and earlier have only ZAPI. Hence the folder ontap-9.6.

How it works

One GET https://<host:address>/api/storage/volumes?fields=name,svm.name,state,space.size,space.used,space.available&max_records=1000, the account in Basic; the collector reads every page that _links.next.href points to.

{"records": [{"name": "vol_data", "svm": {"name": "svm1"}, "state": "online", "space": {"size": 1099511627776, "used": 549755813888, "available": 549755813888}}]}
  • A volume is named after its SVM: svm1/vol_data.
  • The state is ONTAP's: online, offline, restricted, error, mixed (a FlexGroup whose constituents differ).
  • The used space is used over used plus available, as df shows it: the snapshot reserve is left out. Sizes are in bytes, returned in GiB. A volume without space returns its state only.
  • A cluster with no volume returns no value, and raises nothing.
  • A code 401 or 403 stops the collector misconfigured; any other code but 200 stops it unreachable.

The password comes from protocol:http:password, a secret variable: it only goes in the Basic header. The answer is not secret.

Prerequisites

  • The cluster's management address as the host's address, reachable from the poller in HTTPS (443), its certificate trusted by the TLS profile of the probe (a pinned fingerprint in protocol:http:fingerprint, or the certificate under protocol:tls:authorities).
  • An ONTAP account for the http application with the readonly role, in protocol:http:user and protocol:http:password.

Outputs

NameLabelUnitPer instance
stateState—yes, per volume
used-percentUsed space%yes, per volume
freeFree spaceGiByes, per volume
sizeSizeGiByes, per volume

Watches

NameTitleKindDefaultsChecked by default
failedVolume offline or in errorstate to avoid, on statecritical on offline, error, restrictedyes
not-onlineVolume not onlineexpected value, on statewarning when the state is anything but onlineyes
usedUsed spaceabove a threshold, on used-percentwarning above 80 %, critical above 90 %yes
full-soonFull within a weekabove a threshold, on used-percentwarning above 99 %, ahead 7 dyes
missingVolume missingexpected instances, on stateno volume named: it raises nothing until names are set on the probeno

Limits

  • Every volume is listed, the root volumes of the SVMs and of the nodes included: narrow the selection of the probe to the volumes that count.
  • A volume restricted on purpose (a SnapMirror destination being initialised) raises failed: leave it out of the selection.
  • The address is written into the URL as is: an IPv6 address must be given as a name.
  • Not checked against an ONTAP: the fields and states are those of the current ONTAP REST schema, as NetApp's own models write it (Trident, models/volume.go); NetApp's documentation site refused to be read, and that each field is served as early as 9.6 is not verified.