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

Nagios plugin executes manually but not automatically

After some trial and error I managed to get the check_hwinfo plugin only partially working. And by partially I mean manually. In my '/usr/lib64/nagios/plugins' directory I have the 'check_nrpe_hwinfo.sh' script with the correct…
dlyk1988
  • 1,674
  • 4
  • 24
  • 36
1
vote
1 answer

NRPE: What's the difference between `only_from` directive and `allowed_hosts` and which one is preferred by NRPE?

I see two different places where I can configure which Nagios server my NRPE clients will speak with. The first one, while configuring NRPE to run under xinetd: only_from = 127.0.0.1 mon1.company.com The second one, in the…
Itai Ganot
  • 10,644
  • 29
  • 93
  • 146
1
vote
1 answer

NSClient seems to be ignoring allow_nasty_meta_chars setting

I am trying to detect an eventlog entry on a server, so am trying to use the CheckEventLog command: ./check_nrpe -H hostname -c CheckEventLog -a MaxWarn=1 MaxCrit=1 "filter=generated gt -3d AND id=23 AND source='mpio'" truncate=800 unique…
Cylindric
  • 1,127
  • 5
  • 24
  • 45
1
vote
1 answer

Issues when monitoring a gluster FS mount with Nagios via sudo

I have been monitoring a gluster FS mount with the following script, but have issues executing the script via NRPE. Here's my script on the remote box. /usr/lib64/nagios/plugins/check_gluster.pl #!/usr/bin/perl @output=`/usr/sbin/gluster volume…
Allano
  • 31
  • 1
  • 1
  • 4
1
vote
1 answer

Why is my Powershell script returing extra output when run by Nagios NRPE?

I have a Powershell script that I'm running via nrpe as an external script. The windows server (2008) is running nsclient++ (nscp.exe) v 0.4.1.102. The return section of my powershell script looks like this } else { write-host…
uSlackr
  • 6,412
  • 21
  • 37
1
vote
1 answer

check_nrpe socket time out on monitored machine

While setting up nrpe monitoring on a new dev machine, I've run into a bit of a snag. I've followed all of the recommend steps I could find, and still to no avail. Executing /usr/lib/nagios/plugins/check_nrpe -H localhost -n results in a socket…
dprog
  • 11
  • 2
1
vote
2 answers

Nagios NRPE “No Output returned from plugin“ error

So I've just started configuring Nagios in my environment and I'm getting the above error when trying to user the NRPE plugin. The host file is as follows: define { host_name servername alias servername address …
NickDa
  • 87
  • 1
  • 2
  • 5
1
vote
1 answer

Nagios: bash is missing

I'm monitoring NTP server with nagios and nrpe, at the nagios server, when I get the following error: Service Status UNKNOWN Status information I am missing an important component : bash The plugin is:…
mvillar
  • 438
  • 1
  • 7
  • 19
1
vote
1 answer

NRPE: Unable to read output CentOS6

I am monitoring a CentOS 6 machine with NTP service installed. The monitoring server is a CentOS 5 machine with Nagios and Centreon. I'm using NRPE for monitoring remote hosts, and I get the following error in two of four services that I…
mvillar
  • 438
  • 1
  • 7
  • 19
1
vote
1 answer

Nagios/NRPE how to check all filesystems mounted below opt

I have multiple mount points beneath /opt/virt/img, each of them an LVM logical volume formatted with ext4 and containing a qcow2 disk image for a running VM. I want to know when those volumes are getting filled. Is there some type of check_disk…
user160910
1
vote
1 answer

What agent is this nagios host using (if any)

I disabled nrpe via service nrpe stop. It is not running. Neither is snmpd running. I still have seen the status checks for disk space, ping, http, etc all running for this host. How do I determine what agent or method is being used to…
user160910
1
vote
1 answer

Cannot find a download source for Nagios NRPE for RHEL6

I need to install Nagios NRPE on Red Hat Enterprise Linux Server 6.0, but every guide I've found so far describes compiling it from source. This system does not have gcc installed and it is firewalled such that it cannot access the package…
emmma1223
  • 13
  • 2
1
vote
0 answers

No handler for command 'CheckFileSize' in NSClient++

I am trying to set up monitoring of the size of folders on a Windows server from a Linux box through NRPE using NSClient++ (0.4.0.148-win64) . The basic setup is ok and I am for example able to issue the "CheckDriveSize" command which is part of the…
Olof Åkesson
  • 111
  • 1
  • 3
1
vote
1 answer

Nagios checks for mulitple sendmail instance's mail queues

Is there an available perl script or any script for checking the mail queues of each instance of sendmail? So that we can use that on nagios nrpe, since the mailq command is only designed for one instance.
Sam
  • 11
  • 2
1
vote
3 answers

How can I make check_nrpe wait for my remote script to finish executing?

I have a python script that's being used as a plugin for NRPE. This script checks to see if a process if running on a virtual machine by doing an SSH one-liner with a "ps ax | grep process" attached. When executing the script manually, it works as…
Rauffle
  • 407
  • 1
  • 5
  • 13