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
0
votes
2 answers

nagios nrpe plugin output not complete

I have written a small script to check the states of PfSense, and using this script to get the output in nagios, through NRPE... Here is the script used=`pfctl -s state | wc -l | bc | cut -c1-5 | bc` echo "States consumed=$used" Normal output of…
Farhan
  • 4,269
  • 11
  • 49
  • 80
0
votes
3 answers

looking for NRPE services code

I am looking for the NRPE services code that allow to connect to the remote host to check :- http service connect on port 80 or custom port ssh service on port 22 or custom port since the check disk code compatible with hda , i need check…
iLinux85
  • 205
  • 1
  • 3
  • 10
0
votes
5 answers

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 Nagios is correctly pointing to /home/nagios and that…
Tim Brigham
  • 15,545
  • 10
  • 75
  • 115
0
votes
2 answers

NSClient++: running VirtualBox VM displayed as poweroff

I have to monitor a VM, runned in a Windows Server 2008 environment, using VirtualBox. I use Nagios to do the monitoring job. This process is executed in an Ubuntu Server environment. The communication between Nagios and the Windows machine relies…
0
votes
2 answers

Nagios no data returned from plugin, check_apt only

I have a very odd problem with Nagios. For some reason the check_apt seems to be failing and I dont know why. It acts like it's not running the check at all. I have nrpe running on the box development and all other checks are running fine. On the…
Mech
  • 660
  • 2
  • 11
  • 22
0
votes
3 answers

What Nagios plugin to use for monitoring MySQL?

I have just tried check_mysqld that I found on monitoringexchange.org, but it turned out that it outputs in a format that either NRPE 2.12 or Nagios 3.2.1 doesn't understand. Can anyone recommend a check plugin for Nagios 3 that works with NRPE?
Sandra
  • 10,303
  • 38
  • 112
  • 165
0
votes
1 answer

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 status nrpe nrpe.service - Nagios Remote Program…
Cat Mucius
  • 155
  • 1
  • 11
0
votes
1 answer

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 added 3 Linux 8 (Rocky) hosts into the…
0
votes
1 answer

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
  • 1
  • 1
0
votes
0 answers

NRPE: Command 'check_ssh' not defined

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". I can run check_ssh locally, but it's not working from…
0
votes
1 answer

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/nagios/plugins/check_disk -w 20% -c 5% -C -w 10000…
The Shurrican
  • 2,240
  • 7
  • 39
  • 60
0
votes
1 answer

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 nrpe command for now: ./check_procs -c 1: -a…
Kamil Bu
  • 9
  • 4
0
votes
2 answers

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 when the check result is shown on Nagios. How to allow those…
donmelchior
  • 103
  • 5
0
votes
1 answer

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 dashboard. My…
0
votes
1 answer

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, Nagios server is not detecting the vm…
MOBIN TM
  • 3
  • 1
1 2 3
10
11