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
0answers
66 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 ...
2
votes
0answers
191 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'...
1
vote
1answer
2k 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-...
0
votes
1answer
555 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 ...
1
vote
0answers
470 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=$...
1
vote
1answer
698 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 ...
0
votes
1answer
2k 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 ...
3
votes
0answers
566 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 ...
0
votes
1answer
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(/...
0
votes
1answer
496 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 ...
1
vote
1answer
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/...
1
vote
1answer
204 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 ...
0
votes
2answers
8k 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 ...
2
votes
1answer
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;...
1
vote
2answers
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 ...
1
vote
1answer
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 ...