1
vote
1answer
124 views

“CHECK_NRPE: Socket timeout after 10 seconds” HTTPS / SSL

I have configured NAGIOS server on IP address AA.BB.CC.DD (Linux Fedora 20), and Monitoring the host with IP address LL.MM.NN.OO (Linux Fedora 20). I have configured NRPE to run on port # 15666 ...
0
votes
1answer
22 views

Debug a Nagios NRPE command

My nagios fail with fail2ban service. Whith an other command it's Ok: nagios@server:/usr/lib/nagios/plugins$ /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 -c "check_load" OK - load ...
0
votes
1answer
29 views

Why isn't nrpe 'check_procs' finding my Passenger process?

I'm trying to use check_procs from NRPE to find out whether Passenger is running on my server. It loads from httpd but appears separately. 32135 ? Sl 0:09 Passenger RackApp: ...
1
vote
1answer
69 views

Issues when monitoring a gluster FS mount with Nagios via sudo

I have been monitoring a gluster FS mount with the following script, but have issues executing the script via NRPE. Here's my script on the remote box. /usr/lib64/nagios/plugins/check_gluster.pl ...
1
vote
1answer
127 views

Why is my Powershell script returing extra output when run by Nagios NRPE?

I have a Powershell script that I'm running via nrpe as an external script. The windows server (2008) is running nsclient++ (nscp.exe) v 0.4.1.102. The return section of my powershell script looks ...
1
vote
1answer
74 views

check_nrpe socket time out on monitored machine

While setting up nrpe monitoring on a new dev machine, I've run into a bit of a snag. I've followed all of the recommend steps I could find, and still to no avail. Executing ...
0
votes
1answer
282 views

Nagios check_procs returns wrong value when called from NRPE

I have added the following line in nrpe.conf of a monitored server say named myserver: command[check_mysrv_process]=/usr/lib/nagios/plugins/check_procs -c 1: -C java -a mysrv which works locally as ...
0
votes
1answer
78 views

NSCLIENT\NRPE doesnt handle arguments with white spaces

I have a short script that prints out an argument being sent to it. Suppose I send over "print this", no matter what I do it always prints out only "print". I have tried with either powershell or ...
1
vote
1answer
1k views

Passing arguments to a Powershell Script using Nagios NRPE

Short powershell script for testing: $test = $args[0] echo "this works" echo "I transferred $test" exit 0 nsclient.ini settings: # If you want to fill this file with all avalible options run the ...
2
votes
2answers
675 views

Nagios NRPE: Command “my_command” not defined

I have installed Nagios® Core™ 3.5.1 and NRPE v2.14 on my client which running RHEL 6.3 I have this error message on my Nagios NRPE: Command 'check_mysql_connections' not defined On my nrpe.cfg I ...
0
votes
0answers
100 views

Getting Odd Errors Starting the NRPE Daemon via the service command

So, odd issue. I'm running CentOS 6.5 x64, and NRPE latest stable from EPEL. Ran into an issue where I can only start nrpe via service (which is what chkconfig uses) by running it sh first. ie. ...
0
votes
0answers
81 views

Nagios nrpe commands error out with asterisk

as the nrpe user when Command: /scripts/nagisk.pl -c version Outputs: Asterisk 1.8.11-cert10 Using nrpe Command: /usr/lib/nagios/plugins/check_nrpe -H [HOSTNAME] -c check_asterisk_version Outputs: ...
1
vote
2answers
1k views

Nagios NRPE “No Output returned from plugin“ error

