Re: [Nagios-users] check_mysql

2012-05-30 Thread Giles Coochey
On 28/05/2012 13:19, Alexey Terentiev wrote: Hi! I am trying to install the nagios plugins with check-mysql parameter, but its keep failing. It seems that all the librarys needed for the check_msql are installed on the server. But just to make sure, can you send me the names of the libs r

Re: [Nagios-users] check_mysql

2012-05-29 Thread Claudio Kuenzler
On Mon, May 28, 2012 at 2:19 PM, Alexey Terentiev wrote: > Hi! > > ** ** > > I am trying to install the nagios plugins with check-mysql parameter, but > its keep failing. > Show error message please. Usually it already tells you what is missing. > > > It seems that all the librarys ne

Re: [Nagios-users] check_mysql and check_pgsql plugins install on RHEL 5.3

2009-08-18 Thread Marc Powell
On Aug 17, 2009, at 11:27 PM, Chris wrote: > I need check_mysql and check_pgsql; I have downloaded the plugin tgz > from http://nagios.org/download/plugins and I can see the .c files for > Postgres and MySQL. > but when I compile with ./configure --prefix=/plugin > --with-mysql=/usr/ && make && m

Re: [Nagios-users] check_mysql

2008-10-15 Thread Israel Brewster
On Oct 15, 2008, at 11:00 AM, jeremiah wrote: > I want nagios to automatically check mysql services on my servers. > However when i view the web interface i see that staus is UNKNOWN > and it > displays the usage for check_mysql. In what file am i supposed to put > the arguments for this command

Re: [Nagios-users] check_mysql

2008-10-15 Thread Marc Powell
On Oct 15, 2008, at 2:00 PM, jeremiah wrote: > I want nagios to automatically check mysql services on my servers. > However when i view the web interface i see that staus is UNKNOWN > and it > displays the usage for check_mysql. In what file am i supposed to put > the arguments for this command

Re: [Nagios-users] check_mysql

2008-10-15 Thread Ricardo Maraschini
- "jeremiah" <[EMAIL PROTECTED]> wrote: > I want nagios to automatically check mysql services on my servers. > However when i view the web interface i see that staus is UNKNOWN and > it > displays the usage for check_mysql. In what file am i supposed to put > the arguments for this command? >

Re: [Nagios-users] check_mysql plugin ... unable to install

2008-08-30 Thread Agnello George
On 8/30/08, Hugo van der Kooij <[EMAIL PROTECTED]> wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Agnello George wrote: > > hi > > I was searching for mysql plugin to monitor mysql services ... i did > > find the appropriate plugin ( nagios-plugins-1.4.12.tar.gz ) with the > > follo

Re: [Nagios-users] check_mysql plugin ... unable to install

2008-08-30 Thread Hugo van der Kooij
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Agnello George wrote: > hi > I was searching for mysql plugin to monitor mysql services ... i did > find the appropriate plugin ( nagios-plugins-1.4.12.tar.gz ) with the > following command > ./configure --prefix=/usr/local/nagios > make && make instal

Re: [Nagios-users] check_mysql not using ~nagios/.my.cnf on RHEL 4withNagios 2.10 (Dag repository RPM)

2008-02-12 Thread Goltz, Jim (NIH/NLM/LHC) [C]
> I'm running Nagios 2.10 quite successfully on Red Hat Enterprise Linux > 4.  However, I can't seem to get check_mysql to use the proper > configuration files. Problem resolved. Apparently Nagios does not define the environment variable HOME for its plugins, so "~" does not get expanded to the

Re: [Nagios-users] check_mysql not using ~nagios/.my.cnf on RHEL 4 withNagios 2.10 (Dag repository RPM)

2008-02-12 Thread Goltz, Jim (NIH/NLM/LHC) [C]
Sorry for the HTML last time. > I'm running Nagios 2.10 quite successfully on Red Hat Enterprise Linux > 4.  However, I can't seem to get check_mysql to use the proper > configuration files. Some more info: I managed to run check_mysql from a shell script that actually runs the plugin under "str

Re: [Nagios-users] check_mysql not using ~nagios/.my.cnf on RHEL 4 withNagios 2.10 (Dag repository RPM)

2008-02-12 Thread James E. Pratt
Hi, I don't know of any way to get the plugin to see/use the /etc/my.cnf. You could always just give your nagios mysql user very limited rights - connection allowed only from your nagios host, status query rights etc, etc, then use /usr/local/nagios/etc/resource.cfg to "hide" the password in $USE

Re: [Nagios-users] check_mysql -S isn't working

