[Nagios-users] nrpe errors when too many hosts

2013-06-20 Thread Aleksandr Miroslav
hi, We have nagios server that is working for long time. We note recently when we add new hosts, all NRPE checks fail with: Return code of 127 is out of bounds - plugin may be missing However, the plugin is there and we know it run fine from command line. Only when some new hosts added this

Re: [Nagios-users] nrpe errors when too many hosts

2013-06-20 Thread Benny Crampton
The error itself just means that Nagios can't find the plugin that you've told it to use. Every time I've ever encountered this error it boils down to something very simple; normally a typo or a mis-pasted file path. When you added the hosts did you also add the service, or were you using a

Re: [Nagios-users] nrpe errors when too many hosts

2013-06-20 Thread William Leibzon
Do you have servicegroups defined? How many services does it show in the largest service group? On Thu, Jun 20, 2013 at 12:13 AM, Aleksandr Miroslav alexmiros...@gmail.com wrote: hi, We have nagios server that is working for long time. We note recently when we add new hosts, all NRPE checks

[Nagios-users] NRPE Version 2.14

2013-03-12 Thread Kaushal Shriyan
Hi, Have submitted a bug report for NRPE Version 2.14 http://tracker.nagios.org/view.php?id=431 Let me know if anyone needs additional information. Regards, Kaushal -- Symantec Endpoint Protection 12 positioned as A

Re: [Nagios-users] NRPE: Unable to read output; but works when run under strace ...

2013-01-14 Thread Eliezer Croitoru
I would try to run a basic script which logs the nrpe environment into a file. it will make sure what is available to you and what not. test if: there are environment vars.. there is a STDOUT\IN\ERR available etc.. #!/usr/bin/env ruby f = File.open(/tmp/nrpetest.log,a) f.sync = true f.puts

Re: [Nagios-users] NRPE: Unable to read output; but works when run under strace ...

2013-01-14 Thread Florian Ernst
Hello Eliezer, thanks for your reply. On Mon, Jan 14, 2013 at 05:41:28PM +0200, Eliezer Croitoru wrote: I would try to run a basic script which logs the nrpe environment into a file. it will make sure what is available to you and what not. test if: [...] modify the above to make sure

Re: [Nagios-users] NRPE: Unable to read output; but works when run under strace ...

2013-01-08 Thread Florian Ernst
Hello all, following up to myself ... On Mon, Oct 08, 2012 at 08:31:21PM +0200, Florian Ernst wrote: [...] However, it got weirder: if I strace the nrpe process, everything works as desired: [...] I found no further hints in the strace log, but this led me to assume that there is some NRPE

Re: [Nagios-users] NRPE: Unable to read output; but works when run under strace ...

2012-10-15 Thread Florian Ernst
Hello John / Tech Support, thanks for your reply, and sorry for the delay in answering. On Wed, Oct 10, 2012 at 03:10:13PM -0400, Tech Support wrote: Whenever I've had a problem with a plugin, and was trying to figure out what was going on, I've had 100% success using a little PERL script

Re: [Nagios-users] NRPE: Unable to read output; but works when run under strace ...

2012-10-10 Thread Tech Support
simplicity. Regards; John -Original Message- From: Florian Ernst [mailto:florian_er...@gmx.net] Sent: Tuesday, October 09, 2012 2:14 PM To: Nagios Users List Subject: Re: [Nagios-users] NRPE: Unable to read output; but works when run under strace ... Hello Peter, thanks for your reply

Re: [Nagios-users] NRPE: Unable to read output; but works when run under strace ...

2012-10-09 Thread Florian Ernst
Hello Peter, thanks for your reply. However, as previously written, I know of the peculiarities that might arise once sudo joins the team, and in the issue at hand sudo is no more involved than being used for illustration purposes while the issue itself doesn't even remotely touch sudo at all.

Re: [Nagios-users] NRPE: Unable to read output; but works when run under strace ...

2012-10-09 Thread Peter Kaagman
-Oorspronkelijk bericht- Van: Florian Ernst [mailto:florian_er...@gmx.net] Verzonden: dinsdag 9 oktober 2012 20:14 Aan: Nagios Users List Onderwerp: Re: [Nagios-users] NRPE: Unable to read output; but works when run under strace ... Hello Peter, thanks for your reply

[Nagios-users] NRPE: Unable to read output; but works when run under strace ...

2012-10-08 Thread Florian Ernst
Hello all, given a fairly well-running monitoring setup with about 18k services I thought I had understood the basics. However, the following leaves me clueless, and I hope I'm merely missing something obvious here: On an up-to-date Debian Squeeze (i386) OpenVZ guest I have established that my

Re: [Nagios-users] NRPE: Unable to read output; but works when run under strace ...

