Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
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
Owner
egalstad
Download URL
https://assets.nagios.com/downloads/nrdp/nrdp.zip
Compatible With
Documentation on NRDP (installation, overview, etc.) can be found <a href="https://assets.nagios.com/downloads/nrdp/docs/NRDP_Overview.pdf">here</a>.
If you are interested in monitoring Windows with NRDP more information can be found at:
<a href="http://exchange.nagios.org/directory/Addons/Passive-Checks/NRDS_win/details">http://exchange.nagios.org/directory/Addons/Passive-Checks/NRDS_win/details</a>
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/
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 "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"
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.
NRDP is compatible with nagios core 4 ?
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.
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.
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.
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. :)
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.
You must be logged in to submit a review.
To:
From: