Re: [Nagios-users] command line Acknowledgments

2008-04-17 Thread Oliver Hookins
On Thu Apr 17, 2008 at 23:46:29 -0700, Mike wrote:
>To All;
>
>Is there a way to either acknowledge an alert or  turn off
>checks/notifications  for a host from the command line?  This would be
>useful for when you don't have your laptop with you, but you want to
>acknowledge a page from nagios through a cellphone with an ssh client.

You can acknowledge an alert using commands submitted to the external
command file:

http://www.nagios.org/developerinfo/externalcommands/commandlist.php

How you interface this with devices like cell phones is up to you. You could
use an SMS provider to allow you to send an SMS back to the Nagios server
and acknowledge a notification without even having to log in, potentially.

-- 
Regards,
Oliver Hookins
Anchor Systems

-
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 Sebastian Ries
Hi

> And note that you cannot *comment the end of that line*.

What exactly do you mean?

Do you want to say that if I add

allowed_hosts=ip.of.nagios.server# 

to my nrpe.conf this line is not parsed an treated as if the whole line
was a comment?

This is the case in postfix configuration (and it is documented
there...)

Regards
Sebastian

-- 

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


[Nagios-users] command line Acknowledgments

2008-04-17 Thread Mike
To All;

Is there a way to either acknowledge an alert or  turn off
checks/notifications  for a host from the command line?  This would be
useful for when you don't have your laptop with you, but you want to
acknowledge a page from nagios through a cellphone with an ssh client.

Thanks,

Mike

-
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] problem with service details...

2008-04-17 Thread Jorge L. Vazquez
I've just installed nagios, and the client on a host windows machine,
but the nagios console in the service detail pane is showing status
unknown, and under status details I get "Server port must be an
integer".. Is there an specific port that nagios is supposed to run on
the server?.. it seems like a connection problem, well the problem is
that the server is not reading or monitoring any of the services on the
client machine.
 
Any help appreciated
 
Thanks
http://www.pcteckonline.org  
 
 
-
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] check_users: list the users?

2008-04-17 Thread Matthias Flacke
Jay R. Ashworth wrote:
 > I'm setting check_users (via nrpe) to warn at 1 and CRIT at 3 users --
 > I'm putting this on servers that, typically, have no humans logged in
 > at all.
 >
 > Since that's true, I'd like to have the list of users from who -q
 > returned as part of the status message.
 >
 > a) Is this a not uncommon usage, and when I patch the program, should I
 > therefore post and or submit a patch to do this?
 >
 > b) How long can that status message become without breaking 1) nagios
 > and 2) nrpe?
 >
 > Anyone have opinions, answers, or pointers?

...as a check_multi snippet (uses Nagios3 multiline feature):

$ cat users.cmd
command [ count ] = check_users -w 1 -c 3
command [ who_q ] = who -q | head -1

$ ./check_multi -n users -f users.cmd -r 1
users CRITICAL - 2 plugins checked, 1 critical (users), 1 ok
[ 1] users USERS CRITICAL - 3 users currently logged in
[ 2] who_q mflacke mflacke mflacke

Greetz,
Matthias Flacke

-- 
http://my-plugin.de/check_multi

-
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] check_users: list the users?

2008-04-17 Thread Gary Every
Could write a script that runs on the local machine(s) when called from
nagios via snmp

This will require that all snmp's are set up alike on all the local
machines, and a line formatted similarly below be added to each
/etc/snmp/snmpd.conf file:

exec check_users /usr/local/bin/check_users.sh


#!/bin/bash
## Title: check_users.sh

## This will check the users logged in and report a crit if there are too
many
WHO=/usr/bin/who
WC=/usr/bin/wc
WARN=1
CRIT=3
users=`$WHO`
output=`$WHO | $WC -l`

if [ "$output" = "1" ]  || [ "$output" = "2" ]
then
RETVAL=1
elif [ "$output" -gt "2" ]
then
RETVAL=2
fi


if [ "$users" = "" ]
then
users="No users logged in"
fi

## Let's output it:
echo $users
exit $RETVAL


Restart your snmpd

Now, from the nagios box cli:
/usr/lib/nagios/plugins/check_snmp -H YOUR_HOST_TO_CHECK  -C
YOUR_SNMP_COMMUNITY_STRING -o
enterprises.ucdavis.extTable.extEntry.extResult.NUMBER,enterprises.ucdavis.extTable.extEntry.extOutput.NUMBER
-w 0 -c 1

