[Top][All Lists]
[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: |
Brandon |
Subject: |
Re: [Freeipmi-users] How do I use ipmi-sensors-config output (from remote server) with check_ipmi_sensors plugin in nagios? |
Date: |
Tue, 24 Jul 2012 15:12:17 -0400 |
I thought maybe it was an issue with a special character but doesn't make
sense since i can put that password on the command line but not in a file.
Also I see a peculiar behavior in that using the Supermicro IPMI View
utility.
I can create a secondary user which works from a file when contacting a
server running Windows OS but not Linux. I can log into the IPMI View with
the new user and password from the GUI, but not using ipmi_sensors nor
check_ipmi_sensor (Linux), but that all works on to my IPMI subsystem on
the Windows based server. I need some more machines to try this out on
before I make any correlations.
So currently,
1- I can get things to work when reading from a file using an Admin or
other account to the IPMI port of the Windows server
2- I cannot get any user logged in successfully when reading from a file to
my Linux serve, but can
a- Use check_ipmi_sensor (using -U -P -L for the ADMIN account only -
even if the privilege level is not correct, ie- I put in "user" instead of
Administrator, and case does not matter either ) but not reading the same
info from a file ( -f /etc/ipmi-config/hostname-ipmi.cfg ) : I get:
"/usr/local/sbin/ipmi-sensors: password verification timeout"
error
b- I can create and log in to IPMI View successfully using a user level
account, which I call "monitoring" , but cannot connect in any way (command
line or reading info from a file) using this account with ipmi_sensors or
check_ipmi_sensor command from my Nagios server. Here I get
"/usr/local/sbin/ipmi-sensors:: username invalid"
Perplexed.
On Mon, Jul 23, 2012 at 4:26 PM, Albert Chu <address@hidden> wrote:
> 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
>
>
>