{"id":21578732,"url":"https://github.com/slashdoom/aruba_exporter","last_synced_at":"2026-03-06T07:02:04.982Z","repository":{"id":64973528,"uuid":"383316536","full_name":"slashdoom/aruba_exporter","owner":"slashdoom","description":"Prometheus exporter for Aruba switches, instant APs and controllers","archived":false,"fork":false,"pushed_at":"2023-01-18T09:28:43.000Z","size":20941,"stargazers_count":10,"open_issues_count":2,"forks_count":6,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-10T18:03:23.723Z","etag":null,"topics":["aruba","aruba-iap","aruba-switch","arubanetworks","arubaos","arubaos-cx","arubaos-switch","hpe","prometheus","prometheus-exporter"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/slashdoom.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}},"created_at":"2021-07-06T02:28:58.000Z","updated_at":"2025-03-25T09:55:35.000Z","dependencies_parsed_at":"2023-02-10T14:16:43.300Z","dependency_job_id":null,"html_url":"https://github.com/slashdoom/aruba_exporter","commit_stats":null,"previous_names":["yankiwi/aruba_exporter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/slashdoom/aruba_exporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slashdoom%2Faruba_exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slashdoom%2Faruba_exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slashdoom%2Faruba_exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slashdoom%2Faruba_exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slashdoom","download_url":"https://codeload.github.com/slashdoom/aruba_exporter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slashdoom%2Faruba_exporter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30164890,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T04:43:31.446Z","status":"ssl_error","status_checked_at":"2026-03-06T04:40:30.133Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["aruba","aruba-iap","aruba-switch","arubanetworks","arubaos","arubaos-cx","arubaos-switch","hpe","prometheus","prometheus-exporter"],"created_at":"2024-11-24T13:11:28.129Z","updated_at":"2026-03-06T07:02:04.963Z","avatar_url":"https://github.com/slashdoom.png","language":"Go","funding_links":[],"categories":["others"],"sub_categories":[],"readme":"# aruba_exporter\r\nPrometheus exporter for metrics from Aruba devices including ArubaSwitchOS, ArubaOS-CX, ArubaOS (Instant AP and controllers/gateways).\r\n\r\nThis exporter is in development.  The goal to get a basic set of metrics working on the four major devices types via SSH.  Additional metrics will be developed as required or requested.\r\n\r\nThe basic structure is based on:\r\n\r\nhttps://github.com/czerwonk/junos_exporter  \r\n...and...  \r\nhttps://github.com/lwlcom/cisco_exporter  \r\n\r\n# Flags\r\nName     | Description | Default\r\n---------|-------------|---------\r\nversion | Print version information. |\r\nweb.listen-address | Address on which to expose metrics and web interface. | :9909\r\nweb.telemetry-path | Path under which to expose metrics. | /metrics\r\nssh.targets | Comma seperated list of hosts to scrape |\r\nssh.user | Username to use when connecting to devices using ssh. | aruba_exporter\r\nssh.keyfile | Public key file to use when connecting to devices using ssh. |\r\nssh.password | Password to use when connecting to devices using ssh. |\r\nssh.timeout | Timeout in seconds to use for SSH connection. | 5\r\nssh.batch-size | The SSH response batch size. | 10000\r\nlevel | Set logging verbose level. | info\r\nconfig.file | Path to config file. |\r\n\r\n# Metrics\r\nAll metrics are enabled by default. To disable something pass a flag `--\u003cname\u003e.enabled=false`, where `\u003cname\u003e` is the name of the metric.\r\n\r\nName     | Description | SwitchOS | OS-CX | InstantAP | Controller |\r\n---------|-------------|----------|-------|-----------|------------|\r\nsystem | System metrics (version, CPU (% used/idle), memory (total/used/free), uptime) | X | X | X | X |\r\nenvironment | Environment metrics (temperatures, state of power supply) | - | - | - | - |\r\ninterfaces | Interfaces metrics (transmitted/received: bytes/packets/errors/drops, admin/oper state) | X | X | X | X |\r\noptics | Optical signals metrics (tx/rx) | - | - | - | - |\r\nroutes | Router metrics (total, static, dynamic, connected) | - | - | N/A | - |\r\nwireless | wireless metrics (clients, aps, radios, wlans) | N/A | N/A | - | - |\r\n\r\n# Install\r\n```bash\r\ngo get -u github.com/slashdoom/aruba_exporter\r\n```\r\n\r\n# Usage\r\n\r\n## Binary\r\n```bash\r\n./aruba_exporter -ssh.targets=\"host1.example.com,host2.example.com:2233,172.16.0.1\" -ssh.keyfile=aruba_exporter\r\n\r\n./aruba_exporter -ssh.targets=\"host1.example.com,host2.example.com:2233,172.16.0.1\" -ssh.password=password\r\n\r\n./aruba_exporter -config.file=config.yml\r\n```\r\n\r\n## Docker\r\nTwo example Docker compose files are included. One for a 2 step production build/deploy and one for a dev environment with hot reload.  These examples use the golang:bullseye image.\r\n\r\n### Production\r\n```bash\r\ndocker compose up\r\n```\r\n\r\n### Development\r\n```bash\r\ndocker compose -f dev.docker-compose.yaml up\r\n```\r\n\r\n## Config file\r\nThe exporter can be configured with a YAML based config file:\r\n\r\n```yaml\r\n---\r\nlevel: debug\r\ntimeout: 60\r\nbatch_size: 10000\r\nusername: default-username\r\npassword: default-password\r\nkey_file: /path/to/key\r\n\r\ndevices:\r\n  - host: host1.example.com\r\n    key_file: /path/to/key\r\n    timeout: 5\r\n    batch_size: 10000\r\n    features: # enable/disable per host\r\n      routes: false\r\n  - host: host2.example.com:2233\r\n    username: exporter\r\n    password: secret\r\n\r\nfeatures:\r\n  system: true\r\n  environment: true\r\n  interfaces: true\r\n  optics: true\r\n  routes: true\r\n  wireless: true\r\n```\r\n\r\n# Third Party Components\r\nThis software uses components of the following projects\r\n* Prometheus Go client library (https://github.com/prometheus/client_golang)\r\n* Logrus Logging library (https://github.com/sirupsen/logrus)\r\n\r\n# License\r\n(c) slashdoom (Patrick Ryon), 2022. Licensed under [MIT](LICENSE) license.\r\n\r\n# Prometheus\r\nSee https://prometheus.io/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslashdoom%2Faruba_exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslashdoom%2Faruba_exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslashdoom%2Faruba_exporter/lists"}