2011-06-22 75 views
-2

是否有可能在一個面向公衆的IIS服務器上內部託管的C#web服務?是否可以監視一個C#web服務?

更新 -我需要的只是確保服務已啓動並正在運行。

如果是這樣 - 什麼是最好的方法?

由於提前,

詹姆斯

+0

什麼你想做什麼樣的監控?上/下,通話次數等? –

+0

你可以更具體的什麼樣的監測你想要的?從nagios簡單的活着檢查,或一些詳細的統計... –

+0

好點 - 我試圖實現的監測類型將有所幫助! :-) - 查看我的原始問題進行更新。 –

回答

0

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. 
相關問題