17 lines
510 B
Plaintext
17 lines
510 B
Plaintext
|
|
# Report status of every Raid Array (parsing /proc/mdtstat)
|
|
|
|
# Description: Software Raid Status
|
|
# Type: Agent or Agent (active)
|
|
# Key: raid.sw.status
|
|
# Type of Information: Character
|
|
# Show Value: As is
|
|
|
|
# The value reported is like:
|
|
# OK: md3:raid1:2 drives:931GB:Optimal md2:raid1:2 drives:931GB:Optimal md1:raid1:2 drives:101MB:Optimal
|
|
|
|
# Tips: You can add a simple trigger on this check like:
|
|
# \{ hostname:raid.sw.status.str( OK ) \}=0
|
|
UserParameter=raid.sw.status,/var/lib/zabbix/bin/mdstat-parser.pl
|
|
|