Re: pool maintenance and monitoring
- From: Christian Kujau <
- Subject: Re: pool maintenance and monitoring
- Date: Wed, 1 May 2013 09:41:02 -0700 (PDT)
On Wed, 1 May 2013 at 10:28, Josh Simon wrote:
> > One issue I've run into so far is that zpool status requires root, is
> > there an easy way I can allow the nagios or nrpe user to be able to run
> > zpool status?
> You can add something like the following line to your /etc/sudoers file (use
> visudo to edit this file)
> <user> <hostname> = NOPASSWD: /usr/sbin/zpool
This will allow <user> to execute *any* "zpool" command, not just "zpool
status". Add "status" to the end of the line above to allow only "zpool
BOFH excuse #144:
Too few computrons available.