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

2008-08-30 Thread Agnello George
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 install

only few pligins were added to /usr/local/nagios/libexec/ directory. The
Check_mysql plugin was not added to this dir.
Can any one tell me where i have gone wrong !!

Thanks !!
-- 
Regards
Agnello D'souza
www.linux-vashi.blogspot.com
www.bible-study-india.blogspot.com
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

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 install
  
 only few pligins were added to /usr/local/nagios/libexec/ directory. The
 Check_mysql plugin was not added to this dir.  
 Can any one tell me where i have gone wrong !!

I guess by not reading the output these steps created. I am sure there
will be notices why something is not build.

The most common mistakes:
 - No development environment
 - No MySQL development environment

I suggest you check those and install them the normal way you install
software on your distribution where needed.

If that does not work AND doing a search on the archives of this
mailinglist did not provide in working clues then send relevant
error/warning information, details about your system,  to the
mailinglist.

Hugo.

- --
[EMAIL PROTECTED]   http://hugo.vanderkooij.org/
PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc

A: Yes.
Q: Are you sure?
A: Because it reverses the logical flow of conversation.
Q: Why is top posting frowned upon?

Bored? Click on http://spamornot.org/ and rate those images.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFIuPDqBvzDRVjxmYERApy0AJwPQpJWxNixvdrGZDBgnh5wR/UgcgCfW5Hq
FtBOLejO8qGaRwB0stxyagA=
=6D3s
-END PGP SIGNATURE-

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


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
  following command
  ./configure --prefix=/usr/local/nagios
  make  make install
 
  only few pligins were added to /usr/local/nagios/libexec/ directory. The
  Check_mysql plugin was not added to this dir.
  Can any one tell me where i have gone wrong !!

 I guess by not reading the output these steps created. I am sure there
 will be notices why something is not build.

 The most common mistakes:
 - No development environment
 - No MySQL development environment



HI
Thanks a lot  i didnt have mysql-devel in my system . i installed it
and the re-ran the ./configure command ... and now the check_mysql plugin is
installed in the right place .
Thanks again.
-- 
Regards
Agnello D'souza
www.linux-vashi.blogspot.com
www.bible-study-india.blogspot.com
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Reg: CHECK_NRPE: Socket timeout after 60 seconds

2008-08-30 Thread asam30
another questio, does the nrpe compiled with ssl or without?

if it is without, then try using -n after the command




On Fri, Aug 29, 2008 at 9:02 PM, Assaf Flatto [EMAIL PROTECTED]wrote:

 Can you provide some data ?

 Like what are you trying to run ?
 what is the load on the machine your trying to test ?
 what is the  PING RTA to the machine ?
 what is the timeout defined in the nrpe.cfg  for the machine you are trying
 to check ?
 does the nrpe limit the servers that can connect to it ? maybe your nagios
 IP is not in the
 definitions ?

 Assaf

 On Friday 29 August 2008 14:27:54 [EMAIL PROTECTED] wrote:
  Hi,
   I have received the CHECK_NRPE: Socket timeout after 60 seconds error
  while running the command (own script and which is working on other
 server)
  I am able to run other commands without any error. could anyone help me.
 
  Regards
  G. Mohan Kumar
 
  http://www.wipro.com






 IMPORTANT . this email and the information in it may be confidential,
 legally
 privileged and/or protected by law. It is intended solely for the use of
 the
 person to whom it is addressed. If you are not the intended recipient,
 please
 notify the sender immediately and do not disclose the contents to any other
 person, use it for any purpose, or store or copy the information in any
 medium.
 Please also delete all copies of this email and any attachments from your
 system.

 We cannot guarantee the security or confidentiality of email
 communications. We
 do not accept any liability for losses or damages that you may suffer as a
 result of your receipt of this email including but not limited to computer
 service or system failure, access delays or interruption, data non-delivery
 or
 mis-delivery, computer viruses or other harmful components.

 Copyright in this email and any attachments belong to Select Service
 Partner UK
 Limited. Should you communicate with anyone at Select Service Partner UK
 Limited by
 email, you consent to us monitoring and reading any such correspondence.

 Nothing in this email shall be taken or read as suggesting, proposing or
 relating to any agreement concerted practice or other practice that could
 infringe UK or EC competition legislation.

 Select Service Partner UK Limited is a company registered in England and
 Wales
 (company number 05687183) whose registered office is at 1 The Heights,
 Brooklands, Weybridge. Surrey. KT13 0NY



 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null




-- 
Shankar Asam
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] nrpe installation

2008-08-30 Thread asam30
run the same command from the nagios server to see if the nrpe working
between nagios server and client.

on the nagios server, if the nagios is installed at /usr/local/nagios then
/usr/local/nagios/libexec/check_nrpe -H ip-of-the-nagios-client -c
check_users

