Simon icon Simon
Flexible server monitoring

HTTP Service result code

Hi,

I am evaluating Simon currently and one of the things I want to test is the availability of a couple of web services.

I added a check to the service but I would like to return another statuscode than 200.

However, Simon 'complains' that the result can not be cached and returns an error.

Do I miss something or do I really need to return a statuscode 200?

Thanks,

Marcel

David Sinclair's picture

Re: HTTP Service result code

Sounds like you need to use a filter. You can look for the status code by using the headers as the input for the filter, and can use a Block filter to examine the value, and perhaps a Number filter (if using the standard edition of Simon) to compare that number to 200.