Questions tagged [nrpe]

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

NRPE allows you to remotely execute Nagios plugins on other Linux/Unix machines. This allows you to monitor remote machine metrics (disk usage, CPU load, etc.). NRPE can also communicate with some of the Windows agent addons, so you can execute scripts and check metrics on remote Windows machines as well.

164 questions
1
vote
1 answer

Setting notification_interval globally for Nagios

Does anyone know how to set the variable to a global value? I currently get notification every 2 minutes (eg. every time the nrpe checker runs for a service) which gets very annoying. Going and editing this for every service is going to get quite…
Redconnection
  • 297
  • 1
  • 3
  • 6
1
vote
1 answer

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.sh. This runs fine under user 'ubuntu' but if I…
tkrsh
  • 11
  • 2
1
vote
1 answer

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/check_centreon_nrpe3 -H x.x.x.x -n -c…
GrandGTO
  • 31
  • 2
1
vote
1 answer

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 wasn't specified with "-v Volumegroup", bye.…
JadenBZH
  • 13
  • 3
0
votes
2 answers

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 /l install.log /i %setupfile%…
FaxMax
  • 165
  • 1
  • 2
  • 12
0
votes
1 answer

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 runing on it. I've installed Nagios Core 4, nrpe and…
nonely
  • 3
  • 2
0
votes
1 answer

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 network and firewalld has been disabled. The…
matijevic
  • 1
  • 1
0
votes
1 answer

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 commands.cfg file: command_line …
0
votes
1 answer

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, versus being sent by the Nagios master server. As…
BurningKrome
  • 525
  • 2
  • 12
  • 22
0
votes
1 answer

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 them, with nrpe.conf configured with…
BurningKrome
  • 525
  • 2
  • 12
  • 22
0
votes
1 answer

nagios/nrpe user confined to certain dir on ubuntu

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 and everything works fine from the nagios server.…
Kosie
  • 173
  • 3
0
votes
1 answer

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' | tr -s ' ' | grep "sda" | cut -d '|' -f 3 | grep -o…
0
votes
1 answer

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 all run individually and the script runs as well,…
D.Fitz
  • 162
  • 1
  • 8
0
votes
1 answer

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 inbound on tcp 5666 from 10.10.100.100 for inbound…
emmdee
  • 2,187
  • 12
  • 36
  • 60
0
votes
0 answers

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 Enforcing mode. I have run a lot of times grep -e…
Jdamian
  • 285
  • 3
  • 19