Nagios Remote Plugins Executor (NRPE) is a Nagios addon used to execute Nagios plugins on remote Linux/Unix hosts.
Questions tagged [nrpe]
137 questions
10
votes
15 answers
CHECK_NRPE: Error - Could not complete SSL handshake
I have NRPE daemon process running under xinetd on amazon ec2 instance and nagios server on my local machine.
The check_nrpe -H [amazon public IP] gives this error:
CHECK_NRPE: Error - Could not complete SSL handshake.
Both Nrpe are same versions.…

Dushyant Gupta
- 507
- 1
- 5
- 24
9
votes
9 answers
Nagios NRPE: Command not defined
In my nrpe_local.cfg added following command:
command[check_mycommand]=/usr/lib/nagios/plugins/check_command 30 35
and then restarted nrpe daemon.
When I execute this command using nrpe I'm getting the following error:
NRPE: Command…

Sandeep
- 353
- 1
- 4
- 11
6
votes
2 answers
CHECK_NRPE Could not connect to....: Connect reset by peer in Nagios NRPE
Im working on opensuse Leap 42.1. I have installed NRPE on the remote host. I following precisely the installation guide. However, the deaemon runs:
netstat -at | egrep "nrpe|5666"
tcp 0 0 *:nrpe *:* …

riasc
- 281
- 2
- 3
- 15
6
votes
4 answers
cannot find ssl libraries?
I am trying to install nrpe plugin on ubuntu 12.04, however I am facing issue with ssl libraries. I tried installing "libcurl3-openssl-dev" package, however when I try to compile nrpe plugin after installing this package I am facing issue saying…

user2614425
- 61
- 1
- 2
- 3
5
votes
2 answers
Nagios/NRPE giving a "No output returned from plugin" error
Getting a "No output returned from plugin" error message from a Nagios/NRPE script
1) Running Nagios v3.2.3 and NRPE v2.12
2) The script:
OK_STATE=0
UNAME=/bin/uname -r
echo "OK: Kernel Version=$UNAME"
exit $OK_STATE
2)…

Rick
- 51
- 1
- 1
- 4
5
votes
1 answer
NRPE remote host setup on amazon ec2
I have been trying to monitor a remote server using Nagios-Nrpe.
The remote host is the Amazon Ec2 instance where I have installed npre daemon on xinetd.
I have added my nagios server IP to "only-from" property in /etc/xinet.d/nrpe file.
I have…

Dushyant Gupta
- 507
- 1
- 5
- 24
5
votes
1 answer
compute CRC of struct in Python
I have the following struct, from the NRPE daemon code in C:
typedef struct packet_struct {
int16_t packet_version;
int16_t packet_type;
uint32_t crc32_value;
int16_t result_code;
char buffer[1024];
} packet;
I want to send this data…

verideskstar
- 183
- 2
- 8
3
votes
3 answers
Why does ps only return one line of output in my Perl script when I call it with Nagios?
I have this running:
if (open(PS_ELF, "/bin/ps -eLf|")) {
while () {
if ($_ =~ m/some regex/) {
# do some stuff
}
}
}
If called locally, the loop runs just fine, once for every output line of ps -eLf
Now if the same script…

Node
- 21,706
- 2
- 31
- 35
2
votes
2 answers
Monitor Nagios client services only when NRPE on client is up
Is there any way to achieve below scenario in Nagios using NRPE?
Nagios box will first check if NRPE on client box is up and if yes it wil check on other services configured for that client. If NRPE is down on client, it will throw notification for…

Paresh Gandhare
- 33
- 3
2
votes
1 answer
Icinga database cleanup
I am working in Icinga for performance data collection,
I have to clear all plugin data more than 30 days, how can I do this. I had some google searches does not help.
some references:
External Commands List
Database model
I am using:
RHEL…

saravanakumar
- 1,747
- 4
- 20
- 38
2
votes
1 answer
Nagios plugins location
I have ubuntu ec2 instance I want to monitor.I havent installed plugins on NRPE server which is using xinetd but instead I have configured and installed plugins on Nagios server.However except check_ssh nothing gets executed when I test from libexec…

khakishoiab
- 9,673
- 2
- 16
- 22
2
votes
1 answer
CHECK_NRPE: Error - Could not complete SSL handshake (web)
I have a local Nagios Server and I'm trying to configure it to monitor my tomcat8 server with check_jvm, so I can control the memory and classes used by Java.
To do so I installed the check_nrpe plugin on the client, and configured it but I'm…

vasher85
- 21
- 6
2
votes
1 answer
Execute remote script with NRPE
You can execute a script if you specify a plugin command on the remote server.
In the example below the plugin command is get_disk:
command[get_disk]=csript.exe c:\nagios\checks\check_disks_percentage_spave_used.vbs
I would however like NRPE on…

fredtma
- 1,007
- 2
- 17
- 27
2
votes
1 answer
Monitoring with Nagios disk - NRPE - Linux
I am having a problem with respect to Nagios / NRPE service is as follows:
I have done the configuration of each of the files, but does not recognize me nagios response delivered by NRPE on the client:
File: /etc/nagios/nrpe.cfg…

Jhosman
- 555
- 2
- 8
- 20
2
votes
1 answer
How to use sed within vim editor to replace a pattern?
I have the next code:
command[check_ping]=/usr/lib64/nagios/plugins/check_ping -w $ARG1$ -c $ARG2$
command[check_filemtime]=/usr/lib64/nagios/plugins/check_filemtime $ARG1$
command[check_iostat]=/usr/lib64/nagios/plugins/check_iostat $ARG1$…

Itai Ganot
- 5,873
- 18
- 56
- 99