Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ru-asdx/zabbix-agent2-plugin-mdraid
Zabbix agent 2 plugin for linux mdraid / mdadm monitoring
https://github.com/ru-asdx/zabbix-agent2-plugin-mdraid
Last synced: 6 days ago
JSON representation
Zabbix agent 2 plugin for linux mdraid / mdadm monitoring
- Host: GitHub
- URL: https://github.com/ru-asdx/zabbix-agent2-plugin-mdraid
- Owner: ru-asdx
- License: apache-2.0
- Created: 2024-07-26T11:04:03.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-07-27T12:14:57.000Z (5 months ago)
- Last Synced: 2024-09-17T09:17:49.620Z (4 months ago)
- Language: Go
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MDRaid Plugin for Zabbix Agent 2
## Description
mdadm monitoring plugin for zabbix-agent2.
plugin read the data from sysfs, instead of parsing "/proc/mdstat" and "mdadm -D".## Building
``` go
go build ./zabbix-agent2-plugin-mdraid.go
```## Installation
Copy the binary to `/usr/sbin/zabbix-agent2-plugin/`.
Copy the configuration file to `/etc/zabbix/zabbix_agent2.d/plugins.d/` and restart the agent.## Supported items
* `mdraid.dev.discovery` - List of known MD devices in LLD format
* `{#DEVICE}`
* `mdraid.dev.get[]` - The state of a device as a json object
* `Device` - Device name
* `Level` - The raid level (e.g. raid0, raid1, raid5, linear, multipath, faulty).
* `ArrayState`- Describes the current state of the array.
* `RaidDisks` - The number of devices in a fully functional array.
* `DegradedDisks` - Contains a count of the number of devices by which the arrays is degraded.
* `SyncAction`
* `SyncCompleted`