The ability to tell if the content is correct
Brought to you by:
psydrake
The configuration should provide a way to tell if the
page it is downloading is the one it thinks it is.
As-is this is really only useful to monitor static
pages since it can only tell if the page downloads or
not. For a dynamic site you may very well get a page
downloaded, but it might be an error page or just
completely the wrong data. The simplest method is to
provide a string that must be on the downloaded page.
Better would be a regular expression that must match in
the downloaded data (either match each "line" or match
the entire page as a single string).
Logged In: YES
user_id=225853
Another simple method would be to provide a length for the
expected file. You could also allow a CRC to be provided
that must match the downloaded content. You could also
detect if the page "changed" from one call to the next which
(even in a static site) would be useful to detect strange
errors and defacement attempts.