2012-10-08 Thread Peter Kaagman
...@gmx.net] Verzonden: maandag 8 oktober 2012 20:31 To: nagios-users@lists.sourceforge.net Onderwerp: [Nagios-users] NRPE: Unable to read output; but works when run under strace ... Hello all, given a fairly well-running monitoring setup with about 18k services I thought I had understood the basics

[Nagios-users] nrpe on ssl

2012-05-24 Thread vishesh kumar
Hi Members, I am new to this list and nagios. I want to know how i can verify that nagios nrpe_check connecting to nrpe daemon via ssl . Thanks Vishesh Kumar -- Live Security Virtual Conference Exclusive live event

Re: [Nagios-users] nrpe on ssl

2012-05-24 Thread Scott Wilkerson
Vishesh, The current default for NRPE is to use SSL. Additionally, you can specify allowed_hosts and the NRPE will only accept connection from the allowed hosts. Scott Wilkerson Technical Support Specialist ___ Email: swilker...@nagios.com Web: www.nagios.com On 5/24/2012 8:43 AM, vishesh

Re: [Nagios-users] nrpe on ssl

2012-05-24 Thread Ismael Puerto
Hi Vishesh check_nrpe default run over SSL. If you want run check_nrpe without SSL, you should add options "-n". example: check_nrpe -n -H hostname Best Regards On 05/24/2012 03:43 PM, vishesh kumar wrote: Hi Members, I am new

Re: [Nagios-users] nrpe on ssl

2012-05-24 Thread Axel
You can use tcpdump and wireshark to check the tcp and ssl handshake. Regards, Axel Am 24.05.2012 15:43, schrieb vishesh kumar: Hi Members, I am new to this list and nagios. I want to know how i can verify that nagios nrpe_check connecting to nrpe daemon via ssl . Thanks Vishesh Kumar

Re: [Nagios-users] NRPE and IPv6

2012-03-01 Thread Thomas Pries
Hi, Am 26.02.2012 14:45, schrieb Jens Link: ... problem with NRPE. It seems, that nrpe does not support IPv6. True, at least for the nagios version of nrpe. Take a look at the nrpe version that comes with Icinga. I searched the Icinga website but I didn't find any useful, except the

[Nagios-users] NRPE allowed_hosts directive

2012-02-29 Thread Wadud Miah (ITCS)
Hello, I am using NRPE version 2.7 and want to configured the allowed_hosts directive so that it can take a network address in the form network_address/netmask. However, it doesn't seem to support this, so I tried putting the IP addresses of all the hosts in the network. However, when I assign

Re: [Nagios-users] NRPE allowed_hosts directive

2012-02-29 Thread C. Bensend
tried putting the IP addresses of all the hosts in the network. However, when I assign this variable to all the IP addresses (which is very long), U... Just how many Nagios servers do you HAVE? That configuration option is to list the Nagios servers that will be polling your NRPE daemon,

Re: [Nagios-users] NRPE and IPv6

2012-02-27 Thread Thomas Pries
Hi, Am 27.02.2012 02:44, schrieb Robert V. Bolton: There is no need to patch Nagios to support and IPv6 address variable. You can just use a custom object variable. In fact this is the preferred way to do it. http://nagios.sourceforge.net/docs/3_0/customobjectvars.html Thanks for the infos,

[Nagios-users] NRPE and IPv6

2012-02-26 Thread Thomas Pries
Hi, I started monitoring my infrastructure with nagios. I just begun dealing with these thing and my first steps were promising, but now I am facing a very basic problem with NRPE. It seems, that nrpe does not support IPv6. I can't belief that, I suppose, I read the wrong docs and pages, in the

Re: [Nagios-users] NRPE and IPv6

2012-02-26 Thread Jens Link
Thomas Pries seirp.sam...@googlemail.com writes: Hi, I started monitoring my infrastructure with nagios. I just begun dealing with these thing and my first steps were promising, but now I am facing a very basic problem with NRPE. It seems, that nrpe does not support IPv6. True, at least

Re: [Nagios-users] NRPE and IPv6

2012-02-26 Thread Thomas Pries
Hi, Am 26. Februar 2012 14:45 schrieb Jens Link li...@quux.de: Thomas Pries seirp.sam...@googlemail.com writes: ... It seems, that nrpe does not support IPv6. True, at least for the nagios version of nrpe. Take a look at the nrpe version that comes with Icinga Ok, that is, what I

Re: [Nagios-users] NRPE and IPv6

2012-02-26 Thread Jens Link
Thomas Pries seirp.sam...@googlemail.com writes: Ok, that is, what I am thinking about, why using nagios when Icinga provides the better tools. May be, Icinga is the more innovative approch. I am at the beginning and I don't have to take care of existing things. Icinga also has an address6