where:
NUMBER above is actually the exec command you want to execute in the
snmpd.conf file. You can have many "exec" lines, and they are accessed via
this number. For example:

\
exec check_users /usr/local/bin/check_users.sh
exec check_procs /usr/local/bin/check_procs.sh


If those are the only two, then you access check_users.sh by replacing
NUMBER with 1
or check_procs.sh by replacing it with 2, and so on . . . .

HTH!
G.~



On Thu, Apr 17, 2008 at 2:06 PM, Jay R. Ashworth <[EMAIL PROTECTED]> wrote:

> I've just installed Nagios 3 and begun to configure it for my network
> (25ish servers, all but 2 running Linux, 250ish workstations, all but
> about 25 running Ubuntu), and after slogging through "SSL error" on
> check_nrpe -- which means about 3 different things having nothing to do
> with SSL -- and the ever popular "audio embeds *aren't*
> application/wav; they're audio/x-wav, just ask my mime.types file"
> problems, I'm now up to the possibly uncommon way I want to use
> check_users...
>
> I'm setting check_users (via nrpe) to warn at 1 and CRIT at 3 users --
> I'm putting this on servers that, typically, have no humans logged in
> at all.
>
> Since that's true, I'd like to have the list of users from who -q
> returned as part of the status message.
>
> a) Is this a not uncommon usage, and when I patch the program, should I
> therefore post and or submit a patch to do this?
>
> b) How long can that status message become without breaking 1) nagios
> and 2) nrpe?
>
> Anyone have opinions, answers, or pointers?
>
> Cheers,
> -- jra
> --
> Jay R. Ashworth   Baylink
> [EMAIL PROTECTED]
> Designer The Things I Think   RFC
> 2100
> Ashworth & Associates http://baylink.pitas.com '87
> e24
> St Petersburg FL USA  http://photo.imageinc.us +1 727 647
> 1274
>
> Those who cast the vote decide nothing.
> Those who count the vote decide everything.
>   -- (Joseph Stalin)
>
> -
> 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
>



-- 
Gary Every
"Pay it Forward!"
-
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] linux memory usage graph using nagiosgraph

2008-04-17 Thread Joe Astrologo
I am able to graph CPU statistics but not memory stats for my linux clients.

I use NRPE to monitor memory on my linux clients.


nagios graph map config is below:



# Service Type Linux Memory Check
# output:Memory Check: total:1106.54 Mb - used: 304.37 Mb (28%) - free:
802.16 Mb (72%)
 /output:Memory Check: total:([-.0-9]+) Mb - used: ([-.0-9]+) Mb \((\d+)%\)
- free: ([-.0-9]+) Mb \((\d+)%\)/
 and push @s, [ memory,
  [ bytesmax, GAUGE, $1*1024**2 ],
  [ bytesused, GAUGE, $2*1024**2 ],
  [ pctused, GAUGE, $3 ],
  [ bytesfree, GAUGE, $4*1024**2 ],
  [ pctfree, GAUGE, $5 ] ];
-
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] check_users: list the users?

2008-04-17 Thread Jay R. Ashworth
I've just installed Nagios 3 and begun to configure it for my network
(25ish servers, all but 2 running Linux, 250ish workstations, all but
about 25 running Ubuntu), and after slogging through "SSL error" on
check_nrpe -- which means about 3 different things having nothing to do
with SSL -- and the ever popular "audio embeds *aren't*
application/wav; they're audio/x-wav, just ask my mime.types file"
problems, I'm now up to the possibly uncommon way I want to use
check_users...

I'm setting check_users (via nrpe) to warn at 1 and CRIT at 3 users --
I'm putting this on servers that, typically, have no humans logged in
at all.

Since that's true, I'd like to have the list of users from who -q
returned as part of the status message.

a) Is this a not uncommon usage, and when I patch the program, should I
therefore post and or submit a patch to do this?

b) How long can that status message become without breaking 1) nagios
and 2) nrpe?

Anyone have opinions, answers, or pointers?

