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

learn more… | top users | synonyms

3
votes
6answers
8k 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 ...
-2
votes
1answer
293 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

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

check_nrpe: ssocket time out after 10 seconds

I have a Nagios core setup in my environment for monitoring Windows, Linux servers etc. Recently i have configured a physical and swap memory monitoring using the plugin ./check_nrpe for windows ...
0
votes
1answer
48 views

icinga NRPE vs. SNMP

Is there a list of the pro/s and con/s of NRPE vs. SNMP when using icinga? I have no idea what's the best way to handle the returned data of plugins back to my icinga monitoring machine. Usage of ...
0
votes
1answer
18 views

NRPE Firewall blocking xinetd

From one side, my nagios server, IP 10.1.1.232. Here is my Nagios's xinetd's NRPE config : # default: on # description: NRPE (Nagios Remote Plugin Executor) service nrpe { flags = ...
1
vote
4answers
5k views

nrpe: Host is not allowed to talk to us

I installed nrpe on new servers. Nagios is already running and checking other server (I haven't installed). I've got several error lines in my syslog file : Oct 31 15:17:01 myservername nrpe[41848]: ...
0
votes
1answer
34 views

nrpe user cant properly execute script remotely using lsof, netstat works

I created a simple script for nagios to check a port on a remote server. Originally, I tried to use lsof. #!/bin/bash RESULT=$(lsof -i :8080 | grep LISTEN) if [ -n "$RESULT" ] then echo "$...
5
votes
3answers
24k views

Nagios: NRPE: Unable to read output, Can't find the reason, can you?

I have a Nagios server and a monitored server. On the monitored server: [root@Monitored ~]# netstat -an |grep :5666 tcp 0 0 0.0.0.0:5666 0.0.0.0:* LISTEN ...
1
vote
3answers
116 views

SELinux blocks nrpe access to MariaDB

I have a few virtual machines in the same LAN monitored by Icinga2 via NRPE. [Machine A] CentOS 6 Icinga2. [Machine B] CentOS 6 MariaDB v10.1.12 properly running Datadir and socket settings ...
0
votes
2answers
4k views

nrpe dead but pid file exists on CentoS 6.4 client

I have a similar problem like it was on question Memcached status returning "memcached dead but pid file exists" but I can't solve it. My Nagios client is CentOS 6.4 and NRPE won't work ...
0
votes
2answers
89 views

Nagios define service for nrpe command in Windows environment

I'm trying to configure Nagios to monitor our network which is all Windows based. I'm totally new to it, so please forgive my naiveness. Fact is: I'm banging my head over a task. What I want to ...
21
votes
13answers
59k views

NRPE unable to read output, but why?

I have this problem with NRPE, all the stuff I've found so far on the net seems to point me at things I've already tried. # /usr/local/nagios/plugins/check_nrpe -H nrpeclient gives NRPE v2.12 as ...
3
votes
2answers
9k 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 ...
0
votes
0answers
59 views

Nagios plugin(check_nrpe) unable to communicate to Sensu Api

I am trying to do a simple Sensu integration with Nagios. I ran into some trouble with check_nrpe. So there is a NAGIOS server polling on a SENSU server. My nagios check script: /usr/lib64/nagios/...
2
votes
1answer
60 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
1answer
498 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
469 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 ...
1
vote
2answers
69 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$ -...
0
votes
0answers
15 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 ...
2
votes
1answer
240 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
122 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
186 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
80 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. ...
1
vote
1answer
141 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 ...
3
votes
1answer
229 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
214 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 ...
6
votes
4answers
7k views

Nagios remote monitoring: NRPE Vs. SSH

We use Nagios to monitor quite a few (~130) servers. We monitor CPU, Disk, RAM and a few other things on each server. I've always used SSH to run the remote commands, purely because it requires little ...
2
votes
1answer
89 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
371 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 ~]# /usr/...
2
votes
1answer
602 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
448 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 ...
-2
votes
1answer
326 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
116 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 ...
4
votes
4answers
9k views

NRPE and the $USER1$ variable

I have NRPE daemons running on all of my remote Linux boxes. I have a couple configurations in place and I'm trying to standardize the paths in my nrpe.cfg. The changes are deployed via Puppet. I ...
2
votes
1answer
75 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 ...
1
vote
1answer
413 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
2answers
136 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
994 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 scripts\...
1
vote
0answers
406 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 ...
2
votes
1answer
468 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
2answers
701 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 ...
1
vote
1answer
401 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 http://...
2
votes
1answer
456 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
3answers
862 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 ...
1
vote
2answers
312 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 'check_nrpe_hwinfo....
1
vote
1answer
220 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 mon1....
2
votes
1answer
1k 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
5k views

NSClient++: external script with optional arguments

I am trying to define an external script which would take optional arguments in NSClient++ 0.4.1 on Windows. Following the nsclient-full.ini example code I have defined mycheck=cmd /C echo C:\mydir\...
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 terminal,...