Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
sendexec_bycurl_nrdp
0.1
2016-09-07
- Nagios 3.x
- Nagios 4.x
- Nagios XI
5543
File | Description |
---|---|
sendexec_bycurl_nrdp.pl | sendexec_bycurl_nrdp.pl |
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!
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.
This script is based on the code senddata_bycurl_nrdp.pl
The goal is to run a nagios plugin or check and verify that it works. A ready time, transfer the result by this script is executed.
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:
* Example OK DATA - Report host only
Command line plugin nagios:
/usr/local/nagios/lib/check_users -w 10 -c 20
USERS OK - 1 users currently logged in |users=1;10;20;0
Command line this script:
./sendexec_bycurl_nrdp.pl -wu "" -t token_otro -h host-pasive -s misc_check_pasivo -o 1 -pt /usr/local/nagios/lib/check_users -pr "-w 10 -c 20" -u http://192.168.0.60/nrdp/
0
OK
* Example OK DATA - Report service only
Command line plugin nagios:
/usr/local/nagios/lib/check_users -w 10 -c 20
USERS OK - 1 users currently logged in |users=1;10;20;0
Command line this script:
./sendexec_bycurl_nrdp.pl -wu "" -t token_otro -h host-pasive -s check_pasivo -o 2 -pt /usr/local/nagios/lib/check_users -pr "-w 10 -c 20" -u http://192.168.0.60/nrdp/
0
OK
* Example WARNING DATA - Report service only
Command line plugin nagios:
/usr/local/nagios/lib/check_users -w 0 -c 1
USERS WARNING - 1 users currently logged in |users=1;0;1;0
./sendexec_bycurl_nrdp.pl -wu "" -t token_otro -h host-pasive -s check_pasivo -o 2 -pt /usr/local/nagios/lib/check_users -pr "-w 0 -c 1" -u http://192.168.0.60/nrdp/
0
OK
* Example CRITICAL DATA - Report service only
Command line plugin nagios:
/usr/local/nagios/lib/check_users -w 0 -c 0
USERS CRITICAL - 1 users currently logged in |users=1;0;0;0
Command line this script:
./sendexec_bycurl_nrdp.pl -wu "" -t token_otro -h host-pasive -s check_pasivo -o 2 -pt /usr/local/nagios/lib/check_users -pr "-w 0 -c 0" -u http://192.168.0.60/nrdp/
0
OK
* Example CRITICAL DATA - Report service only with user/password web
Command line plugin nagios:
/usr/local/nagios/lib/check_users -w 0 -c 0
USERS CRITICAL - 1 users currently logged in |users=1;0;0;0
Command line this script:
./sendexec_bycurl_nrdp.pl -wu "user:pass" -t token_otro -h host-pasive -s check_pasivo -o 2 -pt /usr/local/nagios/lib/check_users -pr "-w 0 -c 0" -u http://192.168.0.60/nrdp/
0
OK
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.
This script is based on the code senddata_bycurl_nrdp.pl
The goal is to run a nagios plugin or check and verify that it works. A ready time, transfer the result by this script is executed.
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:
* Example OK DATA - Report host only
Command line plugin nagios:
/usr/local/nagios/lib/check_users -w 10 -c 20
USERS OK - 1 users currently logged in |users=1;10;20;0
Command line this script:
./sendexec_bycurl_nrdp.pl -wu "" -t token_otro -h host-pasive -s misc_check_pasivo -o 1 -pt /usr/local/nagios/lib/check_users -pr "-w 10 -c 20" -u http://192.168.0.60/nrdp/
* Example OK DATA - Report service only
Command line plugin nagios:
/usr/local/nagios/lib/check_users -w 10 -c 20
USERS OK - 1 users currently logged in |users=1;10;20;0
Command line this script:
./sendexec_bycurl_nrdp.pl -wu "" -t token_otro -h host-pasive -s check_pasivo -o 2 -pt /usr/local/nagios/lib/check_users -pr "-w 10 -c 20" -u http://192.168.0.60/nrdp/
* Example WARNING DATA - Report service only
Command line plugin nagios:
/usr/local/nagios/lib/check_users -w 0 -c 1
USERS WARNING - 1 users currently logged in |users=1;0;1;0
./sendexec_bycurl_nrdp.pl -wu "" -t token_otro -h host-pasive -s check_pasivo -o 2 -pt /usr/local/nagios/lib/check_users -pr "-w 0 -c 1" -u http://192.168.0.60/nrdp/
* Example CRITICAL DATA - Report service only
Command line plugin nagios:
/usr/local/nagios/lib/check_users -w 0 -c 0
USERS CRITICAL - 1 users currently logged in |users=1;0;0;0
Command line this script:
./sendexec_bycurl_nrdp.pl -wu "" -t token_otro -h host-pasive -s check_pasivo -o 2 -pt /usr/local/nagios/lib/check_users -pr "-w 0 -c 0" -u http://192.168.0.60/nrdp/
* Example CRITICAL DATA - Report service only with user/password web
Command line plugin nagios:
/usr/local/nagios/lib/check_users -w 0 -c 0
USERS CRITICAL - 1 users currently logged in |users=1;0;0;0
Command line this script:
./sendexec_bycurl_nrdp.pl -wu "user:pass" -t token_otro -h host-pasive -s check_pasivo -o 2 -pt /usr/local/nagios/lib/check_users -pr "-w 0 -c 0" -u http://192.168.0.60/nrdp/
Reviews (0)
Be the first to review this listing!