Cheers,
-- jra
-- 
Jay R. Ashworth   Baylink  [EMAIL PROTECTED]
Designer The Things I Think   RFC 2100
Ashworth & Associates http://baylink.pitas.com '87 e24
St Petersburg FL USA  http://photo.imageinc.us +1 727 647 1274

 Those who cast the vote decide nothing.
 Those who count the vote decide everything.
   -- (Joseph Stalin)

-
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] Recurring Notification Problem

2008-04-17 Thread Hugo van der Kooij
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Daniels, Mike wrote:

| define  service {
| host_name
|
CountyServer-Ardmore,CountyServer-Balm,CountyServer-Bayview,CountyServer-TestServer,CountyServerDMZ-Springhurst,CountyServerDMZ-VTH-Web,CountyServerDMZ-Web-Dev
| service_description Terminal Services
| is_volatile 1

This means you want to know it is there is the slightest change in the
output during a warning or critical phase.

So once every service check makes perfect sense. It is what you
explicitly asked for in your configuration.

Please consult the fine manual to understand what volatile means.

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)

iD8DBQFIB7CPBvzDRVjxmYERAoNaAKCBci26eLiTmIJmPkVDi/FBBnn2bACfdg9d
IujptYfTozHAw69YUFmXrJQ=
=j9mn
-END PGP SIGNATURE-

-
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] check_logfiles documentation

2008-04-17 Thread Jay R. Ashworth
On Thu, Apr 17, 2008 at 03:20:20PM -0400, Victor Lanza wrote:
> Ok, so thanks to that small detail I was able to test the check_logfiles and
> everything works like a charm, I get the seekfile as well as the protocol
> file with results.
> 
> Now when I set up the commands again in Nagios and the service checks I get
> the following in the interface:
> 
> (No output returned from plugin)
> 
> The command is set up this way:
> 
> define command{
>   command_namecheck_nrpe_log

I suspect you don't want to do it that way.

>   command_line$USER1$/check_nrpe -p 5666 -H $HOSTADDRESS$ -c
> $ARG1$
>   }
> 
> The service is set up this way:
> 
> define service{
>   use master-service
>   hostrflx01app
>   service_description Websphere Logs
>   check_command   check_nrpe_log!check_logfiles
>   }
> 
> Now I try running the command via the command line from the Nagios server
> (not the server being monitored) with the following:
> 
> 
> check_nrpe -H 192.168.1.90 -p 5666 -c check_logfiles
> 
> This should be the equivalent of the command being issued by Nagios based on
> the setup above. The results are:
> 
> CRITICAL -(17 errors, 1 warning) - [4/17/08 13:51:42:420 EDT] 0037
> SystemOut 0   java.lang.Exception: DBPool returned NULL
> connection.   ...|websphere_lines=598 websphere_warnings=1
> websphere_criticals=17 websphere_unknowns=0
> 
> Why can't Nagios receive or interpret these results? Do I need a separate
> plugin for that? I haven't read much on NSCA but is that what I need? (I had
> to learn that from scratch :( if that's the case)

No, if you can get to that point from the command line on the
monitoring machine, then you should be ok into Nagios, I would expect.

I see that the first hyphen on the response line is *not* followed by a
space, as I've come to expect... but I'll defer to Gerhard and others
on the formatting of the plugin return string; that's magic deeper than
mine at the moment.

Cheers,
-- jra
-- 
Jay R. Ashworth   Baylink  [EMAIL PROTECTED]
Designer The Things I Think   RFC 2100
Ashworth & Associates http://baylink.pitas.com '87 e24
St Petersburg FL USA  http://photo.imageinc.us +1 727 647 1274

 Those who cast the vote decide nothing.
 Those who count the vote decide everything.
   -- (Joseph Stalin)

-
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] check_logfiles documentation

2008-04-17 Thread Victor Lanza
Ok, so thanks to that small detail I was able to test the check_logfiles and
everything works like a charm, I get the seekfile as well as the protocol
file with results.

Now when I set up the commands again in Nagios and the service checks I get
the following in the interface:

(No output returned from plugin)

The command is set up this way:

define command{
command_namecheck_nrpe_log
command_line$USER1$/check_nrpe -p 5666 -H $HOSTADDRESS$ -c
$ARG1$
}

The service is set up this way:

define service{
use master-service
hostrflx01app
service_description Websphere Logs
check_command   check_nrpe_log!check_logfiles
}

