[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeipmi-users
Subject:    [Freeipmi-users] Re: Question about nagios_ipmimonitoring.sh
From:       Al Chu <chu11 () llnl ! gov>
Date:       2010-11-22 17:36:22
Message-ID: 1290447382.6900.83.camel () crazyclimber ! llnl ! gov
[Download RAW message or body]

Hi Xiaomin,

For in-band communication on the motherboard root is typically required
for access, but it isn't required for out of band access.  So I'd
recommend doing out-of-band access.  Out of band is also better b/c it
won't interrupt the CPU like in-band does.

If you really want to do in-band communication as non-root, my
recommendation would be to load the IPMI kernel driver (/dev/ipmi0) and
use that as the inband device instead of the default FreeIPMI driver (-D
openipmi on the command line or edit /etc/freeipmi.conf appropriately).
You can change the /dev/ipmi0 permissions to whatever you want, thus
allowing non-root access.  You will need to compile FreeIPMI with
--with-dont-check-for-root too so it won't check for root.

Hope that helps,

Al

On Fri, 2010-11-19 at 21:31 -0800, Xiaomin Dong wrote:
> Hi Albert,
> 
> I'd like to use your nagios_ipmimonitoring.sh in my nagios monitoring.
> But it seems the no-root users can not run /usr/sbin/ipmimonitoring.
> Can you please advise how you solve this problem?
> 
> Thanks for help.
> Xiaomin Dong

-- 
Albert Chu
chu11@llnl.gov
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic