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.

165 questions
0
votes
1 answer

Nagios server is not detecting if client vm's are rebooted

I have configured nagios server and added 30+ physical servers and 25+ vm's. All the configuration has completed and nagios server is monitoring servers,vm's and services. But when I am rebooting a vm, Nagios server is not detecting the vm…
MOBIN TM
  • 3
  • 1
0
votes
1 answer

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 of our system. I want to seperate these two…
nonely
  • 3
  • 2
0
votes
1 answer

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 to check that : exactly 1 process with command…
nonely
  • 3
  • 2
0
votes
1 answer

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 either could not fetch information from server or…
-1
votes
1 answer

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 ] then echo "$?" echo "$SERVICE service…
Kjellson
  • 85
  • 6
-1
votes
1 answer

Nagios nrpe check_nrpe plugin missing

installed nagios nrpe into remote machine from ubuntu repository sudo apt-get install nagios-nrpe-server and plugins as sudo apt-get install nagios-plugins-basic nagios-plugins nagios-plugins-extra but in /usr/lib/nagios/plugins location…
sivashanmugam
  • 37
  • 2
  • 6
-1
votes
1 answer

Nagios nrpe no handler for command

so i have started setting up Nagios on our network and have the below issue : No handler for command CheckDisk . This happens no matter what command i run. ( full command i have been running is /.check-nrpe -H xxx.xxx.xxx.xxx -c CheckDisk ) if i do…
NickDa
  • 87
  • 1
  • 1
  • 5
-1
votes
2 answers

Check NRPE APT now working through Nagios

I'm able to monitor hosts' package statuses via terminal; but Nagios web ui gives an error like this: (No output returned from plugin) Here's the command that works properly via terminal: /usr/lib/nagios/plugins/check_nrpe -H myhost -c…
talha06
  • 111
  • 2
  • 7
-1
votes
2 answers

NRPE Warning threshold must be a positive integer

OS: Ubuntu 12.10 Server 64bits I've installed Icinga, with ido2db, pnp4nagios and icinga-web (last release, following the instruction given in the documentation, installation with apt, etc). I am using icinga-web to monitor my hosts. For the moment,…
Frida
  • 31
  • 1
  • 2
  • 3
-2
votes
1 answer

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

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 machine which i'm using to monitor the other local…
Maniraj
  • 101
  • 4
-2
votes
1 answer

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 recognize certain regexes. I have tried these…
-2
votes
2 answers

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, but why? When I try to the same fix on Server 2 i…
-2
votes
1 answer

How does one add commands to nrpe.cfg for Percona MySQL plugins on NRPE client?

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. Define service in service.cfg 3. Add commands on…
Ashish Karpe
  • 277
  • 2
  • 5
  • 19
-2
votes
1 answer

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?
pcfreak30
  • 9
  • 1
-3
votes
2 answers

Truncating return data as it is bigger then NRPE allows

I'm using latest NSCLIENT on a Win Server 2012, and see: Truncating return data as it is bigger then NRPE allows in the log file. How can I fix this?
JustAGuy
  • 629
  • 3
  • 18
  • 35
1 2 3
10
11