Now I try running the command via the command line from the Nagios server
(not the server being monitored) with the following:


check_nrpe -H 192.168.1.90 -p 5666 -c check_logfiles

This should be the equivalent of the command being issued by Nagios based on
the setup above. The results are:

CRITICAL -(17 errors, 1 warning) - [4/17/08 13:51:42:420 EDT] 0037
SystemOut   0   java.lang.Exception: DBPool returned NULL
connection. ...|websphere_lines=598 websphere_warnings=1
websphere_criticals=17 websphere_unknowns=0

Why can't Nagios receive or interpret these results? Do I need a separate
plugin for that? I haven't read much on NSCA but is that what I need? (I had
to learn that from scratch :( if that's the case)

Thanks all,


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jay R.
Ashworth
Sent: Thursday, April 17, 2008 2:22 PM
To: Gerhard Lausser
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] check_logfiles documentation

On Thu, Apr 17, 2008 at 07:34:05PM +0200, Gerhard Lausser wrote:
> (There is the option "nologfilenocry" which can be set in a
> configurationfile. With this option, a missing logfile is silently
> tolerated).

It's your plugin, then? 

That's a *classic* switch name.

Cheers,
-- jra
-- 
Jay R. Ashworth   Baylink
[EMAIL PROTECTED]
Designer The Things I Think   RFC
2100
Ashworth & Associates http://baylink.pitas.com '87
e24
St Petersburg FL USA  http://photo.imageinc.us +1 727 647
1274

 Those who cast the vote decide nothing.
 Those who count the vote decide everything.
   -- (Joseph Stalin)

-
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/javao
ne
___
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


-
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] check_logfiles documentation

2008-04-17 Thread Jay R. Ashworth
On Thu, Apr 17, 2008 at 07:34:05PM +0200, Gerhard Lausser wrote:
> (There is the option "nologfilenocry" which can be set in a
> configurationfile. With this option, a missing logfile is silently
> tolerated).

It's your plugin, then? 

That's a *classic* switch name.

Cheers,
-- jra
-- 
Jay R. Ashworth   Baylink  [EMAIL PROTECTED]
Designer The Things I Think   RFC 2100
Ashworth & Associates http://baylink.pitas.com '87 e24
St Petersburg FL USA  http://photo.imageinc.us +1 727 647 1274

 Those who cast the vote decide nothing.
 Those who count the vote decide everything.
   -- (Joseph Stalin)

-
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] Recurring Notification Problem

2008-04-17 Thread Jay R. Ashworth
On Thu, Apr 17, 2008 at 09:08:09AM -0500, Marc Powell wrote:
> >  I was wondering if anyone has experienced problems with recurring
> > critical/warning notifications with Nagios 3.0.1? I've just
> implemented a new
> 
> 
> >  Here is the service definition:
> > 
> > define  service {
> > host_name
> CountyServer-Ardmore,CountyServer-
> > Balm,CountyServer-Bayview,CountyServer-TestServer,CountyServerDMZ-
> > Springhurst,CountyServerDMZ-VTH-Web,CountyServerDMZ-Web-Dev
> > service_description Terminal Services
> > is_volatile 1
> 
> RTFM.

Oh, goodie.

I was so hoping I'd find we had someone like *you* on the user support
mailing list, Marc.

Cheers,
-- jr '' a
-- 
Jay R. Ashworth   Baylink  [EMAIL PROTECTED]
Designer The Things I Think   RFC 2100
Ashworth & Associates http://baylink.pitas.com '87 e24
St Petersburg FL USA  http://photo.imageinc.us +1 727 647 1274

 Those who cast the vote decide nothing.
 Those who count the vote decide everything.
   -- (Joseph Stalin)

-
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 Jay R. Ashworth
On Thu, Apr 17, 2008 at 04:54:10AM -0700, sachin holikar wrote:
>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 ?

What *I* don't know is why the code can't give a better error.

The target machine's nrpe log will though usually tell you you couldn't
connect.

Cheers,
-- jra
-- 
Jay R. Ashworth   Baylink  [EMAIL PROTECTED]
Designer The Things I Think   RFC 2100
Ashworth & Associates http://baylink.pitas.com '87 e24
St Petersburg FL USA  http://photo.imageinc.us +1 727 647 1274

 Those who cast the vote decide nothing.
 Those who count the vote decide everything.
   -- (Joseph Stalin)

-
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 Jay R. Ashworth
On Thu, Apr 17, 2008 at 01:45:52PM +0200, Sebastian Ries wrote:
> 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?

And note that you cannot *comment the end of that line*.

Cheers,
-- jra
-- 
Jay R. Ashworth   Baylink  [EMAIL PROTECTED]
Designer The Things I Think   RFC 2100
Ashworth & Associates http://baylink.pitas.com '87 e24
St Petersburg FL USA  http://photo.imageinc.us +1 727 647 1274

 Those who cast the vote decide nothing.
 Those who count the vote decide everything.
   -- (Joseph Stalin)

-
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] check_logfiles documentation

