What do the Service Availability (SRM) Response Test error codes mean?

Document ID : KB000023784
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:

SRM AIM TEST is producing an error code. What do the Service Availability Test Error Codes mean?

Environment:  

ANY SystemEDGE Server with SRM (Service Response Monitor) tests configured.

Answer: 

Generic Codes (Apply to all test types):
50  : Incorrect or malformed test arguments
51  : unknown host
52  : invalid port
53  : error setting socket options (such as TOS)
54  : the test timed out
55  : error creating the socket
56  : error while connecting the socket
57  : error while closing the socket
58  : I/O error during transaction
59  : error during WSAStartup (Windows only)
60  : The socket was prematurely closed

Ping Test:
1   : Negative Payload

HTTP/HTTPS Test:
1   : an invalid URL was specified
2   : the url has an incorrect protocol (e.g. http:// instead of https://)
3   : an error occurred while sending the request
4   : an error occurred while reading the HTTP status code
5   : an error occurred while retrieving the HTTP headers
6   : an error occurred while retrieving the HTTP content
7   : an error occurred while parsing the document
8   : an invalid maximum depth was specified
20  : the host was not found when following a link
21  : the protocol was invalid when following a link
400 : Bad Request
401 : Unauthorized
402 : Payment Required
403 : Forbidden
404 : Not Found
405 : Method Not Allowed
406 : Not Acceptable
407 : Proxy Authentication Required
408 : Request Time-Out
409 : Conflict
410 : Gone
411 : Length Required
412 : Precondition Failed
413 : Request Entity Too Large
414 : Request-URL Too Large
415 : Unsupported Media Type
500 : Server Error
501 : Not Implemented
502 : Bad Gateway
503 : Out of Resources
504 : Gateway Time-Out
505 : HTTP Version not supported

FTP Test:
421 : Service not available, closing control connection. (May be a reply to any command if the service knows it must shut down.)
425 : Can't open data connection.
426 : Connection closed, transfer aborted.
450 : Requested file action not taken. File unavailable (e.g., file busy).
451 : Requested action aborted, local error in processing.
452 : Requested action not taken. Insufficient storage space in system.
500 : Syntax error, command unrecognized. This may include errors such as command line too long.
501 : Syntax error in parameters or arguments.
502 : Command not implemented.
503 : Bad sequence of commands.
504 : Command not implemented for that parameter.
530 : User not logged in.
532 : Need account for storing files.
550 : Requested action not taken. File unavailable (e.g., file not found, no access).
552 : Requested file action aborted, storage allocation exceeded
553 : Requested action not taken. Illegal file name.

POP3 Test:
0   : POP3 server returned +OK
1   : POP3 server returned -ERR
2   : The POP3 server returned an invalid response

SMTP Test:
3 : The SMTP server returned an invalid response.
421 : Domain service not available, closing transmission channel.
432 : A password transition is needed.
450 : Requested mail action not taken: mailbox unavailable; ATRN request refused.
451 : Requested action aborted: local error in processing; Unable to process ATRN request now
452 : Requested action not taken: insuffi.cient system storage.
453 : You have no mail.
454 : TLS not available due to temporary reason; Encryption required for requested authentication mechanism.
458 : Unable to queue messages for node node.
459 : Node node not allowed: reason.
500 : Command not recognized: command; Syntax error.
501 : Syntax error, no parameters allowed.
502 : Command not implemented.
503 : Bad sequence of commands.
504 : Command parameter not implemented.
521 : Machine does not accept mail.
530 : Must issue a STARTTLS command first; Encryption required for requested authentication mechanism.
534 : Authentication mechanism is too weak.
538 : Encryption required for requested authentication mechanism.
550 : Requested action not taken: mailbox unavailable.
551 : User not local; please try forwardpath.
552 : Requested mail action aborted: exceeded storage allocation.
553 : Requested action not taken: mailbox name not allowed.
554 : Transaction failed.

Custom test:
1   : Error executing the custom script
2   : The custom script returned a bad exit code.
3   : The custom script printed malformed output
4   : The custom script did not print any output
5   : An error occurred while reading from the IO stream

DNS Test:
1   : An error occurred while sending the query
2   : An error occurred while receiving the response
3   : The server indicated that the query was invalid
4   : The server indicated a server error
5   : The server indicated that the host was not found

NNTP Test:
400 : Service discontinued.
411 : No such news group.
412 : No newsgroup has been selected.
420 : No current article has been selected.
421 : No next article in this group.
422 : No previous article in this group.
423 : No such article number in this group.
430 : No such article found.
435 : Article not wanted - do not send it.
436 : Transfer failed - try again later.
437 : Article rejected - do not try again.
440 : Posting not allowed.
441 : Posting failed.
500 : Command not recognized.
501 : Command syntax error.
502 : Access restriction or permission denied.
503 : Program fault - command not performed.

Additional Information:

SRM error codes generally take precedence over the standard numeric codes for the service.  The reason for this is that the SRM error codes generally indicate an error in the program.  For instance, if the HTTP test starts downloading a page, getting a 404 error, then encounters an I/O error before the transaction is over, the error_code field gets set to 58, rather than 404.