IBM Support

ITCAM4Tx ISM HTTP monitor reports failed urls while using regexp

Troubleshooting


Problem

Using Internet Services Monitoring agent and its HTTP monitor, with several regular expressions being defined in the http monitor setting elements, several urls are reported as 'Failed' for RegExpStatus.

Symptom

In IBM Tivoli Monitoring (ITM) Tivoli Enterprise Portal (TEP) client GUI, the ISM workspace reports FAILED regular expressions

Cause

Possible cause is that the regular expression definitions are incorrect, compared with what the monitor received from the targeted web server that is under monitoring.

Environment

ITCAM for Transactions version 7.x with Internet Service Monitor agent.

Diagnosing The Problem

On the ISM agent host, edit the $ISMHOME/etc/props/http.props file, set or uncomment in it the following lines :


MessageLevel : "debug"

OutputResult : 1

OutputDirectory : "$ISMHOME/var"


Save the modified file.

For reference:
- OutputResult:1 -> Specifies that the NCO monitor should save the data it receives from the service.


- OutputDirectory :"$ISMHOME/var" -> Specifies the output directory to use if the OutputResult is saved. Default is : $ISMHOME/var.


- MessageLevel : "debug" -> change the message and trace level of the "$ISMHOME/log/http.log file to 'debug', to obtain further tracing in http.log file.

Resolving The Problem

Restart the http nco monitor.

Verify that "$ISMHOME/var", or similar directory, actually contains .html, .index, etc. pages of the monitored application, that is targeted by the HTTP ISM monitor service, after the ISM monitor has polled the targeted resource or web server.

Replicate the issue; then, review the entire "$ISMHOME/var" directory content. Check in this directory the page source of the monitored URLs, for example index.html file.
Verify if the regular expression settings, that are reported as 'FAILED' in http.log file, are possibly caused by wrong regular expression definitions.

[{"Product":{"code":"SS5MD2","label":"Tivoli Composite Application Manager for Transactions"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"7.4","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Historical Number

34734;499;000

Product Synonym

ITCAM;ITCAM4Tx;ITCAM for Tx;ITCAM4ISM

Document Information

Modified date:
21 June 2023

UID

swg21610602