This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

HTTP Component Monitor Question

OK, I might be just overlooking this, but I can not find anything on thwack or the admin guide for SAM that specifically states what the HTTP component monitor accepts when polling a site as for it being considered "UP".  Once it hits port 80, does any response mean SolarWinds considers it up or only one of the specific HTTP codes? Just curious if it only responds to HTTP 200 or Up status or if one of the other codes could cause a false positive.

  • 200 is up / 403 would be down, at least that's what I have observed, I'll check if I can find a document about that

  • Thanks. I have a vendor asking for one of the sites we are using it on and they were curious.

  • Unfortunately I haven't found any documentation. But any 4xx error seems to make the Monitor indicate "down". Again, this is my personal observation.

  • Error 50X also appears to get a down status for the component monitor

  • It looks like SolarWinds is using an RFC as its basis for the down status of HTTP(s) monitors. And it looks like 4xx and 5xx are the ones that are considered errors.

    ------

    part of Hypertext Transfer Protocol -- HTTP/1.1

    RFC 2616 Fielding, et al.

    Informational 1xx

    This class of status code indicates a provisional response, consisting only of the Status-Line and optional headers, and is terminated by an empty line. There are no required headers for this class of status code. Since HTTP/1.0 did not define any 1xx status codes, servers MUST NOT send a 1xx response to an HTTP/1.0 client except under experimental conditions.

    A client MUST be prepared to accept one or more 1xx status responses prior to a regular response, even if the client does not expect a 100 (Continue) status message. Unexpected 1xx status responses MAY be ignored by a user agent.

    Proxies MUST forward 1xx responses, unless the connection between the proxy and its client has been closed, or unless the proxy itself requested the generation of the 1xx response. (For example, if a

    proxy adds a "Expect: 100-continue" field when it forwards a request, then it need not forward the corresponding 100 (Continue) response(s).)

    Successful 2xx

    This class of status code indicates that the client's request was successfully received, understood, and accepted.

    Redirection 3xx

    This class of status code indicates that further action needs to be taken by the user agent in order to fulfill the request. The action required MAY be carried out by the user agent without interaction with the user if and only if the method used in the second request is GET or HEAD. A client SHOULD detect infinite redirection loops, since such loops generate network traffic for each redirection.

          Note: previous versions of this specification recommended a maximum of five redirections. Content developers should be aware that there might be clients that implement such a fixed limitation.

    Client Error 4xx

    The 4xx class of status code is intended for cases in which the client seems to have erred. Except when responding to a HEAD request, the server SHOULD include an entity containing an explanation of the error situation, and whether it is a temporary or permanent condition. These status codes are applicable to any request method. User agents SHOULD display any included entity to the user.

    If the client is sending data, a server implementation using TCP SHOULD be careful to ensure that the client acknowledges receipt of the packet(s) containing the response, before the server closes the input connection. If the client continues sending data to the server after the close, the server's TCP stack will send a reset packet to the client, which may erase the client's unacknowledged input buffers before they can be read and interpreted by the HTTP application.

    Server Error 5xx

    Response status codes beginning with the digit "5" indicate cases in which the server is aware that it has erred or is incapable of performing the request. Except when responding to a HEAD request, the server SHOULD include an entity containing an explanation of the error situation, and whether it is a temporary or permanent condition. User agents SHOULD display any included entity to the user. These response codes are applicable to any request method.

    Reference URL : HTTP/1.1: Status Code Definitions

  • Anyway to pull out the error code when it fails?