Home Directory Addons Passive Checks senddata_bycurl_nrdp

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

senddata_bycurl_nrdp

Rating
0 votes
Favoured:
0
Current Version
0.1
Last Release Date
2016-09-07
Compatible With
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
Owner
License
GPL
Hits
5389
Files:
FileDescription
senddata_bycurl_nrdp.plsenddata_bycurl_nrdp.pl
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Send or report data to nrdp by command line in perl
After setting up nagios nrpd:
NRDP - Nagios Remote Data Processor
https://exchange.nagios.org/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/


0
OK

1 checks processed.



* 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/


0
OK

1 checks processed.



* 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/