[Nagios-users] NRPE uninstall?

2008-04-17 Thread sachin holikar
Hi,
   
  We have a working Nagios Setup. Now we decided to use new nagios version i.e. 
3.0 and a new system as well.
  
Accordingly installed nagios 3.0 on it and NRPE 2.12v . All looks ok until I 
tried to do NRPE on our existing configured Hosts and it gave the error as ,
   
  CHECK_NRPE: Error - Could not complete SSL handshake.
   
  Few docs suggests that it is becazue of the version difference between 2 NRPE 
installations.
  old one is NRPE 2.10 and new nrpe server is 2.12. 
  Is it the real cauze of the above error?
   
  If so then I will uninstall NRPE 2.12 and reinstall with the 2.10 version. 
Could you someone suggest how to uninstall existing NRPE 2.12 version from the 
system ? Or should I just go with another installation?
   
  Thanx in advance.
   
  -Sac

   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
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 uninstall?

2008-04-17 Thread sachin holikar
You rock Sebastian !! This was exactly the case. For now have kept the original 
entry and just added the new one as well. And it gave me the required o/p.
   
  Just dont know why Nagios Support site says this then ?
   
  Description:When attempting to use the check_nrpe plugin, the 
following error message is printed: 
  CHECK_NRPE: Error - Could not complete SSL handshake 
 
Solution:This error message could be due to several problems: 
  
   Different versions. Make sure you are using the same version of the 
check_nrpe plugin and the NRPE daemon. Newer versions of NRPE are usually not 
backward compatible with older versions. 

  Any idea ? Am I going to face any issues later on ? If so then I can easily 
go ahead with older version of NRPE installation.
   
   
  Thanx

Sebastian Ries [EMAIL PROTECTED] wrote:
  Hi

 
 We have a working Nagios Setup. Now we decided to use new nagios
 version i.e. 3.0 and a new system as well.
 
 Accordingly installed nagios 3.0 on it and NRPE 2.12v . All looks ok
 until I tried to do NRPE on our existing configured Hosts and it gave
 the error as ,
 
 CHECK_NRPE: Error - Could not complete SSL handshake.

Take a look at the log on the remote machine nrpe is running on.
Mostly this error occurs when the nrpe daemon does not allow connections
from the nagios server.
Have a look at allowed_hosts in your nrpe config.
Does this contain the IP-Adress of the old nagios server?

Regards
Sebastian Ries

-- 

DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart
Tel: +49-711-849910-36 Fax: +49-711-849910-936
WEB: http://www.dtnet.de/ email: [EMAIL PROTECTED]

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
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


   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
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

[Nagios-users] strange error

2008-03-14 Thread sachin holikar
Hi,
  Just in the initial phase of Nagios Configuration. Successfully
 installed Nagios Server part and 1 remote host. Now when I added one more
 host to the setup , while restarting nagios service , it gives us the
 error as 
   
  Warning: Host 'c04' has no services associated with it
   
  And the Graphical view shows this host  but the status remains as
 PENDING 
   
  c04 PENDING  N/A  0d 0h 3m 58s+
  Host has not been checked yet 
   
   
  What could be the problem ?
   
   
  Thanx in advance.
   

   
-
Never miss a thing.   Make Yahoo your homepage.-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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] strange error

2008-03-14 Thread sachin holikar
Whatever servers i m adding with the help of NRPE Nagios server is not able 
to check it.
  Same error for one more newly added host now.
   
  I am confused.

