Difference between revisions of "Check http"
Jump to navigation
Jump to search
| Line 6: | Line 6: | ||
:<code>/usr/lib/nagios/plugins/check_http -H 101hacks.com -C 365</code> | :<code>/usr/lib/nagios/plugins/check_http -H 101hacks.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 | ||
Revision as of 12:22, 28 April 2021
- Check URL:
/usr/lib/nagios/plugins/check_http -H google.com -u http://google.com
- Check SSL Certificate Expiry
/usr/lib/nagios/plugins/check_http -H 101hacks.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
See also
- 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
Advertising: