Quick Digression:
A lot of the information on the internet for monitoring RAID in an HP server with a Linux OS installed is outdated. Currently, the only way, at least in Ubuntu, is to use the cciss_vol_status command.
I have a Proliant and the command works fine. The 'verbose' flag even gives physical disk info. I am having a problem finding an easy way to get this into zabbix. Searching the web turns up a script and template for this. There are two reasons for my concerns:
1) The 'discovery' function only finds the first logical drive on the server even though there are 2.
2) It seems to work, however, I am not able to trust the output because it says 'Ok' no matter what. Also I can run it without root or sudo, whereas the cciss_vol_status command does not allow that:
Does anyone have any experience with this? Am I missing something?
Thanks!
Dave
A lot of the information on the internet for monitoring RAID in an HP server with a Linux OS installed is outdated. Currently, the only way, at least in Ubuntu, is to use the cciss_vol_status command.
I have a Proliant and the command works fine. The 'verbose' flag even gives physical disk info. I am having a problem finding an easy way to get this into zabbix. Searching the web turns up a script and template for this. There are two reasons for my concerns:
1) The 'discovery' function only finds the first logical drive on the server even though there are 2.
2) It seems to work, however, I am not able to trust the output because it says 'Ok' no matter what. Also I can run it without root or sudo, whereas the cciss_vol_status command does not allow that:
$ ./cciss status /dev/sda
OK
$ ./cciss status /dev/sda1
OK
$ ./cciss status /dev/sda1111
OK
$ ./cciss status /dev/sdb
OK
$ ./cciss status /dev/sdc
OK
$ ./cciss status /dev/sdfake
OK
OK
$ ./cciss status /dev/sda1
OK
$ ./cciss status /dev/sda1111
OK
$ ./cciss status /dev/sdb
OK
$ ./cciss status /dev/sdc
OK
$ ./cciss status /dev/sdfake
OK
Thanks!
Dave