Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: raidctl -s being privileged considered unnneesssary

On Mar,Wednesday 2 2011, at 5:48 PM, Greg Troxel wrote:

> A colleague is writing a nagios nrpe plugin to check raid status. (We
> have a lot of machines wtih RAIDframe RAID1 sets.  These work very well,
> but we wouldn't notice if a disk failed.)
> raidctl -s provides the needed information, but /dev/rraid0d is
> root.operator 640.   I don't want to give the plugin read access,
> because then it could read the data on the disk.
> So, it would be nice if there were some way to get raid status without
> having the ability to read.  Perhaps a /dev/raid0stat, on which the
> following ioctls

Having stat device per raid dev seems like overkill to me I think that 
better would be to have only one device for all raid devs.



Home | Main Index | Thread Index | Old Index