omaticoreo.blogg.se

010 editor regex
010 editor regex








010 editor regex

Click in the Metric and Operator entries to display a pulldown list. Click the Add Group button to add a new evaluation block. Note: In the Internet Service Monitors > Service Statistics workspace, the HTTP monitor tests always pass even if the regular expression does not exist on monitored pages.ģ) Select the SLC tab. Select the Regexp tab and enter the regular expression IBM HTTP Server. Select your HTTP profile, and enter the fully qualified IHS server hostname or IP address. The string to use in a regular expression in this example is:Ģ) Open the ISM Configuration GUI in the TEP console.

010 editor regex

In the splash page source view, the page title looks like this: However, the page title contains normal text and can be used in a regular expression to verify that the monitor is reading the correct page. In this example, the string "IBM HTTP Server Version 7.0" is painted and cannot be used in a regular expression. The following is an example of the splash page that IBM HTTP Server V7.0 displays: You can browse the IBM HTTP Server (IHS) splash page by entering the fully qualified hostname in your browser address line. Pick a string that you can read in plain text.įor example, what appears to be text in the normal browser view may actually be images that JavaScript paints on the screen. View the page content in the browser source view. Using your browser, navigate to the page you want to test. If the monitor does not find the string, the test needs to fail and post a failed status in the TEP console.ġ) Perhaps the most important first step is to pick the string to use in the regular expression. If the monitor finds the string, the test passes. You configure regular expressions for HTTP/HTTPS tests to verify that the monitor is pinging the right page.










010 editor regex