To enable monitoring to monitor and endpoint with single sign-on, specify the endpoint and custom HTTP headers in your Monitoring configuration file. The headers you need to specify depend on the SSO product you use.
Procedure
- Open the Monitoring Agent configuration file, cd_monitor_conf.xml in a plain-text editor or XML editor:
- On Content Manager, the file is located in the config\ subfolder of
%TRIDION_HOME% (defaults to C:\Program Files (x86)\Tridion\).
- On Content Delivery, the file is located in the config/ (.NET) or /classes (Java) subfolder if Content Delivery is running as a Web application, otherwise in the config subdirectory of your Content Delivery installation.
- Remove the comment tags around the following fragments:
<HttpServiceHealthMonitor ServiceType="IIS" ServiceInstance="local" PollInterval="5m" TimeoutInterval="30s">
<Request URL="http://localhost/index.html" />
<Header Name="CustomerHeader1" Value="CustomValue1" />
<Header Name="CustomerHeader2" Value="CustomValue2" />
<Authentication Scheme="Basic" Username="myuser" Password="34!5!#2vf24g" />
<Response SuccessPattern="Welcome" />
</HttpServiceHealthMonitor>
Note: To prevent the password from being sent as clear text, encrypt it first using the encryption tool.
<XmlHttpServiceHealthMonitor ServiceType="ContentManagerKernel" PollInterval="10m" TimeoutInterval="30s">
<Request URL="http://localhost/Library/Commands/WebGUIResponser.asp" />
<Header Name="CustomHeader" Value="CustomValue" />
</XmlHttpServiceHealthMonitor>
- In both fragments, set the
URL attribute of Request to the endpoint you are monitoring.
- In both fragments, configure the HTTP header(s) required by your SSO product, and set them to the correct values.