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
0
votes
3 answers

NRPE commands doesn't work when called from remote management host

First of all: I know there were already questions about this issue, but even using their answers I still cannot figure out why my command is not working. What I want to do is call a script on remote host using NRPE. However, this what the script is…
spoko
  • 121
  • 1
  • 4
0
votes
1 answer

icinga nrpe executes locally instead of server

I am very new to icinga. In fact I finished setting it up today. I am trying to monitor a bunch of stuff on my nrpe machines. I set up my services in /etc/icinga/objects/my.server.com.cfg and configured it like so: define host{ use …
patchrail
  • 207
  • 2
  • 10
0
votes
2 answers

NRPE v2.15 connection refused centos 6

I have set this up on many machines, ubuntu, redhat, and centos, but am having trouble with one machine. I am using the nrpe package. I have the correct permissions for nagios users, and my config is set up correctly. What I am seeing is that if I…
girlcoder
  • 143
  • 1
  • 3
  • 8
0
votes
1 answer

Debug a Nagios NRPE command

My nagios fail with fail2ban service. Whith an other command it's Ok: nagios@server:/usr/lib/nagios/plugins$ /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 -c "check_load" OK - load average: 0.00, 0.06, 0.08|load1=0.000;15.000;30.000;0;…
bux
  • 626
  • 2
  • 6
  • 20
0
votes
1 answer

NRPE: "CHECK_NRPE: Error receiving data from daemon." error in the gui, but the check works from terminal, what could be the cause?

I'm monitoring a few Linux servers using NRPE and most of the checks are working. Actually, the only check which doesn't work is check_disk. Running a remote check_disk from the Nagios server terminal,: [root@nagios]#…
Itai Ganot
  • 10,644
  • 29
  • 93
  • 146
0
votes
1 answer

NSCLIENT\NRPE doesnt handle arguments with white spaces

I have a short script that prints out an argument being sent to it. Suppose I send over "print this", no matter what I do it always prints out only "print". I have tried with either powershell or batch - same result. I also tried in Test Mode and…
JustAGuy
  • 639
  • 3
  • 23
  • 38
0
votes
2 answers

I've created a Nagios check but it keeps returning NRPE:Unable to read output, any idea why?

I created a Nagios check which checks our pacemaker using the crm_mon command. The check is configured in the same way on both Nagios server and client's nrpe.cfg: The command definition in nrpe.cfg looks like that: [root@Nagios_clt plugins]# grep…
Itai Ganot
  • 10,644
  • 29
  • 93
  • 146
0
votes
0 answers

Nagios nrpe commands error out with asterisk

as the nrpe user when Command: /scripts/nagisk.pl -c version Outputs: Asterisk 1.8.11-cert10 Using nrpe Command: /usr/lib/nagios/plugins/check_nrpe -H [HOSTNAME] -c check_asterisk_version Outputs: Error getting version I have this line in my…
Tim Holum
  • 125
  • 1
  • 6
0
votes
2 answers

nrpe dead but pid file exists on CentoS 6.4 client

I have a similar problem like it was on question Memcached status returning "memcached dead but pid file exists" but I can't solve it. My Nagios client is CentOS 6.4 and NRPE won't work after power outage (which forcedly stopped CentOS). When I…
Zoran
  • 161
  • 3
  • 10
0
votes
2 answers

NRPE Issue Unable to Read output Check_Access_Log

In NRPE running xinetd I am able to run the script locally, but NRPE reports unable to read output when trying to run it remotely. Any suggestions?: [root@travel log]# /usr/local/nagios/libexec/check_nrpe -H xxx.xxx.xxx.xxx -t 30 -c…
David Eisen
  • 643
  • 5
  • 21
0
votes
1 answer

NRPE monitor a python process

I am new to Nagios. I understand setting up the service, etc. but I want to monitor some specific python processes that are running. When I set up the check_procs command for it to I give the -C option as '-C python programName'? Thanks
0
votes
2 answers

Unable to ping remote server Nagios

We've recently set up Nagios on one of our Amazon EC2 instances to act as a monitoring server to our other instances. nrpe was installed on our staging server stager and appears to be working fine: monitoring_server~:…
williamsowen
  • 1,167
  • 3
  • 16
  • 25
0
votes
1 answer

added shell script to sudoers still getting permission denied

I don't understand this? Other uses of sudo work fine. [oracle@o plugins]$ su Password: [root@ plugins]# su nrpe bash-3.2$ /home/oracle/obiee/instances/instance1/bifoundation/OracleBIApplication/coreapplication/setup/bi-init.sh bash:…
Bill S
  • 3
  • 2
0
votes
2 answers

nagios NRPE: Unable to read output

I currently set up a script to restart my http servers + php5 fpm but can't get it to work. I have googled and have found that mostly permissions are the problems of my error but can't figure it out. I start my script…
user125483
0
votes
1 answer

Megacli check returns "OK;NRPE: Unable to read output"

There is an icinga server set up to run check_megaraid_sas. It has been working beautifully for the last ~7 months. During this time several "Unable to read output" messages have shown up for a variety of reasons, and in all of those cases the…
isaaclw
  • 123
  • 7