1

I need to make some windows service that will monitor Tridion health meaning that it will use Tridion Monitoring service. Inside of documentation on SDL live content there is one section explained:

You can access the Application Monitoring Web service through, for example, the SOAP protocol. The Web service exposes a TridionMonitoringAgent interface with a GetStatus() method that returns an array of ServiceStatus elements.

And than there is an example of XML response to a SOAP request

<ServiceStatus>
  <ServiceType>Content Manager Publisher</ServiceType>
  <ProcessId>2364</ProcessId>
  <Status>NotResponding</Status>
  <StatusChangeTime>2006-10-17T13:12:02Z</StatusChangeTime>
  <LastReportTime>2006-10-17T14:46:02Z</LastReportTime>
  <MonitoredThreadCount>15</MonitoredThreadCount>
  <NonRespondingThreads>
    <ThreadStatus>
      <ThreadId>13</ThreadId>
      <ThreadName>The name of the thread</ThreadName>
      <StatusChangeTime>2006-10-17T13:12:02Z</StatusChangeTime>
      <LastReportTime>2006-10-17T14:46:02Z</LastReportTime>
    </ThreadStatus>
  </NonRespondingThreads>
</ServiceStatus>
<ServiceStatus>
  <ServiceType>Workflow Agent</ServiceType>
  <ProcessId>2464</ProcessId>
  <Status>NotResponding</Status>
  <StatusChangeTime>2006-10-17T14:31:02Z</StatusChangeTime>
  <LastReportTime>2006-10-17T14:47:02Z</LastReportTime>
  <MonitoredThreadCount>2</MonitoredThreadCount>
</ServiceStatus>

I am not sure how to get connection to Tridion Monitoring Service and how to get request/response like this. Can someone share some code or example?

1 Answer 1

1

If you want to use the Monitoring Agent Web service, you need to install it as a .NET Web service or as a Java Web Service. The windows service will only expose this over log file or catching SNMP traps

From there you should be able to connect to the webservice endpoint and consume it as usual

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.