Questions tagged [nrpe]

the Nagios Remote Plugins Executor (NRPE), used to execute Nagios plugins on remote clients

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

how to toubleshoot nagios check_nrpe issues?

Steps done: On Nagios Server (CentOS 7) yum install nagios nagios-plugins-all On Target (CentOS 7) yum install nrpe nagios-plugins-all modified nrpe.cfg and added master IP to allowed_hosts ...
user avatar
  • 1,613
0 votes
1 answer
288 views

Unable to stop nagios nrpe server

Note: I am referring to an old Ubuntu 14.04 ! :( Don't blame me, it's not my fault. I have this process When I kill, something restart it automatically. I need to stop it! I tried what follows ...
user avatar
  • 541
0 votes
1 answer
1k views

NRPE Could not complete SSL handshake - Peer did not return a ceritificate

I am getting SSL Handshake errors with NRPE after enabling SSL. It worked perfectly fine without SSL doing check_nrpe. The allowed host is correct and when run without SSL enabled it shows the proper ...
user avatar
1 vote
1 answer
408 views

check_nrpe command doesn't work from nagios server since debian upgrade

Yesterday I upgraded a server from Debian 9 to Debian 10. This server is supervised with nagios. Since the upgrade, I get an alert, status Unknown saying : "Volumegroup array03-0 wasn't valid or ...
user avatar
0 votes
0 answers
467 views

Open port 12489 for nrpe

I'm learning a little bit of nagios and unix(buster), and im getting an error related with monitoring CPU LOAD and MEMORY USAGE The feedback I get from the monitor is connect to address 192.168.1.94 ...
user avatar
  • 103
2 votes
0 answers
463 views

shebang with /usr/bin/env and sudo

I have lots of scripts, usually they start with a shebang and /usr/bin/env and the required interpreter (for example "#!/usr/bin/env perl"). This works fine since many years, but for some reason I don'...
user avatar
  • 121
1 vote
2 answers
4k views

Don't have directory '/usr/lib/x86_64-linux-gnu'. But instructions to install a software says './configure --with-ssl-lib=/usr/lib/x86_64-linux-gnu'

I am trying to install NRPE (nagios remote plugin executor) in a CentOS system. In the configuration step, the document I have been given to refer to says, ./configure --enable-command-args --with-...
user avatar
0 votes
1 answer
1k views

Nagios: are certificates required for SSL/TLS?

Configuring check_nrpe and NRPE daemon with --enable-ssl generates a DH key pair. Are these DH keys enough to establish SSL connection? Or do we need certs and keys signed by a CA? Docs say ...
user avatar
  • 255
1 vote
0 answers
510 views

Nagios plugin fails to run a command over NRPE

I have the following plugin whose status is OK on core. #!/usr/local/bin/bash if [ "$1" = "-w" ] && [ "$2" -lt "101" ] && [ "$3" = "-c" ] && [ "$4" -lt "101" ] ; then warn=$...
user avatar
  • 255
1 vote
1 answer
929 views

How can I get hostapd_cli to work under sudo on debian stretch?

I have a bash script that runs hostapd_cli all_sta, and the script executes successfully from the command line under both jessie and stretch. The script also works when run under sudo on jessie but ...
user avatar
  • 111
0 votes
1 answer
3k views

libssl.so.6 not found for check_nrpe

I couldn't get NRPE to work, so I ran it locally and this error popped up: ./check_nrpe: error while loading shared libraries: libssl.so.6: cannot open shared object file: No such file or directory ...
user avatar
  • 1
3 votes
0 answers
708 views

Nagios - Help with getting NRPE to work with check_fail2ban.sh

I am trying to monitor fail2ban with Nagios so, I found the following check via a Google search: http://nagios.fm4dd.com/plugins/manual/check_fail2ban.htm I am trying to get the check to work on a ...
user avatar
  • 31
0 votes
1 answer
1k views

Nagios plugins are executed from server plugins or client plugins? [closed]

Just installed Nagios on SERVER (10.20.8.106) and attached a CLIENT (10.20.10.11). So I defined my host and and a service for check_nrpe. It is working. So I have check_nrpe plugin in the plugins(/...
user avatar
  • 335
0 votes
1 answer
576 views

Nagios Plugin for reading RMON files

May I know if Nagios is able read and display information from .rmon and .pmon files ? Samples: .rmon Time Stamp,RX Octs,TX Octs,RX Pkts,TX Pkts,RX Drop Events,Status,RX Undersize Pkts,Status,RX ...
user avatar
  • 55
1 vote
1 answer
4k views

ERROR: CHECK_NRPE: Socket timeout after 10 seconds

getting following error : # /usr/local/nagios/libexec/check_nrpe -H nagios-server-ip CHECK_NRPE: Socket timeout after 10 seconds. But it's working for localhost # /usr/local/nagios/libexec/...
user avatar
1 vote
1 answer
275 views

How is python invocation different when launched by Nagios nrpe?

When invoked with python2 after importing os and sys, the following function runs successfully but acts incorrectly when invoked by Nagios nrpe: def get_proc1_open_files(): # Set proc1_children ...
user avatar
  • 121
0 votes
2 answers
11k views

Find command to check only for the last 10 minutes and not the whole folder

I have an nvr system that recording video surveillance into a file server (Debian). I made a Nagios plugin to check if the NVR system is recording correctly and send me a notification when it stops ...
user avatar
2 votes
1 answer
4k views

Why does this Bash NRPE plugin not return a variable to Nagios?

This script I have here works locally just fine: #! /bin/bash volts=`sudo vcgencmd measure_volts core|sed 's/volt=\([0-9\.]*\)V/\1/'` echo -n "BCM2835 SoC Voltage is ${volts}V " echo "| volts=$volts;...
user avatar
  • 679
1 vote
2 answers
2k views

The receiving of returns by Nagios from script through NRPE

I am using nagios3 and want to collect some information from nrpe_server. Next script is at nrpe_server: #!/bin/sh #set -x # script for checking disk usage on ZFS # requires min zpool version 13 or ...
user avatar
  • 141
1 vote
1 answer
3k views

How do I install the nagios NRPE plugin on CentOS 5 using yum?

How do I install the nagios NRPE plugin on CentOS 5 using yum? I've tried yum install nagios-plugins but it's only downloading a fraction of a megabyte. Then if I do a search for one of the commands ...
user avatar
  • 41.3k