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

learn more… | top users | synonyms

2
votes
3answers
371 views

Is there a way to install just a subset of NRPE checks?

I want to be able to check just a few things on a remote host from within nagios - cpu, memory etc, so, I am looking to install NRPE on the machine. NRPE wants to install Samba along with many other ...
0
votes
1answer
327 views

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$ ...
2
votes
1answer
672 views

NRPE: Unable to read output with check_connections plugin

I'm using plugin which gives me warning or crtis with established connections. If I run it on local machine it gives: *root@graber:/usr/lib/nagios/plugins# ./check_connections -w 1 -c 5 -C sshd ...
0
votes
2answers
5k views

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. ...
6
votes
1answer
695 views

NRPE and Perl - cannot include ANYTHING or it breaks

I've been banging my head off NRPE and Perl for weeks now. I decided to start from absolute first principles, and create a dummy nagios plugin that does nothing but always returns OK. I called it ...
4
votes
1answer
562 views

NRPE unable to read output - tried recommended troubleshooting in docs

I know this is a very common error where RTFM is usually the correct answer, but, I think I've covered all the obvious points. NRPE is running as the user nagios When I use sudo su - nagios to ...
0
votes
1answer
552 views

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 ...
1
vote
0answers
2k views

No handler for command 'CheckFileSize' in NSClient++

I am trying to set up monitoring of the size of folders on a Windows server from a Linux box through NRPE using NSClient++ (0.4.0.148-win64) . The basic setup is ok and I am for example able to issue ...
3
votes
4answers
5k views

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 ...
1
vote
1answer
479 views

Nagios checks for mulitple sendmail instance's mail queues

Is there an available perl script or any script for checking the mail queues of each instance of sendmail? So that we can use that on nagios nrpe, since the mailq command is only designed for one ...
0
votes
2answers
565 views

nagios nrpe plugin output not complete

I have written a small script to check the states of PfSense, and using this script to get the output in nagios, through NRPE... Here is the script used=`pfctl -s state | wc -l | bc | cut -c1-5 | ...
0
votes
3answers
537 views

looking for NRPE services code

i am looking for the NRPE services code that allow to connect to the remote host to check :- http service connect on port 80 or custom port ssh service on port 22 or custom port since the check disk ...
0
votes
5answers
229 views

NRPE Home Directory

I'm using NRPE and I a rather annoying problem. I need a couple temporary files written to the home directory of the user NRPE is running under (nagios). I checked that the /etc/passwd entry for ...
2
votes
4answers
4k views

NRPE and the $USER1$ variable

I have NRPE daemons running on all of my remote Linux boxes. I have a couple configurations in place and I'm trying to standardize the paths in my nrpe.cfg. The changes are deployed via Puppet. I ...
1
vote
3answers
445 views

How can I make check_nrpe wait for my remote script to finish executing?

I have a python script that's being used as a plugin for NRPE. This script checks to see if a process if running on a virtual machine by doing an SSH one-liner with a "ps ax | grep process" attached. ...
10
votes
9answers
27k views

NRPE unable to read output, but why?

I have this problem with NRPE, all the stuff I've found so far on the net seems to point me at things I've already tried. # /usr/local/nagios/plugins/check_nrpe -H nrpeclient gives NRPE v2.12 as ...
2
votes
1answer
3k views

sudo nrpe sorry you must have a tty to run sudo

After reading this [root@wcmisdlin02 alexus]# tail -2 /etc/sudoers ## Read drop-in files from /etc/sudoers.d (the # here does not mean a comment) #includedir /etc/sudoers.d [root@wcmisdlin02 alexus]# ...
0
votes
2answers
456 views

NSClient++: running VirtualBox VM displayed as poweroff

I have to monitor a VM, runned in a Windows Server 2008 environment, using VirtualBox. I use Nagios to do the monitoring job. This process is executed in an Ubuntu Server environment. The ...
1
vote
2answers
511 views

Powershell default console size

I'm using NSCLient to run some NRPE checks on Windows Server boxes. The checks run Powershell scripts but the problem I'm having is NSClient is adding random line breaks after 79 characters. I'm ...
5
votes
2answers
4k views

Nagios NRPE check_procs reporting incorrect number

I have an etch nagios server (I will call this NagiosServer), successfully monitoring lots of stuff, including another etch server (MonitorEtch). Using check_nrpe and check_procs I'm able to check the ...
3
votes
3answers
4k views

Nagios remote monitoring: NRPE Vs. SSH

We use Nagios to monitor quite a few (~130) servers. We monitor CPU, Disk, RAM and a few other things on each server. I've always used SSH to run the remote commands, purely because it requires little ...
2
votes
2answers
11k views

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 ...
3
votes
3answers
4k views

SELinux prevents Nagios plugins from running on RHEL6

After installing Nagios NRPE & Nagios Plugins, I'm getting the following entry in my rsyslog: May 13 14:01:30 wcmisdlin02 kernel: type=1400 audit(1305309690.482:2334): avc: denied { getattr } ...
1
vote
0answers
192 views

check_nrpe and non-fixed counter names

For some counters I have noticed Windows convently does provide a stable name for them, for example: \.NET Data Provider for SqlServer(_lm_w3svc_3_root-1-123412341234[6789]\Number of Free Conections ...
0
votes
2answers
2k views

Nagios no data returned from plugin, check_apt only

I have a very odd problem with Nagios. For some reason the check_apt seems to be failing and I dont know why. It acts like it's not running the check at all. I have nrpe running on the box ...
0
votes
1answer
450 views

Setting notification_interval globally for Nagios

Does anyone know how to set the variable to a global value? I currently get notification every 2 minutes (eg. every time the nrpe checker runs for a service) which gets very annoying. Going and ...
6
votes
5answers
5k views

nagios Missing Dependency: perl(Net::SNMP)

I have an odd problem. I'm trying to install nagios NRPE but it keeps failing with nagios-plugins-1.4.15-2.el5.rf.i386 from rpmforge has depsolving problems --> Missing Dependency: ...
2
votes
3answers
4k views

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 ...
2
votes
3answers
2k views

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 ...
0
votes
3answers
6k views

What Nagios plugin to use for monitoring MySQL? [closed]

I have just tried check_mysqld that I found on monitoringexchange.org, but it turned out that it outputs in a format that either NRPE 2.12 or Nagios 3.2.1 doesn't understand. Can anyone recommend a ...
4
votes
5answers
3k views

Is there a Nagios plugin that uses Nmap and does port checking?

I need to monitor open and closed ports on dozens of hosts. I've found a Nagios plugin that does what I need, but I would have to use this script through NRPE. Some of the hosts are powered by Linux ...
2
votes
3answers
1k views

NRPE-like checks from windows-based machines

I am sorry for not being able to come up with a more descriptive question title. For getting remote metrics I use nrpe on linux-based machines and nsclient++ on windows-based machines. If I need to ...
5
votes
2answers
3k views

Best practices for monitoring a JIRA installation?

One of my clients has a confluence / JIRA system set up. They've been having some issues- outbound email gets wedged, etc. If you support a JIRA install, what do you monitor? Do you use JMX? Direct ...