Re: [Nagios-users] NRPE and IPv6

2012-02-26 Thread Robert V. Bolton
There is no need to patch Nagios to support and IPv6 address variable. You can just use a custom object variable. In fact this is the preferred way to do it. http://nagios.sourceforge.net/docs/3_0/customobjectvars.html -- Robert V. Bolton www.robertvbolton.com

Re: [Nagios-users] NRPE/NSClient++ CheckCPU Error?

2012-02-09 Thread Matthew Jurgens
Just dropping this as a note for the mailing list . It turned out that using versions of perl modules older than the recommended ones was the cause of the problem - specifically Config::Inifiles However, the new version of Check WMI Plus (v1.50), works around the limitations of the

Re: [Nagios-users] nrpe ssh handshake error

2012-02-08 Thread Werner Flamme
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Manish Kumar [07.02.2012 19:57]: The details of the issue is below:- *When nrpe service on HP-UX started using this command: * /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d *And from nagiosXI server:* [root@mmkndnagxi

Re: [Nagios-users] nrpe ssl handshake error

2012-02-06 Thread Mark Elsen
Hi, In nrpe.cfg only_from has my nagios server IP Address. What else can i check for this issue. - Check the equivalent of /var/log/messages on HP-UX. I think it is /usr/adm/syslog Grep on nrpe (error) messages if any. M.

[Nagios-users] nrpe ssh handshake error

2012-02-06 Thread Manish_Kmr
Dear List, I am monitoring some HP-UX servers on which we have installed nrpe. It was working fine until from last few days it started giving SSL handshake error. I have checked nrpe.cfg and it is perfectly fine. The nrpe on HP-UX has been started from commandline on the HP-UX servers. I have

[Nagios-users] nrpe ssl handshake error

2012-02-05 Thread Manish Kumar
Hi List, The nrpe service on some of my HP-UX machines started giving ssl handshake error. I am able to telnet into port 5666 of these machines and i have restarted the nrpe service on these machines. What can be the issue ??? -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85

Re: [Nagios-users] nrpe ssl handshake error

2012-02-05 Thread James Osbourn
2012 17:19 To: nagios-users Subject: [Nagios-users] nrpe ssl handshake error Hi List, The nrpe service on some of my HP-UX machines started giving ssl handshake error. I am able to telnet into port 5666 of these machines and i have restarted the nrpe service on these machines. What can

[Nagios-users] NRPE/NSClient++ CheckCPU Error?

2012-01-30 Thread Robert Jackson
Why does the NSClient++ command CheckCPU always sit as a critical condition within Nagios? The command I have in place is: $USER1$/check_nrpe -H $HOSTADDRESS$ -c CheckCPU -a warn=$ARG1$ crit=$ARG2$ time=5m $ARG1$ is set to 80% and $ARG2$ is set to 95% (have tried with and without % symbol)

Re: [Nagios-users] NRPE/NSClient++ CheckCPU Error?

2012-01-30 Thread Matthew Jurgens
You might like to try www.edcint.co.nz/checkwmiplus On 30/01/2012 9:07 PM, Robert Jackson wrote: Why does the NSClient++ command CheckCPU always sit as a critical condition within Nagios? The command I have in place is: $USER1$/check_nrpe -H $HOSTADDRESS$ -c CheckCPU -a warn=$ARG1$

Re: [Nagios-users] NRPE/NSClient++ CheckCPU Error?

2012-01-30 Thread Claudio Kuenzler
In the NSClient++ documentation, CheckCPU works with normal integers as thresholds (so no %-sign required). As an alternative, you can also check the CPU Utilization with the NSClientListener/check_nt plugin: http://nsclient.org/nscp/wiki/NSClientListener I use this way of checking the cpu

Re: [Nagios-users] NRPE Woes Monitoring Windows Servers

2012-01-29 Thread Robert Jackson
= -Original Message- From: Jim Avery [mailto:j...@jimavery.me.uk] Sent: Saturday 28 January 2012 19:21 To: Nagios Users List Subject: Re: [Nagios-users] NRPE Woes Monitoring Windows Servers On 28 January 2012 15:52, Robert Jackson r...@walkermartyn.co.uk

Re: [Nagios-users] NRPE Woes Monitoring Windows Servers

2012-01-29 Thread Nick Price
[mailto:r...@walkermartyn.co.uk] Sent: Sunday, January 29, 2012 10:53 To: Nagios Users List Subject: Re: [Nagios-users] NRPE Woes Monitoring Windows Servers Sorry about the lack of info: I've turned on log debugging and it produced the following: 2012-01-29 09:39:03: debug:NSClient++.cpp:1106: Injecting

[Nagios-users] NRPE Woes Monitoring Windows Servers

2012-01-28 Thread Robert Jackson
Hope someone can point me in the right direction. For any check_nrpe command (except CheckVersion) I get the following: CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. I know this is a bit sketchy, but I don't understand why the CheckVersion

Re: [Nagios-users] NRPE Woes Monitoring Windows Servers

2012-01-28 Thread Jim Avery
On 28 January 2012 15:52, Robert Jackson r...@walkermartyn.co.uk wrote: Hope someone can point me in the right direction. For any  check_nrpe command (except CheckVersion) I get the following: CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. I

[Nagios-users] nrpe install and start on sunos joyent

2011-10-11 Thread Marco Borsani
Hello I have to run NRPE client on several sunos systems, but I don't know a lot that OS. I met also many problems during the compiling..solved using the package precompiled and installed with pkgin in nrpe. 1) I have prepared nrpe.xml 2) I started the service with svcadm enable

Re: [Nagios-users] nrpe install and start on sunos joyent

2011-10-11 Thread Edwin Zoeller
What version of Solaris are you running? From: Marco Borsani [mailto:m.bors...@it.net] Sent: Tuesday, October 11, 2011 03:37 AM To: NAGIOS nagios-users@lists.sourceforge.net Subject: [Nagios-users] nrpe install and start on sunos joyent Hello I have to run NRPE client on several

Re: [Nagios-users] Nrpe and Windows

2011-09-23 Thread Deborah Martin
production systems up and running nrpe (or whatever we decide to use) needs to reliable. Regards, Deborah -Original Message- From: Mark Elsen [mailto:mark.el...@gmail.com] Sent: 22 September 2011 15:51 To: Nagios Users List Subject: Re: [Nagios-users] Nrpe and Windows Folks, Nagios

Re: [Nagios-users] Nrpe and Windows

2011-09-23 Thread Michael Medin
-Original Message- From: Mark Elsen [mailto:mark.el...@gmail.com] Sent: 22 September 2011 15:51 To: Nagios Users List Subject: Re: [Nagios-users] Nrpe and Windows Folks, Nagios 3.2.0 is running on SLES 10 SP 1 NRPE running on Windows It all seems to work fine for a while (10 mins

Re: [Nagios-users] Nrpe and Windows

2011-09-23 Thread Axel Rosenski
Thanks for the suggestions. I'll give check_wmi_plus consideration. It's disappointing that nrpe is failing like this though. I'm only checking local disk usage using check_pdm.exe for the c: drive at the moment. What's the advantage of check_pdm.exe? We use NSClient++ and check_nrpe to

[Nagios-users] Nrpe and Windows

2011-09-22 Thread Deborah Martin
Folks, Nagios 3.2.0 is running on SLES 10 SP 1 NRPE running on Windows It all seems to work fine for a while (10 mins) and then I start seeing socket timeout errors. The only way to fix this is to restart the nrpe service on the node that is being monitored. Has anyone else had this

Re: [Nagios-users] Nrpe and Windows

2011-09-22 Thread Mark Elsen
Folks, Nagios 3.2.0 is running on SLES 10 SP 1 NRPE  running on Windows It all seems to work fine for a while (10 mins)  and then I start seeing socket timeout errors. The only way to fix this is to restart the nrpe service on the node that is being monitored. Has anyone else had this

Re: [Nagios-users] Nrpe and Windows

2011-09-22 Thread Kirill Bychkov
Hello, Have you tried to enable a logging nrpe? What do you monitor in windows? On 22 September 2011 18:00, Deborah Martin deborah.mar...@kognitio.comwrote: Folks, Nagios 3.2.0 is running on SLES 10 SP 1 NRPE running on Windows It all seems to work fine for a while (10 mins) and

[Nagios-users] nrpe, xinetd and LDAP problem

2011-08-02 Thread up
Hi: I have been trying to track down the fix for this for a while. We have a Nagios server monitoring a few dozen servers. Most of these servers authenticate users against a separate (CentOS Directory Server). We ONLY use LDAP for user/group authentication. It was configured via authconfig

[Nagios-users] NRPE client issues

2011-07-20 Thread Julie S. Lin
Hi I am monitoring a windows box with very basic out of the box plugins using nsclient However, whenever we start using this box there is great load on this box (which is a server class machine) and causes the nagios checks to time out and falsely page. Has any one run into this issue and

Re: [Nagios-users] NRPE client issues

2011-07-20 Thread Jim Avery
On 20 July 2011 17:29, Julie S. Lin j...@livescribe.com wrote: Hi I am monitoring a windows box with very basic out of the box plugins using nsclient However, whenever we start using this box there is great load on this box (which is a server class machine)  and causes the nagios checks to

Re: [Nagios-users] NRPE issues

2011-07-14 Thread Assaf Flatto
Julie S. Lin wrote: Hi All please excuse the newbie question, but I'm having issues with NRPE returning inconsistent results on the local machine : #./check_mycheck result ? 1 --- critical on the nagios server : ./check_nrpe -H myhost -c check_mycheck result? 0 --- OK how can

Re: [Nagios-users] NRPE issues

2011-07-14 Thread Boyer, Timothy A.
I see you're testing locally as root. That has bitten me more than once. -Original Message- From: Julie S. Lin [mailto:j...@livescribe.com] Sent: Wednesday, July 13, 2011 2:13 PM To: Nagios Users List Subject: [Nagios-users] NRPE issues Hi All please excuse the newbie question

Re: [Nagios-users] NRPE issues

2011-07-14 Thread Julie S. Lin
Hi thanks so much for hte reply. I'm sure they are referncing same commang. wha'ts weird is when I restart nrpe client, the checks become consistent. Anyone encounter this issue? Julie S. Lin System Administrator j...@livescribe.com (510) 553 4912 (o) (510) 367 5772 (c) On Jul 14, 2011,

Re: [Nagios-users] NRPE issues

2011-07-14 Thread Mathew Walker
-users] NRPE issues Hi thanks so much for hte reply. I'm sure they are referncing same commang. wha'ts weird is when I restart nrpe client, the checks become consistent. Anyone encounter this issue? Julie S. Lin System Administrator j...@livescribe.com (510) 553 4912 (o) (510

[Nagios-users] NRPE issues

2011-07-13 Thread Julie S. Lin
Hi All please excuse the newbie question, but I'm having issues with NRPE returning inconsistent results on the local machine : #./check_mycheck result ? 1 --- critical on the nagios server : ./check_nrpe -H myhost -c check_mycheck result? 0 --- OK how can this happen ? Julie S. Lin

Re: [Nagios-users] NRPE and include_dir

2011-04-08 Thread Mike Chesnut
On 03/15/2011 10:23 AM, Mike Chesnut wrote: On 03/15/2011 08:56 AM, Andreas Ericsson wrote: On 03/15/2011 04:16 PM, Mike Chesnut wrote: On 03/14/2011 07:00 PM, Mike Chesnut wrote: We're trying to use the include_dir directive in NRPE with an /etc/nagios/nrpe.d/ directory. My assumption was

Re: [Nagios-users] NRPE and include_dir

2011-03-15 Thread Mike Chesnut
On 03/14/2011 07:00 PM, Mike Chesnut wrote: We're trying to use the include_dir directive in NRPE with an /etc/nagios/nrpe.d/ directory. My assumption was that files in this directory would be loaded in alphanumeric order, but it seems to only load in alphabetical order, ignoring numerals.

Re: [Nagios-users] NRPE and include_dir

2011-03-15 Thread Andreas Ericsson
On 03/15/2011 04:16 PM, Mike Chesnut wrote: On 03/14/2011 07:00 PM, Mike Chesnut wrote: We're trying to use the include_dir directive in NRPE with an /etc/nagios/nrpe.d/ directory. My assumption was that files in this directory would be loaded in alphanumeric order, but it seems to only load

Re: [Nagios-users] NRPE and include_dir

2011-03-15 Thread Mike Chesnut
On 03/15/2011 08:56 AM, Andreas Ericsson wrote: On 03/15/2011 04:16 PM, Mike Chesnut wrote: On 03/14/2011 07:00 PM, Mike Chesnut wrote: We're trying to use the include_dir directive in NRPE with an /etc/nagios/nrpe.d/ directory. My assumption was that files in this directory would be loaded

[Nagios-users] NRPE and include_dir

2011-03-14 Thread Mike Chesnut
Apologies if this list isn't appropriate for this question, but I thought I'd try here first. We're trying to use the include_dir directive in NRPE with an /etc/nagios/nrpe.d/ directory. My assumption was that files in this directory would be loaded in alphanumeric order, but it seems to only

[Nagios-users] nrpe CheckEventLog

2011-02-16 Thread Tristan Drinkwater
Hi guys, I hope someone can help me. I'm trying to set up Nagios to return a warning for all red error logs in both the system and application logs on a windows 2003 server. So far no matter what I try I always get 'Eventlog Check ok' even when I know that there are some red error's showing

Re: [Nagios-users] nrpe CheckEventLog

2011-02-16 Thread Mark Elsen
On Wed, Feb 16, 2011 at 1:38 PM, Tristan Drinkwater trist...@micro-p.com wrote: Hi guys, I hope someone can help me. I'm trying to set up Nagios to return a warning for all red error logs in both the system and application logs on a windows 2003 server. So far no matter what I try I

Re: [Nagios-users] nrpe CheckEventLog

2011-02-16 Thread Tristan Drinkwater
: [Nagios-users] nrpe CheckEventLog On Wed, Feb 16, 2011 at 1:38 PM, Tristan Drinkwater trist...@micro-p.com wrote: Hi guys, I hope someone can help me. I'm trying to set up Nagios to return a warning for all red error logs in both the system and application logs on a windows 2003 server

Re: [Nagios-users] nrpe CheckEventLog

2011-02-16 Thread Jim Avery
On 16 February 2011 12:38, Tristan Drinkwater trist...@micro-p.com wrote: Hi guys, I hope someone can help me. I'm trying to set up Nagios to return a warning for all red error logs in both the system and application logs on a windows 2003 server. So far no matter what I try I always get

Re: [Nagios-users] nrpe CheckEventLog

2011-02-16 Thread Mark Elsen
Thanks for the reply. I fear the main problem here is the lack of knowledge that's sat in-between my chair and my pc :) I've edited the ini file on the server to allow both arguments and nasty chars and restarted the service. If I use the -a switch after -c checkEventLog all I get back

Re: [Nagios-users] nrpe CheckEventLog

2011-02-16 Thread Tristan Drinkwater
Users List Subject: Re: [Nagios-users] nrpe CheckEventLog On Wed, Feb 16, 2011 at 1:38 PM, Tristan Drinkwater trist...@micro-p.com wrote: Hi guys, I hope someone can help me. I'm trying to set up Nagios to return a warning for all red error logs in both the system and application logs

[Nagios-users] NRPE- Log files in syslog

2011-01-26 Thread Archana Ramamoorthy
Hi All: I use the NPRE plugin for Nagios and i know that setting the value of the variable debug to 1 in the nrpe.cfg file would make the debug messages to be logged into the syslog facility. Is there a way for me to make it log into some other folder of my choice instead of it even getting

[Nagios-users] NRPE- Log files in syslog

2011-01-26 Thread Archana Ramamoorthy
Hi All: I use the NPRE plugin for Nagios and i know that setting the value of the variable debug to 1 in the nrpe.cfg file would make the debug messages to be logged into the syslog facility. Is there a way for me to make it log into some other folder of my choice instead of it even getting

[Nagios-users] NRPE- Log files in syslog

2011-01-26 Thread Archana Ramamoorthy
Thank you Jeffrey. I'm actually new to both Nagios and the world of Unix. I shall however read up on syslog. I was very particular about this because i wanted to know the exact point where nrpe writes to syslog so that i re-route it and make it write to a place of my choice. The main reason I

Re: [Nagios-users] NRPE

2010-12-09 Thread Ihab Samara
Subject: Re: [Nagios-users] NRPE Hi List I have a problem using check_nrpe: The script on the remote machine is running this command: #/bin/bash output=`sudo /usr/sbin/lsof -X |grep tomcat| wc -l` max=$1 if [ $output -lt $max ]; then echo OK |value is $output exit 0

[Nagios-users] NRPE

2010-12-07 Thread Ihab Samara
Hi List I have a problem using check_nrpe: The script on the remote machine is running this command: #/bin/bash

Re: [Nagios-users] NRPE

2010-12-07 Thread Mark Elsen
Hi List I have a problem using check_nrpe: The script on the remote machine is running this command: #/bin/bash output=`sudo /usr/sbin/lsof -X |grep tomcat| wc -l` max=$1 if [ $output -lt $max ]; then echo OK |value is $output exit 0; else echo CRITICAL value is $output exit

[Nagios-users] nrpe and check_apcups newb problem

2010-09-28 Thread Andy Graybeal
Greetings, I'm sure this is a newb problem, but I'm sorry I haven't been able to figure it out. I'm trying to monitor my APC UPS on a remote computer. My nagios website is saying this: APC CHARGE UNKNOWN 2010-09-28 18:22:02 7d 8h 2m 19s4/4 (No output

Re: [Nagios-users] NRPE and ip range in allowed hosts

2010-09-23 Thread Andreas Ericsson
On 09/22/2010 03:47 PM, Assaf Flatto wrote: Hello Has anyone tried placing a range ip entry in the allowedhosts directive of NRPE ? Will putting 10.1.0.0/24 work ? No, it won't. If not ,does anyone know if is it something that is planned to future versions of NRPE ? It's not.

Re: [Nagios-users] NRPE and ip range in allowed hosts

2010-09-23 Thread Assaf Flatto
On 23/09/10 12:40, Andreas Ericsson wrote: On 09/22/2010 03:47 PM, Assaf Flatto wrote: Hello Has anyone tried placing a range ip entry in the allowedhosts directive of NRPE ? Will putting 10.1.0.0/24 work ? No, it won't. If not ,does anyone know if is it something that is planned

Re: [Nagios-users] NRPE and ip range in allowed hosts

2010-09-23 Thread Sebastian Ries
Hi So there is no way to specify a range of servers , one must put all IP's individually ? just as an idea: Can inetd handle the range of IPs? Then you could think about starting the nrpe-server with inetd. Regards Sebastian Ries --

[Nagios-users] NRPE and ip range in allowed hosts

2010-09-22 Thread Assaf Flatto
Hello Has anyone tried placing a range ip entry in the allowedhosts directive of NRPE ? Will putting 10.1.0.0/24 work ? If not ,does anyone know if is it something that is planned to future versions of NRPE ? -- Never,Ever Cut A Deal With a Dragon Next year I will be doing the London

Re: [Nagios-users] NRPE and ip range in allowed hosts

2010-09-22 Thread Herb J.
Yes, CIDR-style notation is accepted. On 09/22/2010 08:47 AM, Assaf Flatto wrote: Hello Has anyone tried placing a range ip entry in the allowedhosts directive of NRPE ? Will putting 10.1.0.0/24 work ? If not ,does anyone know if is it something that is planned to future versions of

[Nagios-users] nrpe use Help

2010-09-20 Thread Oscar Cano Rodriguez
When I run any command to monitor a solaris the nrpe server runs fine from console, however in the browser sends me the error: (Return code of 137 is out of bounds) I'm using solaris 10 The command is definidon in NagiosQL as $USER1$/check_nrpe -H $HOSTADDRESS$ -t 15 -c $ARG1$ $USER1$ =

[Nagios-users] nrpe check times out on one host, works perfectly on another.

2010-09-17 Thread Thomas Johnson
Hello, I have got a peculiar issue with nagios that I have been trying to track down. I have an nrpe check configured to run a perl script on a pair of firewalls (fwiw, it monitors the state table utilization for pf). Nagios has no problems checking this script on the first firewall, but it

Re: [Nagios-users] nrpe use

2010-09-14 Thread Dorfman, Justin
Could you provide a screen shot? Regards, Justin Dorfman Mahalo.com Inc. Jr. Systems Engineer 818.485.1458 @jdorfman http://www.twitter.com/jdorfman | @MahaloSysopshttp://twitter.com/MahaloSysops| Blog: http://bit.ly/aNiWSk On Tue, Sep 14, 2010 at 2:04 PM, Oscar Cano Rodriguez

Re: [Nagios-users] nrpe use

2010-09-14 Thread Oscar Cano Rodriguez
The command is definidon in NagiosQL as $USER1$/check_nrpe -H $HOSTADDRESS$ -t 15 -c $ARG1$ -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and

Re: [Nagios-users] nrpe use

2010-09-14 Thread Dorfman, Justin
in resource.cfg where does $USER1$ point to? FreeBSD e.g.: $USER1$=/usr/local/libexec/nagios For your case it believe it should be: *$USER1$=**/Usr/local/nagios/libexec/* Regards, Justin Dorfman Mahalo.com Inc. Jr. Systems Engineer 818.485.1458 @jdorfman http://www.twitter.com/jdorfman |

Re: [Nagios-users] nrpe use

2010-09-14 Thread Oscar Cano Rodriguez
thanks, must be something else because the file I have set the variable resource.cfg: $USER1$ = /usr/local/nagios/libexec 2010/9/14 Dorfman, Justin jus...@mahalo.com in resource.cfg where does $USER1$ point to? FreeBSD e.g.: $USER1$=/usr/local/libexec/nagios For your case it believe it

[Nagios-users] NRPE check_procs cutting off arguments?

2010-09-01 Thread Robert Swerdlow
We are using Nagios 3.0.5 and one of our services monitors a particular job on a particular server: define service{ ... check_command check_nrpe!check_myown1_job } and in the nrpe.cfg file we define that command:

[Nagios-users] NRPE: No output returned from plugin error

2010-07-01 Thread yuris
Hi all, I have this weird trouble with getting nrpe agents work. My nagios server hosts on Debian box while agents on Debian and Centos (all installed from official binary packages) and the problem is check_nrpe always returns this NRPE: No output returned from plugin error when I check NRPE

Re: [Nagios-users] NRPE: No output returned from plugin error

2010-07-01 Thread Assaf Flatto
yuris wrote: Hi all, I have this weird trouble with getting nrpe agents work. My nagios server hosts on Debian box while agents on Debian and Centos (all installed from official binary packages) and the problem is check_nrpe always returns this NRPE: No output returned from plugin error

Re: [Nagios-users] NRPE: No output returned from plugin error

2010-07-01 Thread Assaf Flatto
Assaf Flatto wrote: yuris wrote: Hi all, I have this weird trouble with getting nrpe agents work. My nagios server hosts on Debian box while agents on Debian and Centos (all installed from official binary packages) and the problem is check_nrpe always returns this NRPE: No output

Re: [Nagios-users] NRPE: No output returned from plugin error

2010-07-01 Thread yuris
well, ./check_nrpe -H centos.host.com -n -c check_load CHECK_NRPE: Error receiving data from daemon and I see this in centos.host syslog nrpe[22928]: Error: Could not complete SSL handshake. 1 when issue command with -n option. -- wbr, yuris Assaf Flatto wrote: Assaf Flatto wrote:

Re: [Nagios-users] NRPE: No output returned from plugin error

2010-07-01 Thread yuris
openssl installed on all hosts, so it seems unlikely that this is the reason.. -- wbr, yuris yuris wrote: well, ./check_nrpe -H centos.host.com -n -c check_load CHECK_NRPE: Error receiving data from daemon and I see this in centos.host syslog nrpe[22928]: Error: Could not complete SSL

Re: [Nagios-users] NRPE: No output returned from plugin error

2010-07-01 Thread Julius Kidubuka
Yuris, You could try compiling nrpe without ssl and then in your commands.cfg file have something like this; *# 'check_nrpe' command definition define command{ command_namecheck_nrpe_no_ssl command_line$USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -n } * Then in

Re: [Nagios-users] NRPE: No output returned from plugin error

2010-07-01 Thread Robert Wolfe
...@gmail.com] Sent: Thu 7/1/2010 7:49 AM To: yu...@smtp.com; Nagios Users List Subject: Re: [Nagios-users] NRPE: No output returned from plugin error Yuris, You could try compiling nrpe without ssl and then in your commands.cfg file have something like this; # 'check_nrpe' command definition

Re: [Nagios-users] NRPE: No output returned from plugin error

2010-07-01 Thread Greg Pangrazio
I had a very similar problem with checks coming from Ubuntu 8.04 and 10.04 destined for RHEL. I had to disable SSL on both ends and set the encryption method to 0. I would also check the NRPE config to make sure the passphrases match if you are using them. Greg Pangrazio On Thu, Jul 1,

Re: [Nagios-users] NRPE: No output returned from plugin error

2010-07-01 Thread yuris
I strongly doubt it has any relation to ssl: NRPE - Nagios Remote Plugin Executor Copyright (c) 1999-2008 Ethan Galstad (nag...@nagios.org) Version: 2.12 Last Modified: 03-10-2008 License: GPL v2 with exemptions (-l for more info) SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher

Re: [Nagios-users] NRPE: No output returned from plugin error

2010-07-01 Thread Assaf Flatto
yuris wrote: I strongly doubt it has any relation to ssl: NRPE - Nagios Remote Plugin Executor Copyright (c) 1999-2008 Ethan Galstad (nag...@nagios.org) Version: 2.12 Last Modified: 03-10-2008 License: GPL v2 with exemptions (-l for more info) SSL/TLS Available: Anonymous DH Mode, OpenSSL

Re: [Nagios-users] NRPE: No output returned from plugin error

2010-07-01 Thread yuris
There is nrpe.cfg: log_facility=daemon pid_file=/var/run/nrpe.pid server_port=5666 nrpe_user=nrpe nrpe_group=nrpe allowed_hosts=nagios.domain dont_blame_nrpe=0 debug=1 command_timeout=60 connection_timeout=300 command[check_users]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10

Re: [Nagios-users] NRPE: No output returned from plugin error

2010-07-01 Thread C. Bensend
command[check_users]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10 command[check_load]=/usr/lib64/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 command[check_disk]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /dev/mapper/VolGroup00-LogVol00

Re: [Nagios-users] NRPE: No output returned from plugin error

2010-07-01 Thread yuris
Bingo! I suspected that it's something really stupid, like typo or something like almost always in cases like this! thanks everybody involved and especially Benny :) -- wbr, yuris C. Bensend wrote: command[check_users]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10

[Nagios-users] nrpe configuration help

2010-06-07 Thread shadih rahman
All, I need some suggestion for nrpe configuration. I have 3 different kind of architecture in my setup. I have 32 bit linux machine (plugins installed at /usr/lib/nagios/plugins directory) , 64 bit linux machine (plugins installed /usr/lib64/nagios/plugins directory), solaris machine

Re: [Nagios-users] nrpe configuration help

2010-06-07 Thread Paul M. Dubuc
Could you define one wrapper service that executes one of the others based on an argument passed to it? shadih rahman wrote: All, I need some suggestion for nrpe configuration. I have 3 different kind of architecture in my setup. I have 32 bit linux machine (plugins installed at

  1   2   3   4   5   6   7   8   9   >