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

learn more… | top users | synonyms

0
votes
1answer
40 views

NSClient++ :: Failed to establish secure connection

Trying to get active checks of a Windows host from my nagios server. At this point I'm not even using nagios, and just running check_nt from the command line. Verified that the port is open, it ...
2
votes
1answer
26 views

Nagios plugin to monitor FreeSWITCH

I am trying to configure Nagios to monitor FreeSWITCH as mentioned at https://github.com/kjhosein/nagios-freeswitch-plugin . I have downloaded the script from git and followed listed steps. On ...
0
votes
0answers
13 views

Groundworks NRPE Disk check exclusion

We have setup a Check Disk rule in Groundworks using the check_nrpe_disk template, this automatically see's all the drives on the server/machine you assign it to and then can alert you when they reach ...
1
vote
2answers
40 views

Passing argument in a .py script for nrpe plugin

Machine A = nagios master, Machine B = edge machine. In machine A's host.cfg I have: define command { command_name check_tok command_line $USER1$/check_nrpe -H $HOSTADDRESS$ ...
2
votes
1answer
93 views

CentOS7: KVM: error: Cannot create user runtime directory '/run/user/0/libvirt': Permission denied

Been trying to resolve an issue I found by having our Nagios installation use a plugin for KVM, check_kvm, I found. I think my problem boils down to a permissions issue with the nagios/nrpe user. ...
2
votes
2answers
63 views

Run check_nrpe on remote server

I am trying to monitor a small service on a dummy server via Icinga2 the check_nrpe plugin. I have setup both correctly as I can do the following: when I run /usr/lib/nagios/plugins/check_nrpe -H ...
1
vote
1answer
51 views

Nagios bash plugin works correctly locally but not remotely

I wrote a bash script for a custom nagios plugin that passes two command arguments for the warning and critical thresholds. When I run the bash script locally while passing the two arguments it works ...
0
votes
1answer
44 views

nrpe: Connection has taken too long to establish. Exiting

It has been several months that I have setup nrpe and it was working well till yesterday, there is a continuous log output from nrpe saying: nrpe: Connection has taken too long to establish. ...
2
votes
1answer
150 views

Nagios Notification interval and first notification delay

I have used in past these two parameters in Nagios ( first_notification_delay, notification_interval ) and until now worked perfect for me. Now that I have added new checks which use nrpe command. the ...
3
votes
1answer
83 views

NRPE allowed_hosts name resolution with IPv6

