Jie Zhang | 2 Dec 2009 23:32
Picon

ipmi configuration

Hi,


I am trying to use the IPMI plugin to collect all the sensors except the current sensor. I enabled the IPMI plugin and started collectd. But I don't know how to find out if the IPMI plugin is running? I don't see any rrd files created by it in my rrdfile directory. 

Could you please help to see if there is anything wrong with my configuration. Here is the configuration of ipmi in /etc/collectd.conf file:

LoadPlugin ipmi

<Plugin ipmi>
        Sensor "current"
        IgnoreSelected true
        NotifySensorAdd false
        NotifySensorRemove true
        NotifySensorNotPresent flase
</Plugin>

Thanks,
Jie Zhang
Jie Zhang | 3 Dec 2009 16:33
Picon

Re: ipmi configuration

Using the same ipmi configuration, I setup the logfile plugin and got the following errors in my logfile:


[2009-12-03 11:10:59] ipmi plugin: ipmi_smi_setup_con failed: No such file or directory
[2009-12-03 11:10:59] ipmi plugin: thread_init failed.

Could anyone let me know what is missing here?

Thanks!

Jie
On Wed, Dec 2, 2009 at 5:32 PM, Jie Zhang <jj.mzhang-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Hi,

I am trying to use the IPMI plugin to collect all the sensors except the current sensor. I enabled the IPMI plugin and started collectd. But I don't know how to find out if the IPMI plugin is running? I don't see any rrd files created by it in my rrdfile directory. 

Could you please help to see if there is anything wrong with my configuration. Here is the configuration of ipmi in /etc/collectd.conf file:

LoadPlugin ipmi

<Plugin ipmi>
        Sensor "current"
        IgnoreSelected true
        NotifySensorAdd false
        NotifySensorRemove true
        NotifySensorNotPresent flase
</Plugin>

Thanks,
Jie Zhang

Peter Holik | 3 Dec 2009 16:38
Picon
Favicon

Re: ipmi configuration

-NotifySensorNotPresent flase
+NotifySensorNotPresent false

cu Peter
g schrieb:
> Hi,
>
> I am trying to use the IPMI plugin to collect all the sensors except the
> current sensor. I enabled the IPMI plugin and started collectd. But I don't
> know how to find out if the IPMI plugin is running? I don't see any rrd
> files created by it in my rrdfile directory.
>
> Could you please help to see if there is anything wrong with my
> configuration. Here is the configuration of ipmi in /etc/collectd.conf file:
>
> LoadPlugin ipmi
>
> <Plugin ipmi>
>         Sensor "current"
>         IgnoreSelected true
>         NotifySensorAdd false
>         NotifySensorRemove true
>         NotifySensorNotPresent flase
> </Plugin>
>
> Thanks,
> Jie Zhang

Jie Zhang | 3 Dec 2009 17:20
Picon

Re: ipmi configuration


Thank you, that was a typo. But I still get the same error message in my logfile after I changed it. I tried collectd version 4.7.2 and 4.8.1, and got the same error in both logs.

Am I missing any libraries required by IPMI? I installed the following RPM packages on my CentOS:

OpenIPMI-2.0.16-5.el5_4.1
OpenIPMI-devel-2.0.16-5.el5_4.1
OpenIPMI-libs-2.0.16-5.el5_4.1
ipmiutil-2.0.2-1.el5.rf

Jie








On Thu, Dec 3, 2009 at 10:38 AM, Peter Holik <peter-xHLhtm3VSFg@public.gmane.org> wrote:
-NotifySensorNotPresent flase
+NotifySensorNotPresent false

cu Peter
g schrieb:
> Hi,
>
> I am trying to use the IPMI plugin to collect all the sensors except the
> current sensor. I enabled the IPMI plugin and started collectd. But I don't
> know how to find out if the IPMI plugin is running? I don't see any rrd
> files created by it in my rrdfile directory.
>
> Could you please help to see if there is anything wrong with my
> configuration. Here is the configuration of ipmi in /etc/collectd.conf file:
>
> LoadPlugin ipmi
>
> <Plugin ipmi>
>         Sensor "current"
>         IgnoreSelected true
>         NotifySensorAdd false
>         NotifySensorRemove true
>         NotifySensorNotPresent flase
> </Plugin>
>
> Thanks,
> Jie Zhang



_______________________________________________
collectd mailing list
collectd <at> verplant.org
http://mailman.verplant.org/listinfo/collectd

Peter Holik | 3 Dec 2009 17:43
Picon
Favicon

Re: ipmi configuration

Sorry i have no RPM based systems here.

Is ipmi really working, can you see some values with a tool?

Here in debian/ubuntu i use

#> ipmitool sensor

so see some values like

Temp             | 50.000     | degrees C  | ok    | na        | na        | na        | 85.000   
| 90.000    | na
Temp             | 40.000     | degrees C  | ok    | 64.000    | na        | -128.000  | -128.000 
| na        | na
Temp             | 40.000     | degrees C  | ok    | 64.000    | na        | -128.000  | -128.000 
| na        | na
Ambient Temp     | 27.000     | degrees C  | ok    | na        | 3.000     | 8.000     | 42.000   
| 47.000    | na
CMOS Battery     | 0x0        | discrete   | 0x0080| na        | na        | na        | na       
| na        | na

