Adding content checks to a monitor

Adding content checks to a monitor

Content checks can be added as part of your monitor configuration. The following monitors support content checks:
  • Website 
  • Web Transaction
  • Web Transaction (Browser)
  • Port (Custom Protocol)
  • REST API (Text, XML and JSON)
  • REST API Transaction (Text, XML and JSON)
  • SOAP Web Service (Validating XML node or attribute)
  • Website Defacement Monitor
  • Web Page Speed (Browser)

While performing a content match, you must add keywords based on the following conditions given below:
  • A single string or keyword can be configured with/without any double quotes (ex: HTML).
  • If there are two strings, which comprise a single keyword, just add a space in between the two strings (ex: HTML response).
  • In case you have more than a couple of individual keywords configured, you will have to separate them with space and also use double quotes for each of them. ("Monitor" "HTML").
  • You can enable case-sensitive keyword searches. By default, it is set to No.



Site24x7 also supports non-English or non standard characters in the content match. But the monitored website should have proper encoding using UTF-8. To see if your website has proper encoding, follow the steps below:
  • Open the website with the non-English content > right click and then select >  View Page Source
  • Search for "charset=UTF-8" or just UTF-8 in the page.
  • If the website returns a UTF-8 character, then the content match should very well work for your non-english page.
The string check can be used for checking content present in a single line. If you're look up content is present across multiple lines, we recommend using the Regular Expression (Regex) instead. You can always use Regex fields to check for similar phrases in the HTML response.

    • Related Articles

    • Setting up a website monitor w.r.t content match and HTTP configuration

      Regarding the website defacement (content match) configuration, you can set keyword checks to find the existence and non-existence of keywords in your HTML response. As far as the HTTP configurations are concerned, we support HEAD, GET, and POST ...
    • Monitor database issues for OpenCart or Joomla websites

      Database issues for websites developed using OpenCart or Joomla can be identified by enabling a Content Match. Configure your website response such that a particular text is always present during all success responses and absent during all error ...
    • Meaning of the trouble message - "Content Length Modified"

      This alert indicates that the content length of your monitored website has changed compared to the previous check. Even minor textual changes on your website will be reflected as a trouble alert. How it works Under Threshold Configuration, if you ...
    • How do I check if URL redirection works correctly using the Website Monitor?

      A webpage can be made available from more than a single web address using URL redirection. Most redirects are automated and it becomes difficult to track if the redirection works in a specific way. This can be verified using website monitoring in ...
    • Amendments to Site24x7 Monitor Names

      We've recently renamed a few of our Monitors to help keep in sync with the current IT and DevOps trends. The new monitor names are designed to correctly resonate with the IT & DevOps crowd. We've made necessary changes in the Web client, Help ...