A fully IPv6 dual stack enabled network is monitored by Nagios 3.5.1 installed from EPEL on a CentOS 6.7 server. Monitored hosts run NRPE agents, all of which are configured to run as daemons (not via ...
1
vote
1answer
87 views

NRPE Works From Command Line; “Incorrect command line arguments” from Nagios

I'm trying to setup NRPE with a basic example as a first step towards deploying it. For simplicity, I'm running both NRPE and Nagios locally. NRPE and Nagios both seem to be working, but using ...
1
vote
1answer
79 views

NSCA passive stale --> multiple hanging nrpe processes?

shinken 2.0.3 nrpe 2.15 We are using nsca to perform passive checks. define service { name salt-service register 0 active_checks_enabled 0 passive_checks_enabled 1 ...
1
vote
1answer
56 views

NRPE : Unable to read output

I've installed an Incinga 2 server and I'm trying to monitor Linux server. So my server Icinga is working well. And last week I've installed the NRPE agent on one of our Server. It's a Red Hat ...
1
vote
1answer
166 views

permission denied running check_vmfs.sh through NRPE

we have a nagios monitoring system already running and I was after monitor our vmware datastores using the following plugin I installed vmware cli and tested with no issues: [root@nrpe-relay ~]# ...
-2
votes
1answer
191 views

How does one add commands to nrpe.cfg for Percona MySQL plugins on NRPE client? [closed]

How do you add commands to nrpe.cfg for Percona MySQL plugins on NRPE client? To configure percona-nrpe plugins for mysql you will have to do 3 things viz : 1. define commands in command.cfg 2. ...
0
votes
1answer
50 views

Not getting Proper output for check_iostat for nrpe plugins

My iostat is giving following output $ iostat Linux 3.13.0-29-generic (Inksedge) 08/13/2015 _x86_64_ (4 CPU) Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn xvdap1 ...
1
vote
1answer
176 views

NRPE check parameters getting lost

I'm running Shinken and have a pack which includes several commands that run bash scripts on the monitored host via NRPE. I have a check on the host which runs a bash script that takes 4 parameters. ...
1
vote
1answer
54 views

NRPE 2.15 - check_procs not showing right value

I've got Nagios Core Version 4.1.0rc2 configured server-side with a client running NRPE 2.15. I've got the two devices properly communicating using the check_nrpe command, but for whatever reason the ...
2
votes
2answers
301 views

Icinga2 unidirectional remote clients

I'd like to monitor some hosts on which I can't allow an income connection. Is there a away to achieve that while using "Icinga 2 Client" or "by_ssh"? I can't find anything about that in the ...
1
vote
2answers
100 views

check_nrpe ssl couldnt complete handshake, in both master and client server it works fine individually

I am getting this check_nrpe ssl couldnt complete handshake error in master server when I try executing the below command. /usr/local/nagios/libexec/check_nrpe -H 10.192.122.234 10.192.122.234 ...
1
vote
0answers
573 views

UNKNOWN: No handler for that command

I have the check_task.vbs placed in C:\nsclient++\scripts on a Windows Server 2008 R2. I defined in the NSC.ini a NRPE Handler like this: [NRPE Handlers] check_task=cscript.exe //NoLogo ...
0
votes
0answers
191 views

nagios check fails on nagios host but works locally

I wrote a small bash script to use with nagios to check if nrpe is running. The check works locally when run as root, but fails from the monitoring host. From the host I'm trying to monitor, I ...
1
vote
1answer
366 views

check_mysql_slavestatus RPE: Unable to read output

i am using Nrpe plugin on Ubuntu from nagios exchange check_mysql_slavestatus. Manually its working from : root@Bastion-01:/usr/local/nagios/libexec# ./check_mysql_slavestatus -H Slave-ip -P 3306 ...
2
votes
2answers
459 views

Nagios Basic Configuration (for quick addition of new machines)

I recently started to use Nagios to monitor about 25 servers (mainly virtual, with some standalone). Them majority of the servers (including the Nagios host itself) are running Ubuntu 14.04 LTS, with ...
2
votes
1answer
6k views

Nagios - Could not complete SSL handshake

I'm trying to configure Nagios command for checking status of physical memory on a remote Windows host using NRPE plugin. I'm using Nagios v3.0.6 on Ubuntu Server v14.10, and latest stable version of ...
1
vote
1answer
240 views

How does nrpe.d order includes?

I'm running the following version of the nagios-nrpe-server: nagios-nrpe-server: Installed: 2.12-5ubuntu1.2 Candidate: 2.12-5ubuntu1.2 Version table: *** 2.12-5ubuntu1.2 0 500 ...
2
votes
1answer
358 views

NRPE: Custom script returns unable to read input, but the script works correctly, what could it be?

I wrote a Nagios check script which receives a path as argument and checks: if the path is mounted if it is accessible by touching a file in the path. If the mount point directory is empty ...
0
votes
2answers
243 views

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 ...
1
vote
1answer
157 views

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 ...
0
votes
3answers
609 views

NRPE commands doesn't work when called from remote management host

First of all: I know there were already questions about this issue, but even using their answers I still cannot figure out why my command is not working. What I want to do is call a script on remote ...
2
votes
1answer
603 views

Nagios check_procs state filter

I'm on Ubuntu 14.04 and trying to run /usr/lib/nagios/plugins/check_procs -C rsyslogd -w 1:3 -c 1:5 -s S and it returns PROCS CRITICAL: 0 processes with command name 'rsyslogd', STATE = S | ...
2
votes
1answer
360 views

NRPE (Winrpe) Powershell Command - Unable to read output in Nagios

I'm trying to run an Powershell script from NRPE.cfg and get the output in Nagios. When i run the script on the local (Windows) server, everything is just fine. But when i put it in the NRPE.cfg en ...
-2
votes
1answer
274 views

NRPE: Unable to read output locally

I am running /usr/lib64/nagios/plugins/check_nrpe -H 127.0.0.1 -c check_disk as root yet get NRPE: Unable to read output. Any help?
0
votes
1answer
2k views

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 ...
0
votes
1answer
80 views

icinga nrpe executes locally instead of server

I am very new to icinga. In fact I finished setting it up today. I am trying to monitor a bunch of stuff on my nrpe machines. I set up my services in /etc/icinga/objects/my.server.com.cfg and ...
-3
votes
2answers
861 views

Truncating return data as it is bigger then NRPE allows

I'm using latest NSCLIENT on a Win Server 2012, and see: Truncating return data as it is bigger then NRPE allows in the log file. How can I fix this?
-1
votes
1answer
981 views

Nagios nrpe check_nrpe plugin missing [closed]

installed nagios nrpe into remote machine from ubuntu repository sudo apt-get install nagios-nrpe-server and plugins as sudo apt-get install nagios-plugins-basic nagios-plugins ...
0
votes
1answer
2k views

NRPE v2.15 connection refused centos 6

I have set this up on many machines, ubuntu, redhat, and centos, but am having trouble with one machine. I am using the nrpe package. I have the correct permissions for nagios users, and my config ...
1
vote
1answer
13k views

“CHECK_NRPE: Socket timeout after 10 seconds” HTTPS / SSL

I have configured NAGIOS server on IP address AA.BB.CC.DD (Linux Fedora 20), and Monitoring the host with IP address LL.MM.NN.OO (Linux Fedora 20). I have configured NRPE to run on port # 15666 ...
0
votes
1answer
159 views

Debug a Nagios NRPE command

My nagios fail with fail2ban service. Whith an other command it's Ok: nagios@server:/usr/lib/nagios/plugins$ /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 -c "check_load" OK - load ...
0
votes
1answer
3k views

NRPE: “CHECK_NRPE: Error receiving data from daemon.” error in the gui, but the check works from terminal, what could be the cause?

I'm monitoring a few Linux servers using NRPE and most of the checks are working. Actually, the only check which doesn't work is check_disk. Running a remote check_disk from the Nagios server ...
0
votes
1answer
849 views

Why isn't nrpe 'check_procs' finding my Passenger process?

I'm trying to use check_procs from NRPE to find out whether Passenger is running on my server. It loads from httpd but appears separately. 32135 ? Sl 0:09 Passenger RackApp: ...
1
vote
1answer
230 views

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 ...
1
vote
1answer
953 views

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 ...
1
vote
1answer
350 views

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 ...
0
votes
1answer
3k views

Nagios check_procs returns wrong value when called from NRPE

I have added the following line in nrpe.conf of a monitored server say named myserver: command[check_mysrv_process]=/usr/lib/nagios/plugins/check_procs -c 1: -C java -a mysrv which works locally as ...
0
votes
1answer
566 views

NSCLIENT\NRPE doesnt handle arguments with white spaces

I have a short script that prints out an argument being sent to it. Suppose I send over "print this", no matter what I do it always prints out only "print". I have tried with either powershell or ...
2
votes
1answer
8k views

Passing arguments to a Powershell Script using Nagios NRPE

Short powershell script for testing: $test = $args[0] echo "this works" echo "I transferred $test" exit 0 nsclient.ini settings: # If you want to fill this file with all avalible options run the ...
0
votes
2answers
1k views

I've created a Nagios check but it keeps returning NRPE:Unable to read output, any idea why?

I created a Nagios check which checks our pacemaker using the crm_mon command. The check is configured in the same way on both Nagios server and client's nrpe.cfg: The command definition in nrpe.cfg ...
2
votes
5answers
6k views

Nagios NRPE: Command “my_command” not defined

I have installed Nagios® Core™ 3.5.1 and NRPE v2.14 on my client which running RHEL 6.3 I have this error message on my Nagios NRPE: Command 'check_mysql_connections' not defined On my nrpe.cfg I ...