ITCAM for Transactions 7.4 : ISM HTTP/s monitor versus curl
ericmtn 1000009W88 Visits (4897)
How to set up ISM 7.4 agent and its http/s monitor to match results obtained while using 'curl' utility, in order to monitor a url/application response?
1) Using CURL
Results: curl command returns for example:
and also HTTP return code = 404
2) ISM HTTPS monitor settings example, using TEP ISM Configuration GUI
2a) targeted server settings of the HTTPS monitor, used in a defined profile:
- 'server' field is filled up with the targeted hostname
- 'page' field is populated with the url of the application
- 'port' field is set up with http port in use by the web server.
- 'command' = GET, like used with Curl utility
2b) Parameters tab settings:
below the default parameter named "User-Agent", 2 new parameters are added, named "Accept" and "x-ibm-client-id", with associated values, like what is used in Curl.
2c) Regex tab settings:
Because we know that this url request is returning as result a particular strings, like "API:Status...". we set up this as a regular expression, using the Regexp tab. And then we will check this Regexp value using the SLC tab
2d) SLC settings:
we customized here below the IF/Then/Else conditions, to achieve our needs : here a http return code 404 is fine, and we want a MATCH between what is received as response to the monitor with the Regexp value that we have setup as our expected value returned to the GET request.
Other examples of regexp settings for ISM HTTP or HTTPS profile:
example of curl command result:
Subscribe and follow us for all the latest information directly on your social feeds: