Questions tagged [nrpe]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
80 views

Remote call of NRPE comman fails in one case, while succeeding locally in all

I have amazingly strange issue with monitoring a CIFS (SMB) shared folder mounted to Linux machines by Nagios + NRPE. NRPE process runs on the Linux machines under dedicated user nrpe: # systemctl ...
Cat Mucius's user avatar
0 votes
1 answer
183 views

check_ssh returning Permission denied

I'm a long time Nagios fan, like 15 years. In one of my environments, I have Nagios and NRPE running on several Linux hosts and everything has been working as expected for several months. I recently ...
Tim Perkins's user avatar
1 vote
1 answer
241 views

Not able to read a file on nagios client on Ubuntu 22.04

I just installed nagios and nrpe-version nrpe-4.1.0 on Ubuntu 22.04. Its a host machine which connects to nagios server. When I'm passing a check to run a script /usr/local/nagios/libexec/check_sync....
tkrsh's user avatar
  • 11
0 votes
1 answer
57 views

Exclude Service with spaces in name in NRPE arguments

exclude=edgeupdate = working fine exclude=Sophos Clean Service = not working what syntax do I have to use here?
BBQtrout's user avatar
1 vote
1 answer
431 views

No argument works witch the command check_drivesize

I querry a Windows Server where NSClient++ is installed with NRPE. The matter is I can't pass any filter/argument with the command check_drivesize ! This is the command : /usr/lib64/nagios/plugins/...
GrandGTO's user avatar
0 votes
0 answers
14 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&...
Tim Perkins's user avatar
0 votes
1 answer
263 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/...
The Shurrican's user avatar
0 votes
1 answer
553 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 ...
Kamil Bu's user avatar
0 votes
2 answers
311 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 ...
donmelchior's user avatar
0 votes
1 answer
542 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 ...
Franco.g's user avatar
0 votes
1 answer
519 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,...
MOBIN TM's user avatar
1 vote
1 answer
383 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 ...
JadenBZH's user avatar
0 votes
1 answer
282 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 ...
nonely's user avatar
  • 3
0 votes
1 answer
414 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 ...
nonely's user avatar
  • 3
0 votes
1 answer
1k 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 ...
JoaquínH's user avatar
1 vote
2 answers
2k 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/...
Canadian Luke's user avatar
0 votes
2 answers
2k 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 /...
FaxMax's user avatar
  • 165
1 vote
1 answer
391 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 ...
Hank Gay's user avatar
  • 375
0 votes
1 answer
297 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 ...
nonely's user avatar
  • 3
0 votes
1 answer
552 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 ...
matijevic's user avatar
0 votes
1 answer
1k 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 ...
Jessica Saxon's user avatar
3 votes
3 answers
4k 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 ...
Michael's user avatar
  • 345
6 votes
1 answer
7k 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 (...
simlev's user avatar
  • 1,115
0 votes
1 answer
183 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, ...
BurningKrome's user avatar
0 votes
1 answer
822 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 ...
BurningKrome's user avatar
1 vote
0 answers
559 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 ...
John's user avatar
  • 39
0 votes
1 answer
45 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 ...
Kosie's user avatar
  • 173
0 votes
1 answer
329 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' |...
Ilie Soltanici's user avatar
0 votes
1 answer
162 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 ...
D.Fitz's user avatar
  • 162
1 vote
1 answer
332 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 ...
GoodDog's user avatar
  • 33
-1 votes
1 answer
158 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 ] ...
Kjellson's user avatar
-2 votes
1 answer
858 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 ...
Maniraj's 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: [[email protected]]# cat /proc/version Linux version 3.10.0-693.11.6.el7....
Tango_gr's user avatar
-2 votes
1 answer
421 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 ...
user211238's user avatar
0 votes
1 answer
427 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 ...
emmdee's user avatar
  • 2,207
1 vote
1 answer
3k 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 ...
Typerek's user avatar
  • 11
0 votes
0 answers
614 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 ...
Jdamian's user avatar
  • 285
2 votes
1 answer
413 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....
Jdamian's user avatar
  • 285
1 vote
0 answers
101 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 ...
Gopinath Kadaveru's user avatar
0 votes
1 answer
503 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 ...
Gopinath Kadaveru's user avatar
0 votes
1 answer
340 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 ...
Florian Brucker's user avatar
1 vote
0 answers
111 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 ...
ilvidel's user avatar
  • 111
1 vote
0 answers
229 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 ...
Putharekulu 's user avatar
0 votes
1 answer
819 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 ...
sargue's user avatar
  • 166
0 votes
1 answer
358 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=...
Geo's user avatar
  • 575
1 vote
1 answer
217 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' | ...
Paul Jany Godwin's user avatar
1 vote
1 answer
559 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 ...
Senthil's user avatar
  • 11
0 votes
0 answers
861 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 ...
keegita gina's 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 ...
Virtuose's user avatar
  • 537
0 votes
1 answer
130 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 ...
mr.zog's user avatar
  • 921