2007-08-02 Thread Marc Powell
> -Original Message- > From: alexus [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 02, 2007 3:01 PM > To: Marc Powell > Cc: Nagios-users@lists.sourceforge.net > Subject: Re: [Nagios-users] check_mysql -S isn't working {Disarmed} > {Fraud?} {Disarmed} {Fraud?

Re: [Nagios-users] check_mysql -S isn't working

2007-08-02 Thread alexus
my replication does work... On 8/2/07, Peter Hinse <[EMAIL PROTECTED]> wrote: > > alexus wrote: > > # ./check_mysql -H 10.52.208.99 -u > > -p x -S > > Slave IO: Yes Slave SQL: No Seconds Behind Master: (null) > > # > > > > how come I get "null" in "No Seconds Beh

Re: [Nagios-users] check_mysql -S isn't working {Disarmed} {Fraud?}

2007-08-02 Thread alexus
ok, 'Seconds Behind Master' does have value of null, but where and what do i need to set, in order for it to function properly? i'm using mysql-5.0.45 On 8/2/07, Marc Powell <[EMAIL PROTECTED]> wrote: > > > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:nagios-users- > > [EMA

Re: [Nagios-users] check_mysql -S isn't working {Disarmed} {Fraud?}

2007-08-02 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of alexus > Sent: Thursday, August 02, 2007 2:24 PM > To: Nagios-users@lists.sourceforge.net > Subject: [Nagios-users] check_mysql -S isn't working {Disarmed} {Fraud?} > > # ./check_mysql -

Re: [Nagios-users] check_mysql -S isn't working

2007-08-02 Thread Peter Hinse
alexus wrote: > # ./check_mysql -H 10.52.208.99 -u > -p x -S > Slave IO: Yes Slave SQL: No Seconds Behind Master: (null) > # > > how come I get "null" in "No Seconds Behind Master? > anyone? Read it as Slave IO: Yes Slave SQL: No Seconds Behind Master: (null)

Re: [Nagios-users] check_mysql - Queries per second avg: Time Frame

2007-07-05 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Eric Hernandez > Sent: Thursday, July 05, 2007 11:15 AM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] check_mysql - Queries per second avg: Time Frame > > Hell Nagio

Re: [Nagios-users] check_mysql - how to store passwords securely

2007-07-02 Thread Jim Perrin
On 7/2/07, Jake Solid <[EMAIL PROTECTED]> wrote: > > I use the NRPE deamon my Nagios server to monitor a remote mysql database. > > I have the following entry in the nrpe.cfg of my remote server that runs > mysql: > > command[check_mysql]=/usr/lib64/nagios/plugins/check_mysql > -d my_database -u r

Re: [Nagios-users] check_mysql plugin will not compile

2006-03-20 Thread Arno Lehmann
Hello, On 3/20/2006 9:11 PM, Lundgren, Scott wrote: Errors I have in config.log: configure:9365: checking for mysql_init in -lmysqlclient configure:9395: cc -o conftest -g -I/opt/csw/include -L. conftest.c -lmysqlclient -L/opt/csw/lib/mysql -lz >&5 ld: fatal: library -lmysqlclient: not foun

RE: [Nagios-users] check_mysql plugin will not compile

2006-03-20 Thread Lundgren, Scott
>> Errors I have in config.log: >> >> configure:9365: checking for mysql_init in -lmysqlclient >> configure:9395: cc -o conftest -g -I/opt/csw/include -L. conftest.c >> -lmysqlclient -L/opt/csw/lib/mysql -lz >&5 >> ld: fatal: library -lmysqlclient: not found >> ld: fatal: File processing error

Re: [Nagios-users] check_mysql plugin will not compile

2006-03-20 Thread Arno Lehmann
Hello, On 3/20/2006 7:28 PM, Lundgren, Scott wrote: I'm getting the following error messages in config.log as I try to compile check_mysql. Can someone tell me why configure is not finding the file? I'm using: nagios-plugins-1.4.2, MySQL 4.1.15 I set: LD_OPTIONS=-R/opt/csw/lib -R/opt/csw/mys

Re: [Nagios-users] check_mysql compile issue - x86_64

2006-02-17 Thread Jim Perrin
> this is on a CentOS 4.2 box (RHEL4) - it can now find the lib but any > ideas on the version issue? Slightly off topic but... Why are you building this from source? It's already been built and packaged in rpm form for use on RHEL/CentOS. I run these packages on centos regularly with no problem

Re: [Nagios-users] check_mysql compile issue - x86_64

2006-02-17 Thread Tom Brown
It's not the *best* solution but a work around to this is to manually edit the configure file before doing your ./configure as the configure file has /usr/lib hard-coded and won't figure out /usr/lib64 without some help *note* all this is from a Red Hat point of view, may require some modificat

Re: [Nagios-users] check_mysql compile issue - x86_64

2006-02-17 Thread Chris Stankaitis
It's not the *best* solution but a work around to this is to manually edit the configure file before doing your ./configure as the configure file has /usr/lib hard-coded and won't figure out /usr/lib64 without some help *note* all this is from a Red Hat point of view, may require some modification

RE: [Nagios-users] check_mysql

2006-01-05 Thread Tedman Eng
We use a lot of ssh-based checks. Compiling nrpe is difficult to do on some linux-based appliances or other locked-down devices. Most of our checks are custom scripts that execute ssh-based remote commands. Though not check_mysql specific, here's some guidelines we follow: 1a) Disable root log

Re: [Nagios-users] check_mysql

2006-01-05 Thread John P. Rouillard
In message <[EMAIL PROTECTED]>, "Marc Powell" writes: >check_by_ssh only allows for host-key based authentication methods, not >password so one issue is already taken care of. What I did was use ssh-agent to keep the decrypted password. I had hacked check_by_ssh (I no longer have access to the h

RE: [Nagios-users] check_mysql

2006-01-05 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Rene Nelson > Sent: Thursday, January 05, 2006 3:48 PM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] check_mysql > > I want to check this via check_by_ssh, but do no

RE: [Nagios-users] check_mysql

2006-01-05 Thread David Johnson
We do this a lot. Where is the mysql server relative to the nagios server?  Would NRPE be an option?  We used to do SSH and find NRPE better because of the passwords issue. We used to due key authethentication to by pass the passwords with SSH if you still want to go that way.  We have also