3

I need a monitoring service configured which will keep monitoring my publishing queue and if publishing queue is more than 100 pages, it will send an email to configured user list about the failure.

Any idea how to get the email settings and SMTP details?

Any sample code how to implement this?

Thanks.

1 Answer 1

3

Here is the nice article explained by Julian. The sample code here uses TOM API, but you could easily replace that with core service API or Powershell.

https://sdltridionworld.com/articles/monitoringtridionpublishingwithtridionapplicationmonitoring.aspx

Core Service API to get the Publish Transactions:

PublishTransactionData publishTransaction = _client.GetSystemWideList(new PublishTransactionsFilterData());

// loop through the list and check for the status with a counter.

4
  • Hey Ram, Do we need to write another client to trap the Tridion monitoring web service and from there we need to send the email to defined users, I don't think monitoring service will do for us. Commented Dec 24, 2013 at 14:41
  • Manoj, If you have already monitoring tool like Nagios or HP BAC or Monit you could setup the tool to use this to send notification. If you don't have any tool then obviously you need to write the notification mechanism.
    – Ram G
    Commented Dec 24, 2013 at 15:08
  • Hmm so finally I think we need to trap the SNMP messages, is there any article for how to trap these messages and what configuration done at cd_monitoring.config Commented Dec 24, 2013 at 15:14
  • Here the doc link explain how to setup : sdllivecontent.sdl.com/LiveContent/content/en-US/… (requires login)
    – Ram G
    Commented Dec 24, 2013 at 15:51

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.