On Mon, 16 Dec 2002, Jerry Cornelius wrote:

> We are trying to have mon contact us when the server throws a 500 Server
> Error message.  Has anyone devised a clever solution to this issue?  Try
> putting "500 server error mon" into google.  :-)

just change http.monitor to check for that response:

change this line:

        if ($TheContent =~ /^HTTP\/([\d\.]+)\s+(200|30[12]|401)\b/) {

to:
        if ($TheContent =~ /^HTTP\/([\d\.]+)\s+(200|30[12]|401|500)\b/) {
_______________________________________________
mon mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/mon

Reply via email to