NRPE - Nagios Remote Plugin Executor, used to remotely execute Nagios plugins.

learn more… | top users | synonyms

2
votes
2answers
28 views

Icinga2 unidirectional remote clients

I'd like to monitor some hosts on which I can't allow an income connection. Is there a away to achieve that while using "Icinga 2 Client" or "by_ssh"? I can't find anything about that in the ...
0
votes
1answer
1k views

NRPE v2.15 connection refused centos 6

I have set this up on many machines, ubuntu, redhat, and centos, but am having trouble with one machine. I am using the nrpe package. I have the correct permissions for nagios users, and my config ...
-2
votes
1answer
40 views

How does one add commands to nrpe.cfg for Percona MySQL plugins on NRPE client? [on hold]

How do you add commands to nrpe.cfg for Percona MySQL plugins on NRPE client? To configure percona-nrpe plugins for mysql you will have to do 3 things viz : 1. define commands in command.cfg 2. ...
0
votes
1answer
5 views

Not getting Proper output for check_iostat for nrpe plugins

My iostat is giving following output $ iostat Linux 3.13.0-29-generic (Inksedge) 08/13/2015 _x86_64_ (4 CPU) Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn xvdap1 ...
2
votes
5answers
4k 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 ...
3
votes
4answers
6k 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
1answer
21 views

NRPE 2.15 - check_procs not showing right value

I've got Nagios Core Version 4.1.0rc2 configured server-side with a client running NRPE 2.15. I've got the two devices properly communicating using the check_nrpe command, but for whatever reason the ...
1
vote
1answer
33 views

NRPE check parameters getting lost

I'm running Shinken and have a pack which includes several commands that run bash scripts on the monitored host via NRPE. I have a check on the host which runs a bash script that takes 4 parameters. ...
1
vote
1answer
2k views

Nagios - Could not complete SSL handshake

I'm trying to configure Nagios command for checking status of physical memory on a remote Windows host using NRPE plugin. I'm using Nagios v3.0.6 on Ubuntu Server v14.10, and latest stable version of ...
15
votes
10answers
39k 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 ...
1
vote
2answers
3k 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
vote
2answers
40 views

check_nrpe ssl couldnt complete handshake, in both master and client server it works fine individually

I am getting this check_nrpe ssl couldnt complete handshake error in master server when I try executing the below command. /usr/local/nagios/libexec/check_nrpe -H 10.192.122.234 10.192.122.234 ...
1
vote
0answers
131 views

UNKNOWN: No handler for that command

I have the check_task.vbs placed in C:\nsclient++\scripts on a Windows Server 2008 R2. I defined in the NSC.ini a NRPE Handler like this: [NRPE Handlers] check_task=cscript.exe //NoLogo ...
0
votes
0answers
42 views

nagios check fails on nagios host but works locally

I wrote a small bash script to use with nagios to check if nrpe is running. The check works locally when run as root, but fails from the monitoring host. From the host I'm trying to monitor, I ...
0
votes
1answer
76 views

check_mysql_slavestatus RPE: Unable to read output

i am using Nrpe plugin on Ubuntu from nagios exchange check_mysql_slavestatus. Manually its working from : root@Bastion-01:/usr/local/nagios/libexec# ./check_mysql_slavestatus -H Slave-ip -P 3306 ...
1
vote
1answer
260 views

NRPE (Winrpe) Powershell Command - Unable to read output in Nagios

I'm trying to run an Powershell script from NRPE.cfg and get the output in Nagios. When i run the script on the local (Windows) server, everything is just fine. But when i put it in the NRPE.cfg en ...
2
votes
2answers
240 views

Nagios Basic Configuration (for quick addition of new machines)

I recently started to use Nagios to monitor about 25 servers (mainly virtual, with some standalone). Them majority of the servers (including the Nagios host itself) are running Ubuntu 14.04 LTS, with ...
1
vote
1answer
112 views

How does nrpe.d order includes?

I'm running the following version of the nagios-nrpe-server: nagios-nrpe-server: Installed: 2.12-5ubuntu1.2 Candidate: 2.12-5ubuntu1.2 Version table: *** 2.12-5ubuntu1.2 0 500 ...
2
votes
1answer
227 views

