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?



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.


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.

  • 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. Dec 24 '13 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
    Dec 24 '13 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 Dec 24 '13 at 15:14
  • Here the doc link explain how to setup : sdllivecontent.sdl.com/LiveContent/content/en-US/… (requires login)
    – Ram G
    Dec 24 '13 at 15:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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