Comments (1)
Thanks for the input @danboid.
Do you have any suggestion on how to easily get the numbers of spare devices of a given MD RAID?
Each device has a state (/sys/block/<MD-NAME>/md/<RD-NAME>/state
), which can be spare
and is already available in the State of MD {#MD_RAID_RAID_DEV_NAME} RD {#MD_RAID_COMPONENT_DEV_NAME} device
item.
However, there seems to be no single file within sysfs (/sys
) which lists the number of spares, as it is the case for the number of degraded devices (/sys/block/<MD-NAME>/md/degraded
).
One could write a custom user parameter which counts the number of spare drives with the help of a script or some shell tooling magic. But there might be a more elegant solution.
from rabe-zabbix.
Related Issues (20)
- ipmitool dcmi power reading HOT 2
- Wrong trigger name in Template_App_MD-RAID_active HOT 1
- Regarding Debian HOT 1
- ipmi-sensor-discovery.sh: 47: set: Illegal option -o pipefail HOT 6
- Cannot read XML: (41) Specification mandate value for attribute data-pjax-transient [Line: 43 | Column: 40]. HOT 1
- Value should be a JSON object HOT 7
- cant import xml file to zabbix server 2.4.2 version HOT 4
- template import HOT 1
- Template calls nonexisting key lvm[discovery] HOT 1
- Inbound utilization is very high (> 90 % over 1h) on [...] interface cpu () HOT 7
- zabbix-agent can't sudo with selinux-policy-3.13.1-229.el7_6.6
- Doesn't work under Zabbix 4.0 HOT 10
- app/LVM is working fine in Zabbix 4.0 LTS HOT 2
- LVM unavailable options HOT 2
- Update MD-RAID template README with instructions on using it in passive mode HOT 9
- Faulty drive/degraded state doesn't trigger anything HOT 4
- UserParameter=custom.md.discovery do not parse raid0 HOT 1
- Value "cat: /sys/block/md0/md/degraded: No such file or directory HOT 2
- Import fails with Zabbix 5.2 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rabe-zabbix.