CustoSec:Check Service HTTP

From CustosecWiki
Jump to navigation Jump to search
caption
Basic Information on Check
Name of Check Service HTTP Technical Name check_http
Available in All Systems Number of Arguments 0
From Version ARANSEC 1.0 Compability All ARANSEC and CustoSec




Scope of Check

This is a standard check to monitor the HTTP-Service running on a specified host (Windows, Linux, ...). It is based on a http request to the host and the information returned in header of the response.


Requirements

For the check to work properly the following requirements must be met:

  • The check is configured as a service check on the target host that should be monitored.


Arguments

There are no arguments to be configured.


Returned Values of the Check

The Check returns the following values and information.

Status Output Remarks
OK HTTP OK HTTP/1.1 200 OK - 1828 bytes in 0.008 seconds |time=0.007973s;;;0.000000 size=1828B;;;0 OK will be returned if there is an active http service on the host (default port: 80) and if the http-request delivers a status 2xx or 3xx in the header.
In this case the time (for the page to answer in seconds) and the size of the page (in Bytes) are displayed.
WARNING HTTP WARNING: HTTP/1.1 403 Forbidden Warning will be returned if there is a http service active, but the request is answered with a 4xx status in the header.
CRITICAL CRITICAL - Socket timeout after 10 seconds Critical will be returned if the connection is refused or timed out.
UNKNOWN UNKNOWN All other errors will return a state UNKNWON.

Notes

  • This check is an alternative to checking for a running service on port 80 using the TCP-Port Check or checking the service via checking Windows Service via SNMP.
  • More detailed checks to monitor http-services are available in the plug in "Extended Web Server Monitoring"; HTTP Services Enhanced