Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [nrpe]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
33 views

CHECK_NRPE STATE CRITICAL: Socket timeout after 10 seconds

but as mentioned in other articles ,i am able to telnet ,but it is happening from public ip of client , i am doing from Nagios server telnet public ip of client 5666.it is working, but in nrpe.cfg i ...
user avatar
0 votes
0 answers
11 views

NRPE: Command 'check_ssh' not defined [duplicate]

We have a new Nagios Core server monitoring Linux hosts running NRPE plugins. Most of them are working as expected, but the SSH Monitor is failing with "NRPE: Command 'check_ssh' not defined&...
user avatar
0 votes
1 answer
31 views

nagios-nrpe-server output different vs running locally

To be sure I don't have any double definition of the command, I created a new debug command name in the nrpe config /etc/nagios/nrpe.d # grep -R debug debug.cfg:command[debug_check_disks]=/usr/lib/...
user avatar
0 votes
1 answer
32 views

Linux server nrpe nagios check_procs process state monitoring - need info, when process is restarted

I need to be informed by nagios when a process on a remote server is restarted. The only thing I do not know how to do is to check its process state, and what way to do it? I got in remote server this ...
user avatar
0 votes
2 answers
75 views

How to properly display accentuated characters in a check_nrpe result based on a Powershell script?

I have a custom Powershell script called by Nagios using "check_nrpe". Currently all check results output messages with special characters like 'è', 'é' or 'à' are not displayed properly ...
user avatar
0 votes
0 answers
21 views

How can I make check_nrpe alert on certain event log ID and recover on another

I'm trying to make a check_nrpe check through Nagios that will alert me on event log being generated and resolve the alert when another event log is generated(recover). Currently I'm using the ...
user avatar
0 votes
1 answer
93 views

Nagios: NRPE unable to read output

I really hope that someone can provide a solution for me. I have check_memory to check my remote hosts, but no matter what I try, I keep getting "NRPE unable to read output" on the Nagios ...
user avatar
0 votes
1 answer
288 views

Nagios server is not detecting if client vm's are rebooted

I have configured nagios server and added 30+ physical servers and 25+ vm's. All the configuration has completed and nagios server is monitoring servers,vm's and services. But when I am rebooting a vm,...
user avatar
1 vote
1 answer
192 views

A check_nrpe command doesn't work from nagios server since debian upgrade

Yesterday I upgraded a server from Debian 9 to Debian 10. This server is supervised with nagios. Since the upgrade, I get an alert, status Unknown saying : "Volumegroup array03-0 wasn't valid or ...
user avatar
0 votes
1 answer
150 views

Two nagios instances in the same machine

After days of surfing on the net and trying by myself, I urgently need your help. So, I have Nagios Core 4.4.3 installed in my centos machine that I use to monitor PROD and TEST environnement of one ...
user avatar
  • 3
0 votes
1 answer
282 views

Nagios - check procs and --metric=elapsed on the same service

After many days of working and searching onn the net, I'm getting back to you as a last chance for help. I'm working actually on monitoring unix process with nagios core 4.4.3 with nrpe . My goal is ...
user avatar
  • 3
0 votes
1 answer
407 views

NSClient++ rejects connection or fails to send info

I'm trying to get to work some active checks on Windows endpoint machines, NSClient++ works just fine with my Windows servers but when it comes to checking any endpoint the only response I get is ...
user avatar
1 vote
2 answers
1k views

Nagios NRPE won't allow arguments

I am trying to use a Nagios NRPE plugin to communicate with my servers. I have a command definition in /etc/nagios/nrpe_local.cfg to use it: command[check_service]=/usr/lib/nagios/plugins/...
user avatar
0 votes
2 answers
1k views

nrpe for Windows - filter and arguments change threshold values

i have my monitoring Linux server with NRPE Plugin for Nagios Version: 3.2.1 and i installed on the windows machine NSClient++ with this .bat script. set setupfile="NSCP-0.5.2.35-x64.msi" msiexec /...
user avatar
  • 165
1 vote
1 answer
317 views

Talking to NRPE2 clients from an NRPE3 server

I'm standing up a new Nagios server, and I have run into a bit of a snag. Our existing server is running FreeBSD 11 w/ Nagios 4.3.4 and nrpe2. It can communicate w/ the nrpe2 daemons on our various ...
user avatar
  • 365
0 votes
1 answer
160 views

Monitor unix process with Nagios Core

I'm begginer with Nagios and i'm trying to monitor if a specific process on my unix machine is up or not. Server and client are on the same machine : Trying to monitor that machine from a Nagios ...
user avatar
  • 3
0 votes
1 answer
346 views

icinga2: nrpe check_service gives server wrong result

I'm trying to get some third-party and my own custom checks running. The current test setup consists of one icinga(web)2 CentOS 7 server and one CentOS 7 client with NRPE installed within the same ...
user avatar
0 votes
1 answer
775 views

spaces in nagios argument ruining command - check_NRPE

