{"id":19096596,"url":"https://github.com/sapcc/netapp-api-exporter","last_synced_at":"2025-04-30T14:12:23.783Z","repository":{"id":41954499,"uuid":"174119589","full_name":"sapcc/netapp-api-exporter","owner":"sapcc","description":"prometheus exporter for NetApp ONTAP systems","archived":false,"fork":false,"pushed_at":"2023-12-15T02:16:41.000Z","size":3644,"stargazers_count":34,"open_issues_count":7,"forks_count":11,"subscribers_count":56,"default_branch":"master","last_synced_at":"2025-03-30T16:46:46.869Z","etag":null,"topics":["netapp-monitoring"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sapcc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-06T10:02:27.000Z","updated_at":"2025-03-27T04:36:27.000Z","dependencies_parsed_at":"2024-06-19T00:15:17.380Z","dependency_job_id":"ac820939-a240-45eb-baeb-470564a23e62","html_url":"https://github.com/sapcc/netapp-api-exporter","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sapcc%2Fnetapp-api-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sapcc%2Fnetapp-api-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sapcc%2Fnetapp-api-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sapcc%2Fnetapp-api-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sapcc","download_url":"https://codeload.github.com/sapcc/netapp-api-exporter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249514448,"owners_count":21284546,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["netapp-monitoring"],"created_at":"2024-11-09T03:37:11.884Z","updated_at":"2025-04-18T15:33:49.117Z","avatar_url":"https://github.com/sapcc.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Netapp API Exporter\n\nPrometheus exporter for Netapp ONTAP API (not the ONTAP REST API). The package\nis tested against ONTAP version 9.2 and up. It fetches data from Netapp's filer\nand exports them as prometheus metrics.\n\n## Usage\n\nThis collector includes three groups of metrics: volume metrics, aggregate\nmetrics and system info metrics. See below section for a complete list of\nmetrics. Each group can be disabled with the --no-\u003cgroup-name\u003e flag.\n\n### CLI Flags\n\n```\nFlags:\n      --help                    Show context-sensitive help (also try --help-long and --help-man).\n  -c, --config=\"\"               Config file\n  -l, --listen=\"0.0.0.0\"        Listen address\n  -d, --debug                   Debug mode\n  -v, --volume-fetch-period=2m  Period of asynchronously fetching volumes\n      --no-aggregate            Disable aggregate collector\n      --no-volume               Disable volume collector\n      --no-system               Disable system collector\n```\n\n### Configuration\n\nA configuration file needs to be provided via the `-c` or `--config` flag. By\ndefault, the collector tries to use the \"./netapp_filers.yaml\". It should be a\nyaml file with list of filer definitions with following fields.\n\n```\n- name: netapp-123\n  host: netapp-123.labx.company\n  availability_zone: az-a\n  username: \u003cusername\u003e\n  password: \u003cpassword\u003e\n```\n\nThe `username` and `password` field can be omitted in the yaml file, and set via\nthe env variables `NETAPP_USERNAME` and `NETAPP_PASSWORD`.\n\n## Metrics\n\n**Volume Metrics** with labels `availability_zone`, `filer`, `project_id`,\n`share_id`, `volume`, `vserver` and `snapshot_policy`. \u003csup\u003e1\u003c/sup\u003e\n\n- netapp_volume_state \u003csup\u003e2\u003c/sup\u003e\n- netapp_volume_total_bytes\n- netapp_volume_used_bytes\n- netapp_volume_available_bytes\n- netapp_volume_snapshot_used_bytes\n- netapp_volume_snapshot_reserved_bytes\n- netapp_volume_snapshot_available_bytes\n- netapp_volume_percentage_snapshot_reserve\n- netapp_volume_used_percentage\n- netapp_volume_compression_saved_bytes\n- netapp_volume_deduplication_saved_bytes\n- netapp_volume_total_saved_bytes\n- netapp_volume_compression_saved_percentage\n- netapp_volume_deduplication_saved_percentage\n- netapp_volume_total_saved_percentage\n- netapp_volume_is_encrypted\n- netapp_volume_inode_files_total\n- netapp_volume_inode_files_used\n- netapp_volume_inode_files_used_percentage\n\n\u003csup\u003e1\u003c/sup\u003e The label `project_id` is openstack specific, and `share_id` is\nopenstack manila specific.\n\n\u003csup\u003e2\u003c/sup\u003e The metric netapp_volume_state being 1 means \"online\"; being -1\nmeans \"offline\".\n\n**Aggregate Metrics** with labels `availability_zone`, `filer`, `node` and\n`aggregate`.\n\n- netapp_aggregate_total_bytes\n- netapp_aggregate_used_bytes\n- netapp_aggregate_available_bytes\n- netapp_aggregate_used_percentage\n- netapp_aggregate_physical_used_bytes\n- netapp_aggregate_physical_percentage\n- netapp_aggregate_is_encrypted\n\n**System Metrics** with labels `availability_zone` and `filer`.\n\n- netapp_filer_system_version\n\n## Version\n\nCode is currently on v2, and is largely refactored to make extension easier. Old\nversion is available under tag\n[v1](https://github.com/sapcc/netapp-api-exporter/releases/tag/v1).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsapcc%2Fnetapp-api-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsapcc%2Fnetapp-api-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsapcc%2Fnetapp-api-exporter/lists"}