【问题标题】:ASP.NET Health Monitoring configuration, valid values for the "eventName" attributeASP.NET 健康监控配置,“eventName”属性的有效值
【发布时间】:2009-06-25 03:45:13
【问题描述】:

配置健康监控时 eventName 属性的有效值是什么?

<system.web>
  ...
  <healthMonitoring enabled="true" heartbeatInterval="0">
  <providers>
    <add
      name="exampleMailWebEventProvider"
      type="System.Web.Management.SimpleMailWebEventProvider"
      to="email@example.com"
      from="error@example.com"
      buffer="false"
      subjectPrefix="[Exception] " />
  </providers>

  <rules>
    <add
      name="Testing Mail Event Providers"
      eventName="All Events"
      provider="exampleMailWebEventProvider"
      profile="Default"
      minInstances="1"
      maxLimit="Infinite"
      minInterval="00:01:00"
      custom="" />
  </rules>
</healthMonitoring>

我的 Google-fu(和 MSDN)让我失望了,我找不到您可以订阅的所有其他默认/常见事件的列表。

【问题讨论】:

    标签: asp.net health-monitoring


    【解决方案1】:

    ... aaaaa 我们开始:MSDN, eventMappings Element for healthMonitoring (惊讶于一点点额外的努力和耐心可以让你走多远)

    【讨论】:

      【解决方案2】:

      查看 %WINDIR%\Microsoft.NET\Framework\version\CONFIG 文件夹中的 web.config

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2010-10-13
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多