You are here: 参考手册 > FME Server Services > Notification Service > Monitoring FME Server Activity with Notifications

Monitoring FME Server Activity with Notifications

FME Server is pre-configured to publish content about significant events, such as when a transformation that originates from FME Server succeeds or fails, or when a backup or restore operation succeeds or fails. This content is delivered to a set of pre-existing topics. Additionally, FME Server includes a set of subscribers that are already subscribed to these topics. When configured completely, these subscribers can deliver their content to you over the specified protocol.

预先配置的主题

To view these topics, select theTopicstab on the通知FME服务器Web用户界面的页面。

Note:When you publish a workspace to FME Server, you can specify your own topics to receive success or failure notifications from Data Download or Job Submitter transformations, rather than these pre-configured topics. In that case, the corresponding topics below are not notified, unless they are also explicitly specified at publish time.

Topic Name 描述
DATADOWNLOAD_ASYNC_JOB_FAILURE A notification for this topic is generated following aData Download ServiceFME transformation that fails.
DATADOWNLOAD_ASYNC_JOB_SUCCESS A notification for this topic is generated following a Data Download Service FME transformation that succeeds.
JOBSUBMITTER_ASYNC_JOB_FAILURE A notification for this topic is generated following a职位提交者服务FME transformation that fails.
JOBSUBMITTER_ASYNC_JOB_SUCCESS 在成功的作业提交者服务FME转换之后生成此主题的通知。
MIGRATION_ASYNC_JOB_FAILURE A notification for this topic is generated following abackup or restore请求失败。
MIGRATION_ASYNC_JOB_SUCCESS A notification for this topic is generated following a backup or restore request that succeeds.
sample_topic. 这是一个示例主题。默认情况下,没有为此主题生成通知。它用于测试通知。

Pre-Configured Subscribers

要查看这些订阅者并完成其配置,请选择Subscriptionstab on the通知FME服务器Web用户界面的页面。

订阅者名称 Topic(s) Subscribed To Protocol 描述
dataDownload_email_jobfailure. DATADOWNLOAD_ASYNC_JOB_FAILURE Email 在数据下载失败的FME转换后向指定收件人发送电子邮件。
DataDownload_Email_JobSuccess DATADOWNLOAD_ASYNC_JOB_SUCCESS Email Sends e-mails to specified recipients following a Data Download Service FME transformation that succeeds.
jobsubmitter_email_jobfailure. JOBSUBMITTER_ASYNC_JOB_FAILURE Email Sends e-mails to specified recipients following a Job Submitter Service FME transformation that fails.
JobSubmitter_Email_JobSuccess JOBSUBMITTER_ASYNC_JOB_SUCCESS Email Sends e-mails to specified recipients following a Job Submitter Service FME transformation that succeeds.
Logger_Default All default topics Logger Logs all notifications of the topics to which it is subscribed.
migration_email_jobfailure. MIGRATION_ASYNC_JOB_FAILURE Email 在备份或还原失败的操作后向指定收件人发送电子邮件。
migration_email_jobscescess. MIGRATION_ASYNC_JOB_SUCCESS Email Sends e-mails to specified recipients following a backup or restore operation that succeeds.
Template_APNS_FMEAlerts 默认情况下 Apple Push This subscriber is pre-configured to work with the FME Alerts app for iOS devices. This app receives messages from FME Server through theApple Push subscriber。For more information, see使用FME移动应用程序in the FME Knowledge Center.
Template_GCM_FMEAlerts 默认情况下 Google Cloud Messaging This subscriber is pre-configured to work with the FME Alerts app for Google Android devices. This app receives messages from FME Server through theGoogle Cloud Messaging subscriber。For more information, see使用FME移动应用程序in the FME Knowledge Center.

Attaching Log Files to Notification E-mails

您可以配置以下订阅者以附加FME工作日志文件与每个电子邮件:

  • dataDownload_email_jobfailure.
  • DataDownload_Email_JobSuccess
  • jobsubmitter_email_jobfailure.
  • JobSubmitter_Email_JobSuccess
  1. Open the following files:
    • <Fmeserverdir.> \ Utilities \ tomcat \ webapps \ fmedatadownload \ web-inf \ conf \ propertiesfile.properties
    • <Fmeserverdir.> \实用程序\ tomcat \ webapps \ fmejobsubmitter \ web-inf \ conf \ propertiesfile.properties
  2. 在每个文件中,找到Attach_Transformation_Log.parameter.
  3. To attach a job log file, set this parameter to真正。To stop the subscribers from attaching job log files, set this parameter tofalse。(这是默认设置。)
  4. 重新开始the FME Server Application Server.