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

check_via_http

Rating
0 votes
Favoured:
0
Current Version
0.1.3
Last Release Date
2022-10-16
Compatible With
  • Nagios 4.x
Owner
Twitter Handle
ryochin
License
MIT
Hits
307
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Simple Nagios Plugin of remote HTTP Executor. The plugin kicks your web server which returns the check result as JSON like: {"status": 0, "description": "all ok"} then simply prints the description to STDOUT and exits with the given status code.
Example:

define command {
command_name check_my_something
command_line $USER1$/check_via_http -H localhost -p 5000 -u /check/something -q 'id=42' -q 'criteria=high'
}

Help:

Simple Nagios Plugin of remote HTTP Executor

USAGE:
check_via_http [OPTIONS]

OPTIONS:
-h, --help Print help information
-H, --hostname HTTP hostname [default: localhost]
-p, --port HTTP port [default: 80 on http, 443 on https]
-q, --query Queries (multiple times)
-s, --ssl use HTTPS (https://)
-t, --timeout Timeout [default: 15]
-u, --uri HTTP uri [default: /]
-V, --version Print version information