2008-04-17 Thread Victor Lanza
Thanks all!!...I literally was loosing it...I started arguing with my
monitor..hehe..

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gerhard
Lausser
Sent: Thursday, April 17, 2008 1:34 PM
To: 'Jay R. Ashworth'; nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] check_logfiles documentation

Hi guys,

i just explained it to Victor in private mail, but this seems to be a FAQ.

> > OK - no errors or warning|websphere_lines=0 websphere_warnings=0 
  ^^
  ^^
.._lines=0 means that _no_ lines were scanned for patterns at all.
Why? First, because check_logfiles only examines lines which were appended
to the logfile since the last run. And second, if you run check_logfiles for
the very first time, it does not start searching from the beginning of the
file. It only initializes itself by positioning at the end-of-file.
This was necessary to avoid alerts caused by very old error messages in the
logfile.
 

> check_logfiles... and if not, carefully double check that 
> filename argument (and hang a bug against check_logfiles; 'I 
> can't find that log file' probably ought to be an error 
> condition; at least as a different status return (WARNING - 
> logfile not found).
This message already exists:
$ check_logfiles --logfile=/var/log/schmarrn.log --criticalpattern=kaas
UNKNOWN - (1 unknown in check_logfiles.protocol-2008-04-17-19-32-10) - could
not find logfile /var/log/schmarrn.log |default_lines=0 default_warnings=0
default_criticals=0 default_unknowns=1

(There is the option "nologfilenocry" which can be set in a
configurationfile. With this option, a missing logfile is silently
tolerated).

Gerhard


-
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/javao
ne
___
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


-
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] check_logfiles documentation

2008-04-17 Thread Gerhard Lausser
Hi guys,

i just explained it to Victor in private mail, but this seems to be a FAQ.

> > OK - no errors or warning|websphere_lines=0 websphere_warnings=0 
  ^^
  ^^
.._lines=0 means that _no_ lines were scanned for patterns at all.
Why? First, because check_logfiles only examines lines which were appended
to the logfile since the last run. And second, if you run check_logfiles for
the very first time, it does not start searching from the beginning of the
file. It only initializes itself by positioning at the end-of-file.
This was necessary to avoid alerts caused by very old error messages in the
logfile.
 

> check_logfiles... and if not, carefully double check that 
> filename argument (and hang a bug against check_logfiles; 'I 
> can't find that log file' probably ought to be an error 
> condition; at least as a different status return (WARNING - 
> logfile not found).
This message already exists:
$ check_logfiles --logfile=/var/log/schmarrn.log --criticalpattern=kaas
UNKNOWN - (1 unknown in check_logfiles.protocol-2008-04-17-19-32-10) - could
not find logfile /var/log/schmarrn.log |default_lines=0 default_warnings=0
default_criticals=0 default_unknowns=1

(There is the option "nologfilenocry" which can be set in a
configurationfile. With this option, a missing logfile is silently
tolerated).

Gerhard


-
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] check_logfiles documentation

2008-04-17 Thread Jay R. Ashworth
On Thu, Apr 17, 2008 at 11:33:52AM -0400, Victor Lanza wrote:
> Ok...Before I tackle the issue with Nagios not getting any feedback from
> check_logfiles I decided to test the plugin locally on the host machine.
> However I'm not getting the results I should am expecting.
> 
> I execute this at the command line:
> 
> Check_logfiles --tag=websphere
> --logfile=/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/rflxappserver1
> /SystemOut.log --criticalpattern="java.lang.Exception: DBPool returned NULL
> connection."
> 
> My results are:
> 
> OK - no errors or warning|websphere_lines=0 websphere_warnings=0
> websphere_criticals=0 websphere_unknowns=0
> 
> However when I check the SystemOut.log, I see the line that contains that
> error. Am I missing something?