NRPE: Custom script returns unable to read input, but the script works correctly, what could it be?

I wrote a Nagios check script which receives a path as argument and checks: if the path is mounted if it is accessible by touching a file in the path. If the mount point directory is empty ...
0
votes
3answers
289 views

NRPE commands doesn't work when called from remote management host

First of all: I know there were already questions about this issue, but even using their answers I still cannot figure out why my command is not working. What I want to do is call a script on remote ...
-1
votes
2answers
127 views

Nagios plugin executes manually but not automatically

After some trial and error I managed to get the check_hwinfo plugin only partially working. And by partially I mean manually. In my '/usr/lib64/nagios/plugins' directory I have the ...
1
vote
1answer
102 views

NRPE: What's the difference between `only_from` directive and `allowed_hosts` and which one is preferred by NRPE?

I see two different places where I can configure which Nagios server my NRPE clients will speak with. The first one, while configuring NRPE to run under xinetd: only_from = 127.0.0.1 ...
1
vote
1answer
222 views

Nagios check_procs state filter

I'm on Ubuntu 14.04 and trying to run /usr/lib/nagios/plugins/check_procs -C rsyslogd -w 1:3 -c 1:5 -s S and it returns PROCS CRITICAL: 0 processes with command name 'rsyslogd', STATE = S | ...
4
votes
3answers
15k 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 ...
2
votes
1answer
3k views

NSClient++: external script with optional arguments

I am trying to define an external script which would take optional arguments in NSClient++ 0.4.1 on Windows. Following the nsclient-full.ini example code I have defined mycheck=cmd /C echo ...
0
votes
1answer
3k views

NRPE: “CHECK_NRPE: Error receiving data from daemon.” error in the gui, but the check works from terminal, what could be the cause?

I'm monitoring a few Linux servers using NRPE and most of the checks are working. Actually, the only check which doesn't work is check_disk. Running a remote check_disk from the Nagios server ...
0
votes
5answers
266 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 ...
-2
votes
1answer
248 views

NRPE: Unable to read output locally

I am running /usr/lib64/nagios/plugins/check_nrpe -H 127.0.0.1 -c check_disk as root yet get NRPE: Unable to read output. Any help?
-3
votes
2answers
478 views

Truncating return data as it is bigger then NRPE allows

I'm using latest NSCLIENT on a Win Server 2012, and see: Truncating return data as it is bigger then NRPE allows in the log file. How can I fix this?
0
votes
1answer
1k views

NSClient seems to be ignoring allow_nasty_meta_chars setting

I am trying to detect an eventlog entry on a server, so am trying to use the CheckEventLog command: ./check_nrpe -H hostname -c CheckEventLog -a MaxWarn=1 MaxCrit=1 "filter=generated gt -3d AND id=23 ...
0
votes
1answer
75 views

icinga nrpe executes locally instead of server

I am very new to icinga. In fact I finished setting it up today. I am trying to monitor a bunch of stuff on my nrpe machines. I set up my services in /etc/icinga/objects/my.server.com.cfg and ...
1
vote
2answers
5k 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
710 views

Nagios nrpe check_nrpe plugin missing [closed]

installed nagios nrpe into remote machine from ubuntu repository sudo apt-get install nagios-nrpe-server and plugins as sudo apt-get install nagios-plugins-basic nagios-plugins ...
4
votes
4answers
7k 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
10k 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
117 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
541 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
192 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
736 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
312 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
2k 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
453 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 ...
2
votes
1answer
6k 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 ...
0
votes
2answers
962 views

I've created a Nagios check but it keeps returning NRPE:Unable to read output, any idea why?

I created a Nagios check which checks our pacemaker using the crm_mon command. The check is configured in the same way on both Nagios server and client's nrpe.cfg: The command definition in nrpe.cfg ...
2
votes
2answers
12k 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 ...
0
votes
2answers
7k 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. ...
0
votes
0answers
215 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
votes
1answer
1k 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 ...
-1
votes
2answers
870 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
1answer
349 views

sudo: PAM audit_log_acct_message() failed: Permission denied

.. any time I'm run sudo through NRPE, I'm get a following message in my /var/log/secure, and I can't figure out how to resolve it. sudo: PAM audit_log_acct_message() failed: Permission denied ...