Package: hobbit-plugins
Version: 20120626
Severity: normal
Tags: patch

The ipmi client plugin gets a multi line output from the command
 $IPMI sel list last 50
but it seems that the $bb->print() function from Hobbit.pm only
support single lines, which results in only the first (oldest) line
from the ipmitool sel list command is really printed and reported to
hobbit.
The attached patch fixes this.

BTW: I don't like the idea to change the access rights of /dev/ipmi0,
so I'd prefer to have a setup with sudo to make the ipmi plugin work.
The following two lines in /etc/sudoers.d/hobbit do this job (and
changing the IPMI=... in client-ext/ipmi:

hobbit ALL=(root) SETENV:NOPASSWD: /usr/bin/ipmitool sdr
hobbit ALL=(root) SETENV:NOPASSWD: /usr/bin/ipmitool sel list last 50

Tschoeeee

        Roland


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to