You're running this on the monitored machine, not on the console
machine, correct?

If so, then there's some problem with check_logfiles.

Do remember, though, that that comparison is likely to be case
sensitive, and will certainly be sensitive to spacing and pucnctuation.
This is also true of the logfilename itself, come to think of it. It
*looks* as if you copied the error message into the command line, so
that shouldn't be it, but I thought I'd mention it.

Try changing one character in that logfilename to make sure you get the
expected 'I can't find that logfile' error from check_logfiles... and
if not, carefully double check that filename argument (and hang a bug
against check_logfiles; 'I can't find that log file' probably ought to
be an error condition; at least as a different status return
(WARNING - logfile not found).

Cheers,
-- jra
-- 
Jay R. Ashworth   Baylink  [EMAIL PROTECTED]
Designer The Things I Think   RFC 2100
Ashworth & Associates http://baylink.pitas.com '87 e24
St Petersburg FL USA  http://photo.imageinc.us +1 727 647 1274

 Those who cast the vote decide nothing.
 Those who count the vote decide everything.
   -- (Joseph Stalin)

-
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] check_logfiles documentation

2008-04-17 Thread Victor Lanza
Ok...Before I tackle the issue with Nagios not getting any feedback from
check_logfiles I decided to test the plugin locally on the host machine.
However I'm not getting the results I should am expecting.

I execute this at the command line:

Check_logfiles --tag=websphere
--logfile=/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/rflxappserver1
/SystemOut.log --criticalpattern="java.lang.Exception: DBPool returned NULL
connection."

My results are:

OK - no errors or warning|websphere_lines=0 websphere_warnings=0
websphere_criticals=0 websphere_unknowns=0

However when I check the SystemOut.log, I see the line that contains that
error. Am I missing something?



-Original Message-
From: Jay R. Ashworth [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 16, 2008 3:51 PM
To: Victor Lanza
Subject: Re: [Nagios-users] check_logfiles documentation

On Wed, Apr 16, 2008 at 03:31:05PM -0400, Victor Lanza wrote:
>   define command {
>command_name  check_nrpe_arg
>command_line  $USER1$/check_nrpe -p 5777 -H $HOSTADDRESS$ -t $ARG1$
> c $ARG2$ -a $ARG3$
>}

If that was copy and paste, note that what should be -c is missing te
hyphen, and that your port nunmber is non-standard (I came in late; you
might have done that on purpose).

If you're sending arguments and the target nrpe was configured to
reject them it will also bounce.  But not the way you're seeing.

I've heard that some builds of the nrpe daemon are configured to use
TPC wrappers, and thus require a properly configured /etc/hosts.{allow,deny}
(which also implies adding nrpe to /etc/services).

Could one of those things be your problem?  

Cheers,
-- jr '(just started yesterday.  yes, I learn fast :-)' a
-- 
Jay R. Ashworth   Baylink
[EMAIL PROTECTED]
Designer The Things I Think   RFC
2100
Ashworth & Associates http://baylink.pitas.com '87
e24
St Petersburg FL USA  http://photo.imageinc.us +1 727 647
1274

 Those who cast the vote decide nothing.
 Those who count the vote decide everything.
   -- (Joseph Stalin)


-
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 Sebastian Ries
Hi

> 
> 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: 
>  1. 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.
>  
I do not have further information or knowledge about that...
All I know is that I get this error message whenever I set up a new nrpe
daemon and forget to set allowed_hosts to the IP of our nagios
server ;-)

But post this to the documentation guys. I think adding it as a second
solution might help some other people.

Regards
Sebastian

-- 

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


Re: [Nagios-users] Recurring Notification Problem

2008-04-17 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Daniels, Mike
> Sent: Thursday, April 17, 2008 7:34 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Recurring Notification Problem
> 
> Hi all,
> 
>  I was wondering if anyone has experienced problems with recurring
> critical/warning notifications with Nagios 3.0.1? I've just
implemented a new


