Advertisement
ctgreybeard

Nagios4 check_http -I vs -H

Jul 7th, 2015
2,569
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nagios 1.15 KB | None | 0 0
  1. `--> /usr/local/nagios/libexec/check_http -I ghs64reunion.org -v | head -20
  2. GET / HTTP/1.0
  3. User-Agent: check_http/v2.0 (nagios-plugins 2.0)
  4. Connection: close
  5.  
  6.  
  7. http://ghs64reunion.org:80/ is 481 characters
  8. STATUS: HTTP/1.1 404 Not Found
  9. **** HEADER ****
  10. Date: Wed, 08 Jul 2015 00:59:48 GMT
  11. Server: Apache
  12. Content-Length: 317
  13. Connection: close
  14. Content-Type: text/html; charset=iso-8859-1
  15. **** CONTENT ****
  16. <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
  17. <html><head>
  18. <title>404 Not Found</title>
  19. </head><body>
  20. <h1>Not Found</h1>
  21. <p>The requested URL / was not found on this server.</p>
  22.  
  23. `--> /usr/local/nagios/libexec/check_http -H ghs64reunion.org -v | head -20
  24. GET / HTTP/1.1
  25. User-Agent: check_http/v2.0 (nagios-plugins 2.0)
  26. Connection: close
  27. Host: ghs64reunion.org
  28.  
  29.  
  30. http://ghs64reunion.org:80/ is 46455 characters
  31. STATUS: HTTP/1.1 200 OK
  32. **** HEADER ****
  33. Date: Wed, 08 Jul 2015 01:00:03 GMT
  34. Server: Apache
  35. X-Powered-By: PHP/5.5.26
  36. X-Pingback: http://ghs64reunion.org/xmlrpc.php
  37. Connection: close
  38. Transfer-Encoding: chunked
  39. Content-Type: text/html; charset=UTF-8
  40. **** CONTENT ****
  41. 2f
  42. <!DOCTYPE html>
  43. <!--[if IE 6]> <html id="ie6"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement