Passive Checks

NRDP – Nagios Remote Data Processor

Description:

Nagios Remote Data Processor (NDRP) is a flexible data transport mechanism and processor for Nagios. It is designed with a simple and powerful architecture that allows for it to be easily extended and customized to fit individual users’ needs. It uses standard ports protocols (HTTP(S) and XML) and can be implemented as a replacement for NSCA.

Current Version

Last Release Date

June 1, 2010

Compatible With

  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI

Owner


Project Photos
Project Notes
Documentation on NRDP (installation, overview, etc.) can be found here. If you are interested in monitoring Windows with NRDP more information can be found at: http://exchange.nagios.org/directory/Addons/Passive-Checks/NRDS_win/details
Reviews (10) Add a Review
Great work!
by maticue, October 31, 2014
macling66, check directory permissions. checkresults should have write access for www-data user.

# ls -ld /var/lib/nagios3/spool/
drwxr-x--- 3 nagios nagios 4096 Jun 28 2013 /var/lib/nagios3/spool/
# ls -ld /var/lib/nagios3/spool/checkresults/
drwxr-x--- 2 nagios nagios 12288 Oct 30 12:34 /var/lib/nagios3/spool/checkresults/
# chown nagios.www-data /var/lib/nagios3/spool/checkresults/
# chmod g+w /var/lib/nagios3/spool/checkresults/
# ls -ld /var/lib/nagios3/spool/checkresults/
drwxrwx--- 2 nagios www-data 12288 Oct 30 12:34 /var/lib/nagios3/spool/checkresults/
Helpful? Yes  No 
Not standard port - bug
by nick-tz, October 31, 2014
There is a bug in send_nrdp.php.
It doesn't work if there is not default port in url.
See source code under comment "Curl"/
Helpful? Yes  No 
Whoever wants multiple line of service output
by schymanski, June 30, 2014
we use this script for multiple lines of output:
define command {
command_name notify-service-by-nrdp
command_line /path/send_nrdp.sh "$HOSTNAME$" "$SERVICEDESC$" $SERVICESTATEID$ "$SERVICEOUTPUT$ $LONGSERVICEOUTPUT$" "$SERVICEPERFDATA$"
}


/path/send_nrdp.sh:

#!/bin/bash

TEST=$(echo "$4 | $5" | sed 's/$/n/' | tr -d "rn" )

/usr/local/nrdp/clients/send_nrdp.php --url=http://1.1.1.1/nrdp --token=xyzterw --host="$1" --service="$2" --state="$3" --output="$TEST"
Helpful? Yes  No 
great tool!
by xoroz, February 28, 2014
Thanks for this simple passive check solution.
I will be implementing it here.
Helpful? Yes  No 
Download Link not working
by symaedr, December 31, 2013
The tool works well, better than NSCA or other passive methodes.
The URL (assets.nagios...) isn't working any longer though.
Helpful? Yes  No 
NRDP with nagios core 4
by luhlig, September 30, 2013
NRDP is compatible with nagios core 4 ?
Helpful? Yes  No 
http_get Work, http_post No
by macling66, February 28, 2013
I am trying to use NRDP.

Please give me the hint how to make it work with http_post.

The first TEST is OK : DISABLE_HOST_NOTIFICATIONS

The second TEST on a service is NOT OK.
0 of 5 found this review helpful.
Helpful? Yes  No 5
Can not get newlines in output
by leggett, February 29, 2012
Try as I might, I can not get newlines in the output either via the web page submission or via send_nrdp.pl. I've tried n, \n, actual newlines and all I ever get is the first line and that's it.
5 of 8 found this review helpful.
Helpful? Yes 5 No 3
Switched from NSCA to NRDP
by kapurnicus, August 31, 2011
I was glad to see this get developed. We've been migrating away from NSCA to NRDP for multiple reasons:
- Long output support.
- More consistent results interfacing with a web server rather than the NSCA daemon.
- Easier to develop interfaces against URL encoded XML submissions (easy multi-language / multi-platform support).
- It may be my imagination but check results seem to get picked up faster by nagios through NRPD.

I wished it came with a client in another language but PHP. We don't have php binaries in our environment.

I've written a perl based client that uses the NRDP protocol but functions as a dropin replacement for send_nsca. I may post if there's interest.
6 of 15 found this review helpful.
Helpful? Yes 6 No 9
A Large Step Forward
by Scott, August 31, 2011
This is a huge step forward from NSCA, thanks for the contribution. No more external config is a huge plus, as is the firewall hassle being eliminated.
5 of 8 found this review helpful.
Helpful? Yes 5 No 3
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
4.5 (16)
Favorites
3
Views
251,476