Skip to main content

Re: pool maintenance and monitoring

  • From: Christian Kujau < >
  • To:
  • 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 
status".

Christian.
-- 
BOFH excuse #144:

Too few computrons available.


Re: pool maintenance and monitoring

Sarunas Vancevicius 05/01/2013

<Possible follow-up(s)>

Re: pool maintenance and monitoring

Josh Simon 05/01/2013

Re: pool maintenance and monitoring

Christian Kujau 05/01/2013

Re: pool maintenance and monitoring

Antonio S. Cofiño 05/01/2013

Re: pool maintenance and monitoring

Antonio S. Cofiño 05/01/2013

Re: pool maintenance and monitoring

Cindy Swearingen 05/01/2013

Re: pool maintenance and monitoring

Jim Klimov 05/01/2013
 
 
Close
loading
Please Confirm
Close