Marc Powell [EMAIL PROTECTED] wrote:
  Please always respond on list.

 -Original Message-
 From: sachin holikar [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 14, 2008 9:19 AM
 To: Marc Powell
 Subject: Re: [Nagios-users] strange error
 
 
 Hi Marc,
 
 Noits not so... I have defined c04 in c04.cfg file as,

Yes, I'm afraid it is as far as nagios is concerned.

 # Define a service to ping the local machine
 define service{
 use local-service ; Name of
service
 template to use 
 host_name c04
 service_description PING
 check_command check_ping!100.0,20%!500.0,60%
 }
 define service{
 use local-service
 host_name c04
 service_description load
 check_command check_nrpe!check_load
 }

 What could be the issue?

Nagios isn't reading the file c04.cfg then. Do you have it specified as
a cfg_file in nagios.cfg? Or, does it live in a directory specified as a
cfg_dir in nagios.cfg? The program at
http://oss.op5.se/nagios/getnagioscfg.c might help show you the cfg
files that nagios has been told about.

--
Marc

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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


   
-
Never miss a thing.   Make Yahoo your homepage.-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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

[Nagios-users] Email notification stopped!!

2008-03-07 Thread sachin holikar
 
  Hi,
   
  We have configured Nagios 2.9 onto Linux Box recently. In the event of an 
issue , Email notification is being sent to my mailbox. Everthing was setup so 
far. 
  Suddenly the Email notifications have stopped coming.
   
  I checked the log files and found that notifications are getting sent , it 
just that mail is not getting generated. This I checked from maillog.
   
  See below,
  /var/log/nagios/nagios
   
  [1204896767] SERVICE ALERT: localhost;HTTP;WARNING;SOFT;1;HTTP WARNING: 
HTTP/1.1 404 Not Found
[1204896827] SERVICE ALERT: localhost;HTTP;WARNING;HARD;2;HTTP WARNING: 
HTTP/1.1 404 Not Found
[1204896827] SERVICE NOTIFICATION: 
itsme;localhost;HTTP;WARNING;notify-by-email;HTTP WARNING: HTTP/1.1 404 Not 
Found
   
  Now whats gone wrong suddenly?
  Is there any way to check out??
   
  Thanks in advance.
   
  -Sachin
  
 

   
-
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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

[Nagios-users] executing custom script as notification!!

2008-03-07 Thread sachin holikar
Hi,
   
  We have this custom made script for sending alert messages to our remote 
Monitoring Team. Now we are required to integrate this with Nagios. Instead of 
sending Nagios Email alert, is there any way we can execute this custom made 
script by sending the parameters such as $SERVICESTATE $HOST etc etc to it? So 
that, this script will get executed on the host in the case of Nagios Alert 
Event. And the alert will be sent to our monitoring team?
 In simplex term we want to execute a script whenever Nagios detects there is a 
problem.
Can someone give some hints ?
   
  Thanks in advance.

   
-
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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

[Nagios-users] Can Nagios execute a script ??

2008-03-04 Thread sachin holikar
 
  Hi,
   
  We ave installed Nagios 2.9 setup recently. Now for the alerting machanism we 
already have a tool in place. Now we need to integrate it with Nagios Alerting 
mechanism.
  In order to do it , there is a need to execute a script lets say abc.sh with 
specific parameters. 
  Now question is does Nagios has the facility to execute an external script? 
  If yes how do we do it? Can you suggest any help pages?
   
  Thanks,
  -Sac

   
-
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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] Fwd: help needed

2008-02-24 Thread sachin holikar
Hi,
   
  Just thought that I missed out 1 point here. When I press View Config Tab , 
its not that I get this error straightaway. We do get a page with a drop down 
box from where we need to select proper option say Systems,Services etc. And 
when we select it and press continue tab..very next screen we get this error.
   
  Still no help !!

Marc Powell [EMAIL PROTECTED] wrote:
  

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
 Sent: Friday, February 22, 2008 8:55 AM
 To: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] Fwd: help needed
 
 
 
 [EMAIL PROTECTED] wrote on 02/22/2008
12:14:56
 AM:
 
 
  Hi,
 
  Thanks all for the replies. But hard luck. Ultimately I have enabled
  every single option by putting * against it. Still View Config
  seems to be not working for me.
 
  nagios_check_command=/usr/local/NAGIOS/libexec/check_nagios /usr/
  local/NAGIOS/var/status.dat 5 '/usr/local/NAGIOS//bin/nagios'
 

OP: 'NAGIOS' is unusual. Do you mean 'nagios'?

  use_authentication=0


 I would change all of that:
 
 use_authentication=1


 any issue with the http auth and go from there. I believe, but could
be
 wrong, since you have use_authentication set to 0 that it is not
parsing
 anything having to do with authorization afterwards.

You are correct.

--
Marc

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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


   
-
Never miss a thing.   Make Yahoo your homepage.-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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

[Nagios-users] Fwd: help needed

2008-02-21 Thread sachin holikar
Hi Mark,
   
  First of all, thanks for the reply. Ok fact is , I had written a detailed 
mail on the scenario but believe it or not , it was getting refused 
continuously by the nagios forum. And the only option remained with me is to 
reduce the mail as much as I could, thinking that some of the words might not 
be appropriate ? for this forum. And yes again believe it or not , I could 
manage to send the below mail atlast. 
That said , I am again giving a try to describe the problem and the 
steps I had taken so far. 
   
   Complete Error  Message -- It appears as though you do not have 
permission to view the configuration information you requested...
  If you believe this is an error, check the HTTP server authentication 
requirements for accessing this CGI and check the authorization options in your 
CGI configuration file.
   
  Now I allowed as much of the options (related to External Command Execution) 
in nagios.cfg
  To name few ,
   
  check_external_commands=1
  log_external_commands=1
   
  In cgi.cfg
   
  nagios_check_command=/usr/local/NAGIOS/libexec/check_nagios 
