【问题标题】:Is it possible to monitor a C# webservice?是否可以监控 C# web 服务?
【发布时间】:2011-06-22 10:48:08
【问题描述】:

是否可以监控内部托管在面向公众的 IIS 服务器上的 C# Web 服务?

更新 - 我只需要确保服务已启动并运行。

如果是这样 - 最好的方法是什么?

提前致谢,

詹姆斯

【问题讨论】:

  • 您要进行什么样的监控?上/下,通话次数等?
  • 您能否更具体地说明您想要什么样的监控?来自 nagios 的简单实时检查,或一些详细的统计信息...
  • 好点 - 我试图实现的监控类型会有所帮助! :-) - 请参阅我原来的问题进行更新。

标签: c# web-services iis


【解决方案1】:

Internet 信息服务具有可用于监视活动 Web 和 FTP 连接的性能计数器...

http://technet.microsoft.com/en-us/library/cc728306%28WS.10%29.aspx

       To monitor active Web and FTP connections in IIS 6.0

     1.
  Open Administrative Tools, and then click Performance.
     2.
  Right-click the System Monitor details pane, and then click Add Counters.
     3.
  Do one of the following:
      * To monitor any computer on which the monitoring console is run, click Use local computer counters.
  -or-
      * To monitor a specific computer, regardless of where the monitoring console is run, click Select counters from computer, and specify a computer name or IP address.
     4.
  In Performance object, click:
      * Web Service to monitor active Web connections.
  -or-
      * FTP Service to monitor active FTP connections.
     5.
  Click Select counters from list, and select Current Connections.
     6.
  Click All instances.
     7.
  Click Add, and then click Close.

【讨论】:

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