>  Here is the service definition:
> 
> define  service {
> host_name
CountyServer-Ardmore,CountyServer-
> Balm,CountyServer-Bayview,CountyServer-TestServer,CountyServerDMZ-
> Springhurst,CountyServerDMZ-VTH-Web,CountyServerDMZ-Web-Dev
> service_description Terminal Services
> is_volatile 1

RTFM.

--
Marc

 

-
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] sending service/host notification status tofailover server

2008-04-17 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Heiko
> Sent: Thursday, April 17, 2008 7:17 AM
> To: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] sending service/host notification status
> tofailover server
> 
> On Wed, Apr 16, 2008 at 8:51 AM, Heiko <[EMAIL PROTECTED]> wrote:


> >  failover server, since we have some notifications disabled on main
> >  server,
> >  how can i transfer these settings to the failover server?


> I found the external commands for this, but integration into the
> send_nsca script isnt clear for me.

Because you can't use send_nsca for that; it can only send
check_results. There's also no trigger like an event_handler that
happens when notifications are disabled or enabled either. The only way
I can think to do that is to periodically poll the status file to see
what's been enabled/disabled since last check and 'ssh failover echo
[external_command]...' appropriately. Not very elegant though.

--
Marc

-
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] Recurring Notification Problem

2008-04-17 Thread Daniels, Mike
Hi all,
 
 I was wondering if anyone has experienced problems with recurring
critical/warning notifications with Nagios 3.0.1? I've just implemented
a new server and added a few test hosts to it. Despite our configuration
files specifying a notification interval of 0, we are receiving
notifications approximately every five minutes. Coincidentally, this is
the same length of time between service checks. The problem occurs only
with our service checks, hosts that are down only notify once as they
are configured to. The configuration file was created on our Nagios 2.x
production box through NagiosQL 2.0 and copied to our test 3.0.1 box.
There were no errors or warnings reported when checking the
configuration before starting Nagios. Nagios is running on CentOS 5,
with NDOUtils 1.4b7.
 
 Here is the service definition:
 
define  service {
host_name
CountyServer-Ardmore,CountyServer-Balm,CountyServer-Bayview,CountyServer
-TestServer,CountyServerDMZ-Springhurst,CountyServerDMZ-VTH-Web,CountySe
rverDMZ-Web-Dev
service_description Terminal Services
is_volatile 1
check_command   check_tcp!3389
max_check_attempts  3
normal_check_interval   5
retry_check_interval1
active_checks_enabled   1
passive_checks_enabled  1
check_period24x7
parallelize_check   1
obsess_over_service 0
check_freshness 1
event_handler   notify-service-by-email
event_handler_enabled   1
flap_detection_enabled  0
failure_prediction_enabled  1
process_perf_data   1
retain_status_information   1
retain_nonstatus_information1
contact_groups  NetworkCommunications
notification_interval   0
notification_period 24x7
notification_optionsw,u,c,r,f
notifications_enabled   1
register1
}
 
I've checked and double checked the configuration file and I cannot find
an error. I have also tried setting the notification interval to a high
number, 56000 just for testing, and it has made no difference to the
notifications. They still come in every five minutes.
 
Thanks,
 

Mike Daniels
Network Systems Analyst
Corporation of the County of Simcoe
1110 Highway 26 Midhurst, ON
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

Re: [Nagios-users] sending service/host notification status to failover server

2008-04-17 Thread Heiko
On Wed, Apr 16, 2008 at 8:51 AM, Heiko <[EMAIL PROTECTED]> wrote:
> Hello,
>
>  i have 2 nagios servers, where one acts as an failover(with disabled
>  checks/notification.).
>  I use send_nsca to send the current servcie/host status to the
>  failover server, since we have some notifications disabled on main
>  server,
>  how can i transfer these settings to the failover server?
>
>  cheers
>
>
>  Heiko
>

no one?
I found the external commands for this, but integration into the
send_nsca script isnt clear for me.

thx

-
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

Re: [Nagios-users] NRPE uninstall?

2008-04-17 Thread Victor Lanza
-- Few docs suggests that it is becazue of the version difference between 2
NRPE installations

 

This is true but in the case where the plugin is one version and the daemon
is a different version.

 

Did you update both the plugin on the nagios server and also the daemon on
the host server? If not, you will get errors like the one above.

 

Best,

 

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of sachin
holikar
Sent: Thursday, April 17, 2008 7:41 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] NRPE uninstall?

 

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 Sebastian Ries
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


[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