I have a Nagios NRPE command failing to accept an argument that includes a white space. I'll include a list of everything I've tried at the very end. Here's examples of how my setup is: In the ...
user avatar
3 votes
3 answers
3k views

NRPE not working after NRPE plugin upgrade from v2.15 to v3.2.1

I'm migrating our Icinga 2 from Debian 8 to Ubuntu 18.04. The old server had NRPE plugin 2.15. The new server has NRPE plugin 3.2.1. If I try to connect with the new plugin to old NRPE servers (v2.15 ...
user avatar
  • 325
6 votes
1 answer
5k views

Systemd PrivateTmp=true security implications

I monitor the available disk space on Ubuntu servers using Nagios Core, NRPE and check_disk. With previous Ubuntu versions, I used to get an output similar to this: DISK OK - free space: / 43754 MB (...
user avatar
  • 997
0 votes
1 answer
101 views

Nagios notifications coming from NRPE client machine (NOT the Nagios server)

I have Nagios running on a Debian Jessie master server, with NRPE running on a Debian client. The root@localhost is getting a slew of emails - apparently originating from Nagios (NRPE) on the client, ...
user avatar
0 votes
1 answer
633 views

Security advantages: check_by_ssh versus check_nrpe

The question is which is more secure - as opposed to which is better from a configuration standpoint. I have a number of Centos and Debian systems. The NRPE daemon is installed and working on all ...
user avatar
1 vote
0 answers
384 views

NRPE agent works on 1 server, but not on the other, exactly same command

I have a very strange issue. It seems that when I execute a check_nrpe command to check the load on remote machines, it works on server1, but exactly the same command does not work on server2, and it ...
user avatar
  • 39
0 votes
1 answer
43 views

nagios/nrpe user confined to certain dir on ubuntu [closed]

I am confused. Not that is difficult to get me in a confused state, but I am so confused, that I don't know what my name is or where I live (like Baldrick!). Anyway, I have nrpe installed on a client ...
user avatar
  • 173
0 votes
1 answer
258 views

Nagio NRPE - Always return 0

I'm trying to execute a bash script in nagios by using nrpe client, but it is always returning "0" value as output. If i'm using this command in the script: _VAR=$(atop -r file.atop | grep '^DSK' |...
user avatar
0 votes
1 answer
135 views

Nagios Docker Stack Plugin works locally but not remote

I have a plugin to check the services running on docker. I've gone through all of the suggestions from the dozens of posts I have seen here, but I'm still not able to get this to work. The commands ...
user avatar
  • 163
1 vote
1 answer
250 views

NRPE: Command substitution in nrpe.cfg

I would like to check the size of a log file created day earlier. In nrpe.cfg I have tried to achieve this through command: command[example_command] =/usr/lib64/nagis/plugins/check_file_age -w 172800 ...
user avatar
  • 33
-1 votes
1 answer
105 views

Checking if a programm is running on linux

i'm trying to check if a program on a linux server is running and start it if not. But i get strange errors: #!/bin/sh SERVICE=nrpe ps -ef | grep -v grep | grep $SERVICE | wc -l if [ $? -gt 1 ] ...
user avatar
-2 votes
1 answer
725 views

How to monitor an AWS instance (Linux system) using nagios in local machine as server via nrpe plugin [closed]

I have my nagios core installed in an local machine(linux 16.04), which is perfectly monitoring my local remote machines. But i want to monitor an AWS instance (linux machine) using the same local ...
user avatar
  • 101
1 vote
1 answer
5k views

NRPE: Unable to read output - Permissions issues

I am trying to be as clear as possible: my brain is going to explode, like those explodding kittens. Both machines Centos 7: [root@192.168.10.2]# cat /proc/version Linux version 3.10.0-693.11.6.el7....
user avatar
-2 votes
1 answer
339 views

Python script doesn't work when executed from NRPE

I have developed a Nagios plugin using Python3 for checking some backups. If I run the script from the client, everything works fine, but when I run it from the Nagios server using NRPE, it doesn't ...
user avatar
0 votes
1 answer
301 views

Nagios in Docker - Source IP SNAT for NRPE isue

Nagios Server is running in a docker container. It's reaching out for host checks through NRPE running on various hosts within the network. The docker host is 10.10.100.100 Iptables ONLY allows ...
user avatar
  • 1,815
1 vote
1 answer
2k views

Running plugins with NRPE as root: NRPE unable to read output

I have a problem with nagios and NRPE and I can't resolve it. I've already tried. # grep "nrpe_user=" /etc/nagios/nrpe.cfg nrpe_user=nrpe NRPE is running as the user nrpe. So I added this lines to ...
user avatar
  • 11
0 votes
0 answers
518 views

SELinux prevents NRPE to run properly in RHEL 6.8: Could not complete SSL handshake with

I downloaded nrpe-3.2.0.tar.gz and nagios-plugins-2.2.1.tar.gz, extracted, compiled and installed in a RHEL 6.8 64-bit box. It runs fine when SELinux status is Permissive, but it does not work in ...
user avatar
  • 283
2 votes
1 answer
396 views

NRPE daemon turns ::1 into 52.0.0.0/14 subnet

I configured NRPE daemon (/usr/local/nagios/etc/nrpe.cfg) in debug mode because of some startup problems and I realized that the ::1 found by default in the allowed_hosts directive: allowed_hosts=127....
user avatar
  • 283
1 vote
0 answers
92 views

Error while Checking the KMS service count using Nsclient

I'm getting following error. NSClient version: 0.5.0.65 2016-11-13 nsclient.ini: [/modules] CheckWMI = enabled Syntax: ./check_nrpe -H 10.122.33.96 -c check_wmi -a "query=Select * from ...
user avatar
0 votes
1 answer
403 views

Need Critical alert for Particular Event id is not generated with in 24 hours

I am using CheckEventLog of NSClient++ 0.5.0.62 2016-09-14 how to use syntax for , if particular event id is not generated with in 24 hours i need critical alert , if event id generated i need ...
user avatar
0 votes
1 answer
286 views

Automated NRPE checks yield warnings but work when performed manually

I'm monitoring several hosts using Nagios. This works fine when I use "normal" checks that are executed on the monitoring host (say, check_http). However, I'm having troubles with NRPE-based checks ...
user avatar
1 vote
0 answers
103 views

Nagios/NRPE work on some nodes only

I wrote a custom check in bash, and run it on 4 different servers. Two of them work fine, and the other two fail when checking if a file exists with: if [ ! -f $LOGFILE ] By "fail" I mean that on ...
user avatar
  • 111
1 vote
0 answers
173 views

getting NRPE: Unable to read output when running from server

I am getting NRPE: Unable to read output when trying to connect to the docker container using nagios. When I run this script directly on the client machine it is successfully returning me the number ...
user avatar
0 votes
1 answer
775 views

Nagios3 to Icinga migration breaks nrpe checks

I have upgraded a server from Debian 8 to Debian 9. The server was running Nagios 3 to do some checks but that has been discontinued. The natural replacement is Icinga (version 1). I've installed it ...
user avatar
  • 156
0 votes
1 answer
306 views

Monitor JMX with Nagios for space on name

We are trying to monitor JMX with Nagios XI and using check_jmx Plugin. Its working fine for Heap memory, thread count etc..We re facing issue on while using the following: obj": "java.lang:type=...
user avatar
  • 535
1 vote
1 answer
201 views

Unable to get vm-list for KVM using nrpe check

I created check in KVM virtualized host to get list of available VM's in KVM hypervisor using below command. $ cat /usr/local/nagios/libexec/check_kvm #!/bin/sh val=`virsh list --all | sed '1,2d' | ...
user avatar
1 vote
1 answer
511 views

Occassional or Frequent CHECK_NRPE: Error – Could not complete SSL handshake

My Nagios/NRPE is configured and working as expected for a few years now. Occasionally or sometimes even very frequently in a day I get "CHECK_NRPE: Error – Could not complete SSL handshake". Is ...
user avatar
  • 11
0 votes
0 answers
754 views

Is installing NRPE on an ESXi for monitoring purpose a good idea?

I am using Centreon to monitore our VMs. I've also VM backups done on the ESXi (5.5.0) with ghettoVCB and sent to a NAS mounted on NFS. Now I would like to monitore those backups with a home made ...
user avatar
0 votes
1 answer
2k views

nagios-plugins - check_ntp_time not detecting an incorrect offset

I have the following ntp check on my server for Nagios via NRPE /usr/local/nagios/nrpe_plugins/check_ntp_time -H localhost -w 0.5 -c 1 -q When changing the date manually via the date command to a ...
user avatar
  • 517
0 votes
1 answer
120 views

How do I monitor the NRPE daemon on remote Icinga servers

Our network has one Icinga master and 23 Icinga satellites. NRPE runs on every satellite as well as the master. Is there a Nagios plugin I can run on the master to monitor whether nrpe is running on ...
user avatar
  • 900
1 vote
2 answers
1k views

No output returned from plugin but services shows ok

I'm trying to check the system memory by using check_memory.pl and the following command setup: In the nrpe.cfg on the remote host command[check_mem]=/usr/lib/nagios/plugins/check_mem -f -w 20 -...
user avatar
  • 13
0 votes
2 answers
784 views

Check_nrpe unable to read output from script

Script is at Server: #!/bin/bash if [ ! $# == 1 ]; then echo "Usage check_cluster " fi; clu_srv=$1 error="stopped" error1="disabled" error2="recoverable" host1=`sudo /usr/sbin/clustat|grep $1| awk {'...
user avatar
  • 3
3 votes
2 answers
31k views

Nagios/nrpe giving "Return code of 255 is out of bounds"

I have the following service set up for nagios: define service { hostgroup_name LNX service_description /tmp Disk Usage check_command check_nrpe!check_disk!-a '-...
user avatar
  • 131