maybe try to add debugging to syslog in collectd.conf

LoadPlugin syslog

<Plugin syslog>
        LogLevel debug
</Plugin>

cu Peter

> Thank you, that was a typo. But I still get the same error message in my
> logfile after I changed it. I tried collectd version 4.7.2 and 4.8.1, and
> got the same error in both logs.
>
> Am I missing any libraries required by IPMI? I installed the following RPM
> packages on my CentOS:
>
> OpenIPMI-2.0.16-5.el5_4.1
> OpenIPMI-devel-2.0.16-5.el5_4.1
> OpenIPMI-libs-2.0.16-5.el5_4.1
> ipmiutil-2.0.2-1.el5.rf

>> -NotifySensorNotPresent flase
>> +NotifySensorNotPresent false

>> > I am trying to use the IPMI plugin to collect all the sensors except the
>> > current sensor. I enabled the IPMI plugin and started collectd. But I
>> don't
>> > know how to find out if the IPMI plugin is running? I don't see any rrd
>> > files created by it in my rrdfile directory.
>> >
>> > Could you please help to see if there is anything wrong with my
>> > configuration. Here is the configuration of ipmi in /etc/collectd.conf
>> file:
>> >
>> > LoadPlugin ipmi
>> >
>> > <Plugin ipmi>
>> >         Sensor "current"
>> >         IgnoreSelected true
>> >         NotifySensorAdd false
>> >         NotifySensorRemove true
>> >         NotifySensorNotPresent flase
>> > </Plugin>

Jie Zhang | 3 Dec 2009 19:56
Picon

Re: ipmi configuration

The ipmitool doesn't work on my box. Here is the result of the command ipmitool sensor:

# ipmitool sensor
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory
Get Device ID command failed
Unable to open SDR for reading

I have to figure out what's wrong with it. It looks my OpenIPMI installation on my CentOS box is not right.

Thank you!

Jie


On Thu, Dec 3, 2009 at 11:43 AM, Peter Holik <peter-xHLhtm3VSFg@public.gmane.org> wrote:
Sorry i have no RPM based systems here.

Is ipmi really working, can you see some values with a tool?

Here in debian/ubuntu i use

#> ipmitool sensor

so see some values like

Temp             | 50.000     | degrees C  | ok    | na        | na        | na        | 85.000
| 90.000    | na
Temp             | 40.000     | degrees C  | ok    | 64.000    | na        | -128.000  | -128.000
| na        | na
Temp             | 40.000     | degrees C  | ok    | 64.000    | na        | -128.000  | -128.000
| na        | na
Ambient Temp     | 27.000     | degrees C  | ok    | na        | 3.000     | 8.000     | 42.000
| 47.000    | na
CMOS Battery     | 0x0        | discrete   | 0x0080| na        | na        | na        | na
| na        | na



maybe try to add debugging to syslog in collectd.conf

LoadPlugin syslog

<Plugin syslog>
       LogLevel debug
</Plugin>

cu Peter

> Thank you, that was a typo. But I still get the same error message in my
> logfile after I changed it. I tried collectd version 4.7.2 and 4.8.1, and
> got the same error in both logs.
>
> Am I missing any libraries required by IPMI? I installed the following RPM
> packages on my CentOS:
>
> OpenIPMI-2.0.16-5.el5_4.1
> OpenIPMI-devel-2.0.16-5.el5_4.1
> OpenIPMI-libs-2.0.16-5.el5_4.1
> ipmiutil-2.0.2-1.el5.rf


>> -NotifySensorNotPresent flase
>> +NotifySensorNotPresent false

>> > I am trying to use the IPMI plugin to collect all the sensors except the
>> > current sensor. I enabled the IPMI plugin and started collectd. But I
>> don't
>> > know how to find out if the IPMI plugin is running? I don't see any rrd
>> > files created by it in my rrdfile directory.
>> >
>> > Could you please help to see if there is anything wrong with my
>> > configuration. Here is the configuration of ipmi in /etc/collectd.conf
>> file:
>> >
>> > LoadPlugin ipmi
>> >
>> > <Plugin ipmi>
>> >         Sensor "current"
>> >         IgnoreSelected true
>> >         NotifySensorAdd false
>> >         NotifySensorRemove true
>> >         NotifySensorNotPresent flase
>> > </Plugin>



_______________________________________________
collectd mailing list
collectd-JVr2FBS8e0Zg9hUCZPvPmw@public.gmane.org
http://mailman.verplant.org/listinfo/collectd

Sergey | 13 Apr 2012 19:22
Picon

Re: ipmi configuration

On Thursday 03 of December 2009 13:56:51 Jie Zhang wrote:

> The ipmitool doesn't work on my box. Here is the result of the command ipmitool sensor:
> 
> # ipmitool sensor
> Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory
> Get Device ID command failed
> Unable to open SDR for reading

Problem was solved for me by "modprobe ipmi_devintf". Full list of modules:

$ lsmod|grep ipmi
ipmi_devintf            8103  2 
ipmi_si                42687  1 
ipmi_msghandler        36150  2 ipmi_devintf,ipmi_si

It does not work on all motherboards. For example it works on  Intel S5500BC
and Intel S5000PAL, but does not works on Intel SRKA4.

--

-- 
Regards, Sergey

Gmane