if you get the output then, it compiled and working fine.




On Fri, Aug 29, 2008 at 3:16 PM, Krishna Chandra Prajapati 
[EMAIL PROTECTED] wrote:

 I have executed on remote server

 [EMAIL PROTECTED] ~]# /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1
 NRPE v2.12
 [EMAIL PROTECTED] ~]# /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1
 -n
 CHECK_NRPE: Error receiving data from daemon.
 [EMAIL PROTECTED] ~]# vi /usr/local/nagios/etc/nrpe.cfg
 [EMAIL PROTECTED] ~]# /usr/local/nagios/libexec/check_users -w 5 -c 10
 USERS WARNING - 5 users currently logged in |users=5;5;10;0



 On Fri, Aug 29, 2008 at 3:06 PM, [EMAIL PROTECTED] wrote:

   only_from= 127.0.0.1 nagios_ip_address(here nagios server
 ip address given or Monitoring server)



 Only allow access to nrpe deamon from localhost and the IP of the Nagios
 server ( You don't want other systems to connect nrpe deamon)



 ( Run the below commands and send check the error message)



 /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1



 usr/local/nagios/libexec/check_nrpe -H 127.0.0.1  -n



 Also enable logging in nrpe.cfg and check the log.



 Regards,

 Naren



 *From:* Krishna Chandra Prajapati [mailto:[EMAIL PROTECTED]
 *Sent:* Friday, August 29, 2008 3:01 PM
 *To:* Narendran Neelamegam (WT01 - TECHNOLOGY INFRASTRUCTURE SERVICES
 (GS))
 *Cc:* nagios-users@lists.sourceforge.net
 *Subject:* Re: [Nagios-users] nrpe installation



 Hi,

 nrpe daemon is running on the remote box. One thing is not clear to me (
 from nrpe docs)

 Edit the /etc/xinetd.d/nrpe file and add the IP address of the monitoring
 server to the only_from directive.
 only_from= 127.0.0.1 nagios_ip_address(here nagios server
 ip address given or Monitoring server)

 After executing on remote server
 netstat -at | grep nrpe

 tcp 0   0 *:nrpe*:*LISTEN

 (below check_nrpe is not working)
 Next, check to make sure the NRPE daemon is functioning properly. To do
 this, run the check_nrpe plugin that
 was installed for testing purposes.
 /usr/local/nagios/libexec/check_nrpe -H localhost
 You should get a string back that tells you what version of NRPE is
 installed, like this:
 NRPE v2.8
 could not complete ssl handshake



  On Fri, Aug 29, 2008 at 2:22 PM, [EMAIL PROTECTED] wrote:

 You don't need nrpe on both the monitoring and the remote sever.



 You need check_nrpe –on monitoring server and nrpe on the remote/monitored
 server.



 I hope you have read the relevant section of the nrpe installation
 document.



 Do you have additional information on the remote server such as OS etc.



 What trouble shooting steps you carried out?



 Naren



 *From:* [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] *On Behalf Of *Krishna
 Chandra Prajapati
 *Sent:* Friday, August 29, 2008 2:07 PM


 *To:* nagios-users@lists.sourceforge.net
 *Subject:* [Nagios-users] nrpe installation



 I have setup nagios server its working properly. Now i need to add remote
 server. So i have to install nrpe on monitoring server and  remote server.
 But i am not able to configure nrpe properly on remote and monitoring server
 although installed.properly


 Any body please tell me how to configure nrpe on both remote and
 monitoring server


 --
 Krishna Chandra Prajapati

 *Please do not print this email unless it is absolutely necessary. *

 The information contained in this electronic message and any attachments
 to this message are intended for the exclusive use of the addressee(s) and
 may contain proprietary, confidential or privileged information. If you are
 not the intended recipient, you should not disseminate, distribute or copy
 this e-mail. Please notify the sender immediately and destroy all copies of
 this message and any attachments.

 WARNING: Computer viruses can be transmitted via email. The recipient
 should check this email and any attachments for the presence of viruses. The
 company accepts no liability for any damage caused by any virus transmitted
 by this email.

 www.wipro.com




 --
 Krishna Chandra Prajapati
 MySQL DBA,
 Ed Ventures e-Learning Pvt.Ltd.
 1-8-303/48/15, Sindhi Colony
 P.G.Road, Secunderabad.
 Pin Code: 53
 Office Number: 040-66489771
 Mob: 9912924044
 URL: ed-ventures-online.com
 Email-id: [EMAIL PROTECTED]

 *Please do not print this email unless it is absolutely necessary. *

 The information contained in this electronic message and any attachments
 to this message are intended for the exclusive use of the addressee(s) and
 may contain proprietary, confidential or privileged information. If you are
 not the intended recipient, you should not disseminate, distribute or copy
 this e-mail. Please notify the sender immediately and destroy all copies of