Difference between revisions of "Check http"
Jump to navigation
Jump to search
(Created page with "Nagios * Check URL: :/usr/lib/nagios/plugins/check_http -H gogle.com -u http://google.com * Check SSL Certificate Expiry :/usr/lib/nagios/plugins/check_http -H 101hacks....") |
|||
| (12 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| + | {{lc}} | ||
[[Nagios]] | [[Nagios]] | ||
| − | * Check URL: | + | * Check [[URL]]: |
| − | :/usr/lib/nagios/plugins/ | + | :<code>[[/usr/lib/nagios/plugins/]]check_[[http]] -H google.com -u http://google.com</code> |
| − | * Check SSL | + | * Check [[SSL]] [[certificate expiration]] |
| − | :/usr/lib/nagios/plugins/check_http -H | + | :<code>/usr/lib/nagios/plugins/check_http -H google.com -C 365</code> |
| + | |||
| + | |||
| + | |||
| + | /usr/lib/nagios/plugins/check_http -H google.com -u http://google.com | ||
| + | HTTP OK: HTTP/1.1 301 Moved Permanently - 547 bytes in 0.012 second response time |time=0.012108s;;;0.000000;10.000000 size=547B;;;0 | ||
| + | |||
| + | /usr/lib/nagios/plugins/check_http -H www.google.com -C 365 | ||
| + | OK - Certificate 'invalid2.invalid' will expire on Tue Jan 1 00:00:00 2030 +0000. | ||
| + | |||
| + | |||
| + | == See also == | ||
| + | * {{Nginx}} | ||
| + | * {{Nagios}} | ||
| + | |||
| + | [[Category:Monitoring]] | ||
Latest revision as of 07:54, 21 December 2023
- Check URL:
/usr/lib/nagios/plugins/check_http -H google.com -u http://google.com
- Check SSL certificate expiration
/usr/lib/nagios/plugins/check_http -H google.com -C 365
/usr/lib/nagios/plugins/check_http -H google.com -u http://google.com HTTP OK: HTTP/1.1 301 Moved Permanently - 547 bytes in 0.012 second response time |time=0.012108s;;;0.000000;10.000000 size=547B;;;0
/usr/lib/nagios/plugins/check_http -H www.google.com -C 365 OK - Certificate 'invalid2.invalid' will expire on Tue Jan 1 00:00:00 2030 +0000.
See also[edit]
- Web server: Nginx:
/etc/nginx/nginx.conf,nginx -t, Nginx logs, Nginx change log, PHP,php-fpm, Let's encrypt, Nginx directives, Reverse Proxy, Configure HTTP redirection Nginx, Return,proxy_pass (Reverse proxy),ngx_http_rewrite_module,/etc/nginx/sites-enabled/,error.log,access.log,/nginx status, AIO - Nagios, NRPE, Nagios Cross-Platform Agent (NCPA),
nagios.cfg,nrpe,nagios4, nagios3, nagios3stats,check_http, Monitoring-plugins,/usr/lib/nagios/plugins/, Nagios logs,nagios.cfg
Advertising: