Questions tagged [nrpe]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
18 views

How to disable nagios service check at a specific interval

I'm monitoring nagios services with daily checks using nrpe and check_procs. I need to disable the check from 17:00 to 08:00 . I tried to use timeperiod defined in timperiod.cfg but the problem is ...
0
votes
1answer
49 views

Two nagios instances in the same machine

After days of surfing on the net and trying by myself, I urgently need your help. So, I have Nagios Core 4.4.3 installed in my centos machine that I use to monitor PROD and TEST environnement of one ...
0
votes
1answer
35 views

Nagios - check procs and --metric=elapsed on the same service

After many days of working and searching onn the net, I'm getting back to you as a last chance for help. I'm working actually on monitoring unix process with nagios core 4.4.3 with nrpe . My goal is ...
0
votes
1answer
40 views

NSClient++ rejects connection or fails to send info

I'm trying to get to work some active checks on Windows endpoint machines, NSClient++ works just fine with my Windows servers but when it comes to checking any endpoint the only response I get is ...
1
vote
2answers
236 views

Nagios NRPE won't allow arguments

I am trying to use a Nagios NRPE plugin to communicate with my servers. I have a command definition in /etc/nagios/nrpe_local.cfg to use it: command[check_service]=/usr/lib/nagios/plugins/...
0
votes
2answers
368 views

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

Talking to NRPE2 clients from an NRPE3 server

I'm standing up a new Nagios server, and I have run into a bit of a snag. Our existing server is running FreeBSD 11 w/ Nagios 4.3.4 and nrpe2. It can communicate w/ the nrpe2 daemons on our various ...
0
votes
1answer
49 views

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

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

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 ...
0
votes
2answers
1k views

NRPE not working after NRPE plugin upgrade from v2.15 to v3.2.1

I'm migrating our Icinga 2 from Debian 8 to Ubuntu 18.04. The old server had NRPE plugin 2.15. The new server has NRPE plugin 3.2.1. If I try to connect with the new plugin to old NRPE servers (v2.15 ...
2
votes
1answer
1k views

Systemd PrivateTmp=true security implications

I monitor the available disk space on Ubuntu servers using Nagios Core, NRPE and check_disk. With previous Ubuntu versions, I used to get an output similar to this: DISK OK - free space: / 43754 MB (...
0
votes
1answer
59 views

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

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 ...
1
vote
0answers
168 views

NRPE agent works on 1 server, but not on the other, exactly same command

I have a very strange issue. It seems that when I execute a check_nrpe command to check the load on remote machines, it works on server1, but exactly the same command does not work on server2, and it ...
0
votes
1answer
35 views

nagios/nrpe user confined to certain dir on ubuntu [closed]

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

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

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

NRPE: Command substitution in nrpe.cfg

I would like to check the size of a log file created day earlier. In nrpe.cfg I have tried to achieve this through command: command[example_command] =/usr/lib64/nagis/plugins/check_file_age -w 172800 ...
-1
votes
1answer
74 views

Checking if a programm is running on linux

i'm trying to check if a program on a linux server is running and start it if not. But i get strange errors: #!/bin/sh SERVICE=nrpe ps -ef | grep -v grep | grep $SERVICE | wc -l if [ $? -gt 1 ] ...
-2
votes
1answer
552 views

How to monitor an AWS instance (Linux system) using nagios in local machine as server via nrpe plugin [closed]

I have my nagios core installed in an local machine(linux 16.04), which is perfectly monitoring my local remote machines. But i want to monitor an AWS instance (linux machine) using the same local ...
1
vote
1answer
3k views

NRPE: Unable to read output - Permissions issues

I am trying to be as clear as possible: my brain is going to explode, like those explodding kittens. Both machines Centos 7: [root@192.168.10.2]# cat /proc/version Linux version 3.10.0-693.11.6.el7....
-2
votes
1answer
267 views

Python script doesn't work when executed from NRPE

I have developed a Nagios plugin using Python3 for checking some backups. If I run the script from the client, everything works fine, but when I run it from the Nagios server using NRPE, it doesn't ...
0
votes
1answer
215 views

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

Running plugins with NRPE as root: NRPE unable to read output

I have a problem with nagios and NRPE and I can't resolve it. I've already tried. # grep "nrpe_user=" /etc/nagios/nrpe.cfg nrpe_user=nrpe NRPE is running as the user nrpe. So I added this lines to ...
0
votes
0answers
390 views

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

NRPE daemon turns ::1 into 52.0.0.0/14 subnet

I configured NRPE daemon (/usr/local/nagios/etc/nrpe.cfg) in debug mode because of some startup problems and I realized that the ::1 found by default in the allowed_hosts directive: allowed_hosts=127....
1
vote
0answers
83 views

Error while Checking the KMS service count using Nsclient

I'm getting following error. NSClient version: 0.5.0.65 2016-11-13 nsclient.ini: [/modules] CheckWMI = enabled Syntax: ./check_nrpe -H 10.122.33.96 -c check_wmi -a "query=Select * from ...
0
votes
1answer
304 views

Need Critical alert for Particular Event id is not generated with in 24 hours

I am using CheckEventLog of NSClient++ 0.5.0.62 2016-09-14 how to use syntax for , if particular event id is not generated with in 24 hours i need critical alert , if event id generated i need ...
0
votes
1answer
231 views

Automated NRPE checks yield warnings but work when performed manually

I'm monitoring several hosts using Nagios. This works fine when I use "normal" checks that are executed on the monitoring host (say, check_http). However, I'm having troubles with NRPE-based checks ...
1
vote
0answers
94 views

Nagios/NRPE work on some nodes only

I wrote a custom check in bash, and run it on 4 different servers. Two of them work fine, and the other two fail when checking if a file exists with: if [ ! -f $LOGFILE ] By "fail" I mean that on ...
1
vote
0answers
135 views

getting NRPE: Unable to read output when running from server

I am getting NRPE: Unable to read output when trying to connect to the docker container using nagios. When I run this script directly on the client machine it is successfully returning me the number ...
0
votes
1answer
671 views

Nagios3 to Icinga migration breaks nrpe checks

I have upgraded a server from Debian 8 to Debian 9. The server was running Nagios 3 to do some checks but that has been discontinued. The natural replacement is Icinga (version 1). I've installed it ...
0
votes
1answer
262 views

Monitor JMX with Nagios for space on name

We are trying to monitor JMX with Nagios XI and using check_jmx Plugin. Its working fine for Heap memory, thread count etc..We re facing issue on while using the following: obj": "java.lang:type=...
1
vote
1answer
161 views

Unable to get vm-list for KVM using nrpe check

I created check in KVM virtualized host to get list of available VM's in KVM hypervisor using below command. $ cat /usr/local/nagios/libexec/check_kvm #!/bin/sh val=`virsh list --all | sed '1,2d' | ...
1
vote
1answer
387 views

Occassional or Frequent CHECK_NRPE: Error – Could not complete SSL handshake

My Nagios/NRPE is configured and working as expected for a few years now. Occasionally or sometimes even very frequently in a day I get "CHECK_NRPE: Error – Could not complete SSL handshake". Is ...
0
votes
0answers
517 views

Is installing NRPE on an ESXi for monitoring purpose a good idea?

I am using Centreon to monitore our VMs. I've also VM backups done on the ESXi (5.5.0) with ghettoVCB and sent to a NAS mounted on NFS. Now I would like to monitore those backups with a home made ...
0
votes
1answer
1k views

nagios-plugins - check_ntp_time not detecting an incorrect offset

I have the following ntp check on my server for Nagios via NRPE /usr/local/nagios/nrpe_plugins/check_ntp_time -H localhost -w 0.5 -c 1 -q When changing the date manually via the date command to a ...
0
votes
1answer
115 views

How do I monitor the NRPE daemon on remote Icinga servers

Our network has one Icinga master and 23 Icinga satellites. NRPE runs on every satellite as well as the master. Is there a Nagios plugin I can run on the master to monitor whether nrpe is running on ...
1
vote
2answers
1k views

No output returned from plugin but services shows ok

I'm trying to check the system memory by using check_memory.pl and the following command setup: In the nrpe.cfg on the remote host command[check_mem]=/usr/lib/nagios/plugins/check_mem -f -w 20 -...
0
votes
2answers
567 views

Check_nrpe unable to read output from script

Script is at Server: #!/bin/bash if [ ! $# == 1 ]; then echo "Usage check_cluster " fi; clu_srv=$1 error="stopped" error1="disabled" error2="recoverable" host1=`sudo /usr/sbin/clustat|grep $1| awk {'...
3
votes
2answers
23k views

Nagios/nrpe giving “Return code of 255 is out of bounds”

I have the following service set up for nagios: define service { hostgroup_name LNX service_description /tmp Disk Usage check_command check_nrpe!check_disk!-a '-...
2
votes
2answers
5k views

Passing argument to nrpe

Remote hosts nrpe.conf command[check_users]=/usr/lib64/nagios/plugins/check_users -w $ARG1$ -c $ARG2$ Monitoring host: define command{ command_name check_nrpe command_line /usr/...
-2
votes
2answers
229 views

NRPE error when using check_nrpe

I have 2 centos server Server 1 - centos 6.8 Server 2 - centos 6.7 Originaly I had the issue on Server 1 but was able to fix the issue I had with the fix explained here NRPE unable to read output,...
0
votes
1answer
1k 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
417 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
566 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 = ...
2
votes
1answer
390 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 "$...
1
vote
3answers
580 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 in ...
0
votes
2answers
2k 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 ...