Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #cat /volume1/Zabbix/conf/zabbix_agentd/userparameter_raid.conf
- # Raid Status on Disk Station
- # Raid Full Information
- UserParameter=Raid.FullState[*],mdadm --detail /dev/$1
- # Raid Level
- UserParameter=Raid.Level[*],mdadm --detail /dev/$1 | grep 'Raid Level' | awk '{print toupper( $ 4 )}'
- # Raid State
- UserParameter=Raid.State[*],mdadm --detail /dev/$1 | grep 'State :' | awk '{print toupper( $ 3 $ 4 $ 5 )}'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement