Home Directory Addons Passive Checks NRDP - Nagios Remote Data Processor

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

NRDP - Nagios Remote Data Processor Featured

Rating
16 votes
Favoured:
3
Compatible With
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
Hits
252725
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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.
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)
bymaticue, October 30, 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/
bynick-tz, October 5, 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"/
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 "\r\n" )

/usr/local/nrdp/clients/send_nrdp.php --url=http://1.1.1.1/nrdp --token=xyzterw --host="$1" --service="$2" --state="$3" --output="$TEST"
byxoroz, February 6, 2014
Thanks for this simple passive check solution.
I will be implementing it here.
The tool works well, better than NSCA or other passive methodes.
The URL (assets.nagios...) isn't working any longer though.
byluhlig, September 24, 2013
NRDP is compatible with nagios core 4 ?
bymacling66, February 2, 2013
0 of 5 people found this review helpful
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.
byleggett, February 10, 2012
5 of 8 people found this review helpful
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.
bykapurnicus, August 23, 2011
6 of 15 people found this review helpful
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.
Owner's reply

It would be great it you'd be willing to post the Perl client. I can include it with future NRDP releases if you're okay with that.

FYI, I have plans to develop a bash client for NRDP in the future unless your Perl client is so easy that it negates that need. :)

byScott, August 22, 2011
5 of 8 people found this review helpful
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.