Questions tagged [nrpe]

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

NRPE allows you to remotely execute Nagios plugins on other Linux/Unix machines. This allows you to monitor remote machine metrics (disk usage, CPU load, etc.). NRPE can also communicate with some of the Windows agent addons, so you can execute scripts and check metrics on remote Windows machines as well.

164 questions
4
votes
4 answers

nagios nrpe check_procs wrong return value

I have a problem with my nagios monitoring. I'm trying to check a process on a remote host using nrpe. The host was already been monitored by nagios, so I only needed to add a line to the nrpe.cfg file. There was even already a check_procs check…
Niels
  • 821
  • 3
  • 9
  • 8
4
votes
2 answers

NRPE: Unable to read output

I try to monitor MySQL database: [root@monitored.com ~]# su nagios -c /usr/lib/nagios/plugins/check_mysql Uptime: 18014 Threads: 1 Questions: 6 Slow queries: 0 Opens: 12 Flush tables: 1 Open tables: 6 Queries per second avg: 0.000 but…
Antonio
  • 720
  • 4
  • 13
  • 29
3
votes
3 answers

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 too), I get these errors: $…
Michael
  • 345
  • 6
  • 19
3
votes
2 answers

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 '-w 20% -c 10% -p /tmp' check_interval …
Mitch
  • 131
  • 1
  • 1
  • 5
3
votes
2 answers

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. After installing nrpe and plugins, I do not have any…
rwfitzy
  • 233
  • 5
  • 16
3
votes
1 answer

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 above two parameters are not effected. and i…
Furqi
  • 31
  • 1
  • 3
3
votes
1 answer

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 xinetd) with the configuration…
Tilman Schmidt
  • 4,101
  • 12
  • 27
3
votes
1 answer

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 | procs=0;1:3;1:5;0; So I run with -vvv and find that…
span
  • 163
  • 2
  • 7
3
votes
1 answer

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 try to get the output in Nagios, i get an Unable to…
J2014
  • 31
  • 2
3
votes
6 answers

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 already set up the allowed_host,…
buzzing_bee
  • 33
  • 1
  • 1
  • 5
3
votes
2 answers

sudo: PAM audit_log_acct_message() failed: Permission denied

.. any time I'm run sudo through NRPE, I'm get a following message in my /var/log/secure, and I can't figure out how to resolve it. sudo: PAM audit_log_acct_message() failed: Permission denied please advise. * UPDATE * [root@XXXXX ~]# ausearch -m…
alexus
  • 13,112
  • 32
  • 117
  • 174
3
votes
1 answer

CHECK_NRPE: Error - Could not complete SSL handshake

I've just moved to a new nagios server and have got all the old hosts/services working. There is just one host that will not allow nrpe checks, producing an error on the nagios server as in the title. The host produces the following error in syslog…
Mark Gifford
  • 33
  • 1
  • 4
3
votes
1 answer

Monitor worker process with nagios

I am working on setting up Nagios monitoring. I was able to setup and monitor the system processes. Now, I am working on setting up monitoring for custom running processes. We are having python worker process running with identifier. Each process is…
3
votes
3 answers

Pros/cons of NRPE and SNMP with Nagios 3?

I have been using Nagios 3 with NRPE on the clients for some time now, and it works great. Now I heard that if I used SNMP I wouldn't have to install check_ plugins on each client. So does anyone knows of pros and cons of NRPE vs. SNMP? My monitor…
Sandra
  • 10,303
  • 38
  • 112
  • 165
3
votes
3 answers

Where to define command in nagios

I want to define new command in nagios for remote host but i can't find out where should i write this thing define command { } on remote host i have only this file vim /usr/local/nagios/etc/nrpe.cfg Should i write that in above file or i have…
John
1
2
3
10 11