So I've just started configuring Nagios in my environment and I'm getting the above error when trying to user the NRPE plugin. The host file is as follows: define { host_name servername ...
-1
votes
1answer
519 views

Nagios nrpe no handler for command

so i have started setting up Nagios on our network and have the below issue : No handler for command CheckDisk . This happens no matter what command i run. ( full command i have been running is ...
0
votes
1answer
707 views

nrpe: Host is not allowed to talk to us

I installed nrpe on new servers. Nagios is already running and checking other server (I haven't installed). I've got several error lines in my syslog file : Oct 31 15:17:01 myservername nrpe[41848]: ...
-1
votes
2answers
173 views

Check NRPE APT now working through Nagios

I'm able to monitor hosts' package statuses via terminal; but Nagios web ui gives an error like this: (No output returned from plugin) Here's the command that works properly via terminal: ...
2
votes
2answers
2k views

Nagios: NRPE: Unable to read output, Can't find the reason, can you?

I have a Nagios server and a monitored server. On the monitored server: [root@Monitored ~]# netstat -an |grep :5666 tcp 0 0 0.0.0.0:5666 0.0.0.0:* LISTEN ...
0
votes
2answers
1k views

nrpe dead but pid file exists on CentoS 6.4 client

I have a similar problem like it was on question Memcached status returning "memcached dead but pid file exists" but I can't solve it. My Nagios client is CentOS 6.4 and NRPE won't work ...
0
votes
2answers
494 views

NRPE Issue Unable to Read output Check_Access_Log

In NRPE running xinetd I am able to run the script locally, but NRPE reports unable to read output when trying to run it remotely. Any suggestions?: [root@travel log]# ...
-1
votes
1answer
170 views

NRPE monitor a python process

I am new to Nagios. I understand setting up the service, etc. but I want to monitor some specific python processes that are running. When I set up the check_procs command for it to I give the -C ...
0
votes
1answer
245 views

Unable to ping remote server Nagios

We've recently set up Nagios on one of our Amazon EC2 instances to act as a monitoring server to our other instances. nrpe was installed on our staging server stager and appears to be working fine: ...
0
votes
1answer
174 views

Nagios: bash is missing

I'm monitoring NTP server with nagios and nrpe, at the nagios server, when I get the following error: Service Status UNKNOWN Status information I am missing an important component : bash The plugin ...
1
vote
1answer
489 views

NRPE: Unable to read output CentOS6

I am monitoring a CentOS 6 machine with NTP service installed. The monitoring server is a CentOS 5 machine with Nagios and Centreon. I'm using NRPE for monitoring remote hosts, and I get the following ...
3
votes
1answer
2k views

CHECK_NRPE: Error - Could not complete SSL handshake

I've just moved to a new nagios server and have got all the old hosts/services working. There is just one host that will not allow nrpe checks, producing an error on the nagios server as in the title. ...
1
vote
1answer
604 views

Nagios/NRPE how to check all filesystems mounted below opt

I have multiple mount points beneath /opt/virt/img, each of them an LVM logical volume formatted with ext4 and containing a qcow2 disk image for a running VM. I want to know when those volumes are ...
1
vote
1answer
45 views

What agent is this nagios host using (if any)

I disabled nrpe via service nrpe stop. It is not running. Neither is snmpd running. I still have seen the status checks for disk space, ping, http, etc all running for this host. How do I ...
0
votes
0answers
911 views

Nagios NRPE: Command 'check_procs' not defined but works when run manually

I know there are a lot of other similar posts, however none of them have fixes for my problem. I have Nagios Core 3.2.0 running on a 64bit Ubuntu 10.04.4 LTS server. I am trying to check if the ...
3
votes
1answer
224 views

Monitor worker process with nagios

I am working on setting up Nagios monitoring. I was able to setup and monitor the system processes. Now, I am working on setting up monitoring for custom running processes. We are having python ...
2
votes
2answers
902 views

Check if puppet agent is up to date

I would like to check with my nagios monitoring if every node use current catalog version provided by puppetmaster. In my situation, there are: puppetmaster host1 host2 hostX I would like to ...
2
votes
3answers
288 views

Is there a way to install just a subset of NRPE checks?

I want to be able to check just a few things on a remote host from within nagios - cpu, memory etc, so, I am looking to install NRPE on the machine. NRPE wants to install Samba along with many other ...
0
votes
2answers
5k views

nagios NRPE: Unable to read output

I currently set up a script to restart my http servers + php5 fpm but can't get it to work. I have googled and have found that mostly permissions are the problems of my error but can't figure it out. ...
6
votes
1answer
624 views

NRPE and Perl - cannot include ANYTHING or it breaks

I've been banging my head off NRPE and Perl for weeks now. I decided to start from absolute first principles, and create a dummy nagios plugin that does nothing but always returns OK. I called it ...
4
votes
1answer
470 views

NRPE unable to read output - tried recommended troubleshooting in docs

I know this is a very common error where RTFM is usually the correct answer, but, I think I've covered all the obvious points. NRPE is running as the user nagios When I use sudo su - nagios to ...
0
votes
0answers
371 views

Own simple nrpe plugin: NRPE: Unable to read output

I have written an ruby plugin for nrpe but it's not working properly. I have written this plugin to check some backup files on a remote ftp server. When I try to execute the plugin from my nagios ...
3
votes
4answers
4k views

nagios nrpe check_procs wrong return value

I have a problem with my nagios monitoring. I'm trying to check a process on a remote host using nrpe. The host was already been monitored by nagios, so I only needed to add a line to the nrpe.cfg ...
1
vote
1answer
417 views

Nagios checks for mulitple sendmail instance's mail queues

Is there an available perl script or any script for checking the mail queues of each instance of sendmail? So that we can use that on nagios nrpe, since the mailq command is only designed for one ...
0
votes
2answers
475 views

nagios nrpe plugin output not complete

I have written a small script to check the states of PfSense, and using this script to get the output in nagios, through NRPE... Here is the script used=`pfctl -s state | wc -l | bc | cut -c1-5 | ...
0
votes
3answers
492 views

looking for NRPE services code

i am looking for the NRPE services code that allow to connect to the remote host to check :- http service connect on port 80 or custom port ssh service on port 22 or custom port since the check disk ...
0
votes
4answers
202 views

NRPE Home Directory

I'm using NRPE and I a rather annoying problem. I need a couple temporary files written to the home directory of the user NRPE is running under (nagios). I checked that the /etc/passwd entry for ...
1
vote
4answers
3k views

NRPE and the $USER1$ variable

I have NRPE daemons running on all of my remote Linux boxes. I have a couple configurations in place and I'm trying to standardize the paths in my nrpe.cfg. The changes are deployed via Puppet. I ...
1
vote
3answers
410 views

How can I make check_nrpe wait for my remote script to finish executing?

I have a python script that's being used as a plugin for NRPE. This script checks to see if a process if running on a virtual machine by doing an SSH one-liner with a "ps ax | grep process" attached. ...
10
votes
9answers
22k views

NRPE unable to read output, but why?

I have this problem with NRPE, all the stuff I've found so far on the net seems to point me at things I've already tried. # /usr/local/nagios/plugins/check_nrpe -H nrpeclient gives NRPE v2.12 as ...
2
votes
1answer
2k views

sudo nrpe sorry you must have a tty to run sudo

After reading this [root@wcmisdlin02 alexus]# tail -2 /etc/sudoers ## Read drop-in files from /etc/sudoers.d (the # here does not mean a comment) #includedir /etc/sudoers.d [root@wcmisdlin02 alexus]# ...
0
votes
2answers
426 views

NSClient++: running VirtualBox VM displayed as poweroff

I have to monitor a VM, runned in a Windows Server 2008 environment, using VirtualBox. I use Nagios to do the monitoring job. This process is executed in an Ubuntu Server environment. The ...
1
vote
2answers
441 views

Powershell default console size

I'm using NSCLient to run some NRPE checks on Windows Server boxes. The checks run Powershell scripts but the problem I'm having is NSClient is adding random line breaks after 79 characters. I'm ...
5
votes
2answers
3k views

Nagios NRPE check_procs reporting incorrect number

I have an etch nagios server (I will call this NagiosServer), successfully monitoring lots of stuff, including another etch server (MonitorEtch). Using check_nrpe and check_procs I'm able to check the ...
3
votes
3answers
3k views

Nagios remote monitoring: NRPE Vs. SSH

We use Nagios to monitor quite a few (~130) servers. We monitor CPU, Disk, RAM and a few other things on each server. I've always used SSH to run the remote commands, purely because it requires little ...
2
votes
2answers
10k views

NRPE: Unable to read output

I try to monitor MySQL database: [root@monitored.com ~]# su nagios -c /usr/lib/nagios/plugins/check_mysql Uptime: 18014 Threads: 1 Questions: 6 Slow queries: 0 Opens: 12 Flush tables: 1 ...
3
votes
3answers
4k views

SELinux prevents Nagios plugins from running on RHEL6

After installing Nagios NRPE & Nagios Plugins, I'm getting the following entry in my rsyslog: May 13 14:01:30 wcmisdlin02 kernel: type=1400 audit(1305309690.482:2334): avc: denied { getattr } ...
1
vote
0answers
184 views

check_nrpe and non-fixed counter names

For some counters I have noticed Windows convently does provide a stable name for them, for example: \.NET Data Provider for SqlServer(_lm_w3svc_3_root-1-123412341234[6789]\Number of Free Conections ...