Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
Your review has been submitted and is pending approval.
Send or report data to nrdp by command line in perl
Current Version
0.1
Last Release Date
2016-09-07
Owner
Andres
Download URL
https://exchange.nagios.org/wp-content/uploads/project-files/2016/09/senddata_bycurl_nrdp.pl
License
GPL
Compatible With
After setting up nagios nrpd: NRDP - Nagios Remote Data Processor http://localhost/directory/Addons/Passive-Checks/NRDP--2D-Nagios-Remote-Data-Processor/details
This script allows to report in nagios through NRPD data. Advantages of this script: - Supports HTTP and HTTPS - Supports basic web user name and password, if configured for example in APACHE - Report individual host and service information
Examples:
* Report data host only ./senddata_bycurl_nrdp.pl -wu "" -t token_otro -h host-pasive -s misc_check_pasivo -o 1 -sr 0 -m "OK: Host Data | perfdata" -u http://192.168.0.60/nrdp/ <?xml version="1.0" encoding="utf-8"?> <result> <status>0</status> <message>OK</message> <meta> <output>1 checks processed.</output> </meta> </result>
* Report data service only ./senddata_bycurl_nrdp.pl -wu "" -t token_otro -h host-pasive -s check_pasivo -o 2 -sr 0 -m "OK: Service Data | perfdata" -u http://192.168.0.60/nrdp/ <?xml version="1.0" encoding="utf-8"?> <result> <status>0</status> <message>OK</message> <meta> <output>1 checks processed.</output> </meta> </result>
* service only with user/password ./senddata_bycurl_nrdp.pl -wu "srvnrdp:labsrvnrdp2k16" -t token_otro -h host-pasive -s check_pasivo -o 2 -sr 0 -m "OK: Service Data | perfdata" -u http://192.168.0.60/nrdp/
You must be logged in to submit a review.
To:
From: