freeipmi-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Freeipmi-users] How do I use ipmi-sensors-config output (from remot


From: Albert Chu
Subject: Re: [Freeipmi-users] How do I use ipmi-sensors-config output (from remote server) with check_ipmi_sensors plugin in nagios?
Date: Mon, 23 Jul 2012 13:26:14 -0700

On Mon, 2012-07-23 at 11:48 -0700, Brandon wrote:
> Hello Al,
>  I want to thank you very much for your pointer to -x option to the
> plugin. It works as billed! Now I just have to resolve why I can't
> gain access while using the -f /path-to/ipmi.cfg and get an error:
> /usr/local/sbin/ipmi-sensors: password verification timeout 
> 
> 
> But if I use the same info with -U, -P and -L options, it
> authenticates properly.
> I read about the CentOS 5 issues, but I am using CentOS 6 on one
> machines, and Windows on another.Any thoughts there? Thanks again,
> Brandon

I don't maintain the script, so I can't speak if there's a bug/issue in
that script.

Does your config file work w/ ipmi-sensors directly?  i.e.

ipmi-sensors -h myhost --config-file=/path/my-ipmi.cfg

Outside of a typo or something, not sure what it could be.  It's always
possible there's a bug in FreeIPMI.  Is your password along any
interesting boundaries (i.e. 16 bytes long, 20 bytes long) or has a
special character in it?

Al

> 
> On Fri, Jul 20, 2012 at 4:36 PM, Albert Chu <address@hidden> wrote:
>         Hi Brandon,
>         
>         I assume you're using this nagios plugin:
>         
>         http://www.thomas-krenn.com/en/oss/ipmi-plugin.html
>         
>         There is probably some confusion.  The -f option (you list as
>         -F below,
>         I assume you mean -f) is the general FreeIPMI conf file
>         (usually /etc/freeipmi/freeipmi.conf).  It's not the config
>         file from
>         ipmi-sensors-config.
>         
>         To deal with your problem, most users configure the script to
>         eliminate
>         sensors they don't want to monitor.  It appears the
>         check_ipmi_sensor
>         script has a -x option to remove sensors they don't want to
>         monitor.
>         When calling ipmi-sensors directly, the option is the -R
>         option.
>         
>         Hope that helps,
>         Al
>         
>         On Fri, 2012-07-20 at 11:30 -0700, Brandon wrote:
>         > Hi All,
>         >  I would like to know how I can tell check_ipmi_sensors
>         plugin perl script
>         > to update its knowledge of a remote server . It currently
>         sees that 8 fans
>         > are possible, and only reads 3 fans working. I have only 3
>         fans installed.
>         > The output from the ipmi-sensors-config command shows the
>         proper number of
>         > fans ( as does the Supermicro IPMI View GUI utility.) Nagios
>         however throws
>         > critical errors showing that 5 fans are at speed 0. I was
>         hoping I could
>         > somehow use the output from ipmi-sensors-config --checkout
>         put into a file,
>         > and transfer it to the nagios server, and whenever I make a
>         call to the
>         > check_ipmi_sensors plugin, send that as a config file.
>         However, if I try
>         > and use that file directly as -F $ARG$ argument for the
>         config file, it
>         > goes into an UNKNOWN state and complain about line 1 unknown
>         configuration
>         > option "Section". Any pointers would be greatly appreciated.
>         Thanks.
>         
>         > _______________________________________________
>         > Freeipmi-users mailing list
>         > address@hidden
>         > https://lists.gnu.org/mailman/listinfo/freeipmi-users
>         --
>         Albert Chu
>         address@hidden
>         Computer Scientist
>         High Performance Systems Division
>         Lawrence Livermore National Laboratory
>         
>         
> 
> 
-- 
Albert Chu
address@hidden
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory





reply via email to

[Prev in Thread] Current Thread [Next in Thread]