Re: Possible negative status codes in SiteScope (285 Views)
Reply
Collector
sethi1991
Posts: 3
Registered: ‎07-31-2014
Message 1 of 8 (340 Views)
Accepted Solution

Possible negative status codes in SiteScope

[ Edited ]

Hello,

 

Many time SiteScope set status as some negative code (such as -996) to represent status, Is there any documentation listing all negative status codes and there descriptions or can someone share additional known codes and there meaning?

 

So far i have collected following information regarding negative codes for URL/FTP monitors:

unknown host name ------> -997
unable to reach server ???
unable to connect to server ------> -998
timed out reading ----> -996
content match error -----> -999

content changed --------> -995

 

We need this information to define some custom threshold criteria.

 

Thanks in advance!

Frequent Advisor
Mandarx
Posts: 68
Registered: ‎05-05-2014
Message 2 of 8 (314 Views)

Re: Possible negative status codes in SiteScope

Hi Sethi,

 

Hope ur doing well,

 

jst go to link below,

 

http://consulting.troeger-services.de/blog/?p=472

 

Hope this helps you

 

 

 

Regards,
Mandarx
 

“If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.”Do show gratitude to people who helped you by Kudos.

Esteemed Contributor
haytham_hosny
Posts: 665
Registered: ‎04-21-2008
Message 3 of 8 (305 Views)

Re: Possible negative status codes in SiteScope

Please find the below URL:

 

http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

 

Thank you

Haytham Hosny
HP Expert
kenneth.gonzalez
Posts: 1,641
Registered: ‎04-28-2011
Message 4 of 8 (285 Views)

Re: Possible negative status codes in SiteScope

[ Edited ]

These are SiS error codes not standard HTTP error codes. Possible statuses for URL monitors are listed below. For non-HTTP status code internal negative representation is show (these may vary depending on monitor’s configuration, e.g. if WinInet option is used a WinInet error code will be returned; refer to http://msdn.microsoft.com/en-us/library/windows/desktop/aa385465(v=vs.85).aspx)


•OK (HTTP 200)
•unknown host name (may show as -1)
•unable to reach server (may show as -1 or -998)
•unable to connect to server (may show as -1 or -998)
•timed out reading (may show as -1 or -998)
•content match error
•document moved (HTTP 302)
•unauthorized (HTTP 401)
•forbidden (HTTP 403)
•not found (HTTP 404)
•proxy authentication required (may show as -1 or -996)
•server error (HTTP 500)
•not implemented (HTTP 501)
•server busy (may show as -1 or -996)



Error -998 in general words means “no connection” while -996 means “connected, but something went wrong”. As an example think about SSH connections, you get -998 when you can’t connect at all, but get -996 when SiS can connect but can’t run necessary commands. This may be thrown if proxy or NTLM  authentication went wrong, for example.

Kenneth Gonzalez
HP Support

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.

If you haven’t tried it yet, come and join us in our entitled forums at Support Customer Forums
Collector
sethi1991
Posts: 3
Registered: ‎07-31-2014
Message 5 of 8 (257 Views)

Re: Possible negative status codes in SiteScope

Hi,

@ haytham_hosny & Mandarx
Thanks for info, but given URLs give details of only positive status codes, whether information of negative codes is needed.

@ kenneth.gonzalez: Thanks for detailed information, but i have seen other status codes in URL monitors, apart from this information, such as -991, -997, -995 etc.
So I was hoping for a proper documentation of this from HP.
HP Expert
Siggi Gladitsch
Posts: 412
Registered: ‎03-11-2010
Message 6 of 8 (251 Views)

Re: Possible negative status codes in SiteScope

Hi Sethi,

 

that's all we have for documentation, hope it helps:

 

URLPermissionDenied = -982         "Permission denied"
SOAPFaultError = -983
XMLElementNotFoundError = -986     "XML element not found"
XMLFormatError = -987              "XML format error"
XMLElementMatchError = -988        "XML element value mismatch"
URLContentErrorFound = -989        "content error found"
URLContentElementMissing = -990    "content element missing"
URLNoStatusError = -991            "no status in reply from server"
MonitorSpecificError = -992;
URLNoRouteToHostError = -993       "unable to reach server"
DLLCrashedError = -994             "internal error in WinInet library"
URLContentChangedError = -995      "content changed"
URLTimeoutError = -996             "timed out reading"
URLBadHostNameError = -997         "unknown host name"
URLNoConnectionError = -998        "unable to connect to server"
URLContentMatchError = -999        "content match error"
URLUnknownError = -1000;
DNSIPAddressMismatch = -1001       "ip address does not match"
URLRemoteMonitoringError = -1002   "unable to connect to remote monitoring server"
URLConnectionClosedError = -1003   "connection reset"

 

Greetings

Siggi

HP Support

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
Collector
sethi1991
Posts: 3
Registered: ‎07-31-2014
Message 7 of 8 (169 Views)

Re: Possible negative status codes in SiteScope

Hello Siggi,

Thank you very much, appreciated.
HP Expert
Siggi Gladitsch
Posts: 412
Registered: ‎03-11-2010
Message 8 of 8 (156 Views)

Re: Possible negative status codes in SiteScope

Hi Sethi,

 

you are very welcome

 

Siggi

HP Support

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.