/usr/local/NAGIOS/var/status.dat 5 '/usr/local/NAGIOS//bin/nagios'
   
   
  Now I'm not sure if there is any other option that  I have missed out as I 
have just started working on NAGIOS.
  I could configure it till Graphical access but it just that View Config is 
not working for me.
   
  Other information of our setup is,
   
  OS - RedHat Linux EL 4.0
  Nagios Version 2.9

  If you require any more info then please let me know.
   
  Thanks.
  Sac

Note: forwarded message attached.

   
-
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.---BeginMessage---
Hi ,
   
  We are not able to access  View Config option tab in Web Access. Getting 
the CGI permission error. Could someone point out what could be the problem/s

   
-
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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---End Message---
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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] Fwd: help needed

2008-02-21 Thread sachin holikar
 
  Hi,
   
  Thanks all for the replies. But hard luck. Ultimately I have enabled every 
single option by putting * against it. Still View Config seems to be not 
working for me.
   
  nagios_check_command=/usr/local/NAGIOS/libexec/check_nagios 
/usr/local/NAGIOS/var/status.dat 5 '/usr/local/NAGIOS//bin/nagios'
   
  use_authentication=0
authorized_for_system_information=*
authorized_for_configuration_information=*
  authorized_for_system_commands=*
authorized_for_all_services=*
authorized_for_all_hosts=*
authorized_for_all_service_commands=*
authorized_for_all_host_commands=*

  And still getting the same error. Now what ???

   
   
  
Jeff C. Benger [EMAIL PROTECTED] wrote:
v\:* {behavior:url(#default#VML);}  o\:* {behavior:url(#default#VML);}  
w\:* {behavior:url(#default#VML);}  .shape {behavior:url(#default#VML);}

http://www.google.com/search?hl=enq=It+appears+as+though+you+do+not+have+permission+to+view+the+configuration+information+you+requested...
   
   
  http://www.nagios.org/faqs/viewfaq.php?faq_id=352
   
  check cgi.cfg
   
   
  
-
  
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of sachin holikar
Sent: Thursday, February 21, 2008 9:02 PM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Fwd: help needed

   
Hi Mark,

 

First of all, thanks for the reply. Ok fact is , I had written a detailed 
mail on the scenario but believe it or not , it was getting refused 
continuously by the nagios forum. And the only option remained with me is to 
reduce the mail as much as I could, thinking that some of the words might not 
be appropriate ? for this forum. And yes again believe it or not , I could 
manage to send the below mail atlast. 

  That said , I am again giving a try to describe the problem and 
the steps I had taken so far. 

 

 Complete Error  Message -- It appears as though you do not have 
permission to view the configuration information you requested...

If you believe this is an error, check the HTTP server authentication 
requirements for accessing this CGI and check the authorization options in your 
CGI configuration file.

 

Now I allowed as much of the options (related to External Command 
Execution) in nagios.cfg

To name few ,

 

check_external_commands=1

log_external_commands=1

 

In cgi.cfg

 

nagios_check_command=/usr/local/NAGIOS/libexec/check_nagios 
/usr/local/NAGIOS/var/status.dat 5 '/usr/local/NAGIOS//bin/nagios'

 

 

Now I'm not sure if there is any other option that  I have missed out as I 
have just started working on NAGIOS.

I could configure it till Graphical access but it just that View Config is 
not working for me.

 

Other information of our setup is,

 

OS - RedHat Linux EL 4.0

Nagios Version 2.9

If you require any more info then please let me know.

 

Thanks.

Sac

Note: forwarded message attached.



-
  
  Looking for last minute shopping deals? Find them fast with Yahoo! Search.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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

   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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

[Nagios-users] help needed

2008-02-20 Thread sachin holikar
Hi 
  Could you please help me giving proper documentation of NAGIOS.
   
   
  Thanks
   
  Sachin

   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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

[Nagios-users] help needed

2008-02-20 Thread sachin holikar
Hi ,
   
  We are not able to access  View Config option tab in Web Access. Getting 
the CGI permission error. Could someone point out what could be the problem/s

   
-
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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

[Nagios-users] NRPE not working --- 127 Error code

2008-02-19 Thread sachin holikar
Hi All,
  
Getting following error (Return code of 127 is out of bounds - plugin may be 
missing)   when we configured few services on a remote system using NRPE. Have 
installed nagios plugins using RPM and NRPE using compile code.Post 
installations all
 the plugins were on /usr/lib/nagios/plugins/ . Thinking that this would be 
the issue , have copied all the plugins to
/usr/local/nagios/libexec/ .Currently all the plugins are present under 
/usr/local/nagios/libexec/  /usr/lib/nagios/plugins/  as well.
  What could be the issue? Please gve us atleast a hint.
   
  Thanks,

   
-
Never miss a thing.   Make Yahoo your homepage.-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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