Icon

Comments have been closed on this page. Please use AppMon & UEM Plugins forum for questions about this plugin.

Name

IIS (Internet Information Services) Monitoring Plugin

Description

The IIS Monitoring Plugin extends the Windows Performance Counter Monitor with pre-configured measures for Internet Information Services

Plug-In Version

3.2

Compatible with

dynaTrace Diagnostics >= 5.5

Tested with:

IIS 6 & 7

Author

Andreas Grabner (andreas.grabner@dynatrace.com)

Download

IIS Monitoring Plugin

License

dynaTrace BSD

Support

Not Supported

Screenshots

Verify Installed Plugin in Server Preferences->Plugins
 

Create a new Windows Performance Monitor for your System Profile
 

Give it the name IIS Performance Monitor (name is important if you want to use the attached dashboard)
 

List of subscribed IIS specific performance counters
 

The package also includes the following dashboard.
 

Install Description

1) Extract the attached zip file to your file system
2) Open the Server Preferences dialog and open the Plugins tab
4) Choose "Import JAR ..." and select the extracted file "com.dynatrace.diagnostics.plugin.PerfMonIIS_3.2.0.0.jar"
5) Verify that the plugin was correctly installed. Verify that the plugin "IIS Performance Monitor" shows up in the list of installed plugins

In order to subscribe to IIS Performance Measures you have to:
1) Edit your System Profile
2) Add a new Monitor
3) Select "Windows Performance Monitor"
4) Specify "IIS Performance Monitor" as the monitors name (This is important if you also want to use the IIS Monitoring Dashboard that is attached to this plugin)
5) Specify the hostname of IIS in the monitor properties
6) View a list of all Measures that you now have subscribed. You can view and modify the list on the Measures tab

IIS Dashboard
1) Open the Dashboard (Internet Information Services.dashboard.xml) that is part of the download package.
2) You will be prompted to specify the data source as the original datasource is not accessible. Select the System Profile that contains the Monitor with the name "IIS Performance Monitor"
3) The dashboard is configured to refresh every 10 seconds

Compatibility Matrix

 

Disclaimer

 

  File Modified
File IIS_Dashboard.PNG Mar 08, 2010 by Andreas Grabner
File create_monitor_2.PNG Mar 08, 2010 by Andreas Grabner
File create_monitor.PNG Mar 08, 2010 by Andreas Grabner
File create_monitor_1.PNG Mar 08, 2010 by Andreas Grabner
File import_monitor.PNG Mar 08, 2010 by Andreas Grabner
PNG File icon.png Apr 02, 2012 by Wolfgang Gottesheim
PNG File create_monitor_2[1].PNG Apr 09, 2015 by Erwin Pader
PNG File create_monitor_2[2].PNG Apr 18, 2015 by Marcia Beierle

  1. Anonymous (login to see details)

    It would be helpful to have a screenshot of the settings tab to show an example of usage.

  2. Anonymous (login to see details)

    Hello,

    It is possible to install this plugin in dynaTrace 4.0?

    Thanks

    1. Anonymous (login to see details)

      It should work but I havent tested it. Please give it a try and let us know if it works - then I am updating this page

  3. Anonymous (login to see details)

    Hello Andreas,

    I don't want to test a plugin in my dynatrace server of production ;)

    1. Anonymous (login to see details)

      Fair point (smile)
      This plugin is a Metric Group Plugin which defines additional Windows Performance Counters for the Windows Performance Monitor. I am therefore pretty sure it works as it just defines a new set of Windows PerfCounters.

      To be really sure I just tested it out and it works (smile)

      I will update the version information on this download page to reflect this

      Andi

      1. Anonymous (login to see details)

        Thanks for the test ;-) , I download it.

        1. Anonymous (login to see details)

          let me know if it worked for your

  4. Anonymous (login to see details)

    IIS monitor and dashboard also work wonderfully with dynaTrace 5.0.0.

  5. Anonymous (login to see details)

    I see that we could create custom perfmon measures which are agent based and can collect the same information as this plugin. If we have a dynatrace agent on a server with IIS is it recommended to use the custom perfmon measure or use this plugin and reduce  the overhead on the agent.

    1. Anonymous (login to see details)

      Thats a very good question. IF the user that runs the IIS worker process (the one with the injected agent) has the privilidges to query performance counters from that machine you can use the agent approach.

      The downside with that approach is the following though

      a) you may have multiple agents on the IIS machine -> one per w3pw worker process -> so you may collect dupliated data

      b) if IIS shuts down the worker process, e.g: after 20 minutes idle time -> you will not see these counters

      My personal opinion therefore is to go the monitor approach. It makes sure you ALWAYS get the data + it makes sure that you do not capture it multiple times

  6. Anonymous (login to see details)

    Tried this on an IIS 7.5 and the monitor retrieves no data. Other performance counters can be retrieved. any ideas why this could happen ?

    1. Anonymous (login to see details)

      CAn you test whether you get values for these performnace counters if you use the Performnace Monitor Tool that comes with windows? Sometimes there are issues with performnace counters delivering values!

    2. Anonymous (login to see details)

      When you say other performance counters are available is it from the monitor or from an agent in the server.

      This is a wild guess: it could be that the agent in the server is bringing perfmon counters and that uses the monitored process account (for .net agents) to access the counters. Where as this plugin which runs as a monitor uses the collector process credentials to access the perfmon counters, and that access might not be there, so you may not get the additional counters defined in the plugin.

      Did you checked the plugin logs? It might give some hint on the issue. You can find the log in the system information under the collector you are running this monitor. 

      -Sreerag

  7. Anonymous (login to see details)

     

    Has anyone tested this on 5.6+?

     

    1. Anonymous (login to see details)

      Tim, 

      Though my post was a while ago, I believe I managed to get it working on 5.6.

       

      Gil.

      1. Anonymous (login to see details)

        Thanks Gil, are permissions a concern? I ask because this appears to be straight forward, but it is failing with the below errors and i can't think of anything else other than it could be a permissions issue. I've retriggered the run several times but nothing.

        Schedule Details Name: IIS Performance

        Monitor Status: scheduled

        Description: Reads out PerfMon information from Microsoft Windows Systems (for example % Processor Time, Memory, AvailableKBytes, ...)

        Type: Windows Performance Monitor

         Last Run: - Last Run Result: failed

        Next Run: -

        Current Run: -

        Duration (last run): -

         Schedule: -

        Execution Target: DTcollector

        Plugin Active: active

        Result Status: failed Result: 2 host queried, 2 failed or unknown, 0 partially failed and 0 successful. Result: Detailed information of failed last task/monitor execution is no longer available. Please trigger a new run.

         

  8. Anonymous (login to see details)

    Hi, I have installed this plugin in dT 5.6 and it is not working for me. I am seeing the same failure message as the person posted above me.

    I checked on the Targeted server for the IIS metrics in perfmon and I do see them being collected. But the monitor is unable to get them.

    Would really like to know how to resolve this. I have installed the plugin and created the monitor exactly the same way as described.

     

  9. Anonymous (login to see details)

    Hi, 

    I will try and get the details of the configuration from the client side and post them here.

     

    Gil.

     

  10. Anonymous (login to see details)

    Hi,

    I've also installed and configured as per the instructions, no data is returned even though PerfMon shows values for the same counters. I'm using dT 6.0 and IIS 7.5 (on Win7).

    Apart from this, I also get the failed result for a remote server - is this perhaps due to permissions and if so, what do I need to do to get it to work?

    Thanks, Andre

  11. Anonymous (login to see details)

    Hi Andy,

     

    I've also installed and configured as per the instructions, no data is returned even though PerfMon shows values for the same counters. I'm using dT 6.0 and IIS 6.0 (on Win server 2008).

    I am getting the following error "

    Unable to access the desired computer or service. Check the permissions and authentication of the log service or the interactive user session against those on the computer or service being monitored."

     

    Could you please help us in letting know, What do we need to do for resolving the issue??

     

     

     

    Thanks,

    Manohara.KS

     

     

    1. Anonymous (login to see details)

      Hi,

      I managed to get it working, two things were affecting me:

      • client's DNS wasn't working correctly, once I found out about this I edited the Hosts which I wanted to monitor to use the IP address instead of the name, which was the default assumed under dT Server -> Infrastructure -> Hosts
      • In a Workgroup, you need to create an account, which is part of the Performance Monitor Users group, on both the Collector and IIS server which you want to monitor, then assign that user account as the Logon account under Services for the dynaTrace Collector service. Make sure you use the exact same username and password on both machines! For domains, best is to use a domain user account i.e. a domain service account and ensure this user is part of the Performance Monitor Users group on the local IIS machine, to allow it access to the PerfMon counters, as well as the dT Collector and assign this user as the Logon account for the Collector service. Remember to restart the Collector once the change to the Logon has been assigned!

      Hope this helps (smile)

      André

      1. Anonymous (login to see details)

        Thanks for that - thats great info!!

  12. Anonymous (login to see details)


    Hi André,

     

    Thank you very much. its working now after applying the second option given by you (smile)

     

    Regards,

    Manohara.KS

    1. Anonymous (login to see details)

      (smile) I'm glad it is working!

  13. Anonymous (login to see details)

    Thanks Andre, your steps listed above made this monitor to work for us.

    1. Anonymous (login to see details)

      Great stuff, glad you got it up Biken! (smile)

  14. Anonymous (login to see details)

    Hi all,

    I'm trying to use this plugin and I'm getting the following message:

    Connecting to the host 'xxxx' caused exception: failed to initialize perfmon library. cause:Unable to initialize PerformanceCounter Object. Please check if the host is reachable and the requested Performance Counter is available. Detailed error message: Unable to connect to the specified computer or the computer is offline.
    (System error code: 0x800007D0)


    My Collector proccess is running using a domain account that is the Performance Monitor Group on the host I'm trying to reach.

     I can Ping the Host from my collector machine.

     

    Any tip about this problem? Do I need permission in anything else?

     

    Thank you,

    Mélory

  15. Anonymous (login to see details)

    On that machine where your collector runs - can you open the "Performance Monitor" tool that comes with Windows and verify that you can really query the remote performance counters of these hosts you want to monitor? This is a good sanity check. The remote hosts need to be enabled for remote performance counter monitoring.

  16. Anonymous (login to see details)

    Thank you Andreas for the replay.

    I configured the monitor plugin in another dynatrace server and it worked fine (using the same user).

    The SO team said I need to reboot the machine, as I need a maintanance window, I will wait until there.

     

     

    1. Anonymous (login to see details)

      Hi Melory,

      Do you recall which machine you had to reboot when you encountered that error message? Was it the monitor collector host, or the IIS host you were trying to monitor? I have the same error message and want to refrain from having to restart both hosts. Both are running Windows 2012 R2.

      Connecting to the host 'xxxx' caused exception: failed to initialize perfmon library. cause:Unable to initialize PerformanceCounter Object. Please check if the host is reachable and the requested Performance Counter is available. Detailed error message: Unable to connect to the specified computer or the computer is offline.
      (System error code: 0x800007D0)

      Thanks, André

      1. Anonymous (login to see details)

        Hi André,

        Actually I didn't go forward with this subject, so I don't really know which one I would have to restart. But I guess would be the collector machine.

        Did you have a chance to test what Andreas Grabner suggested?

        Regards,

        Melory

         

        1. Anonymous (login to see details)

          Hi Melory,

          Thanks for the response. I restarted the Collector process and host, but with no luck. Unfortunately we couldn't restart the IIS server host due to change control procedures, so I also didn't get to the bottom of this.

          I did try Andreas Grabner's suggestions and on both IIS hosts, the IIS perfmon counters listed, so this wasn't an issue with missing/disabled perfmon counters...if only it was, then I'd know how to fix it! (wink)

          If I run into this again and I have more time to try resolve this, I'll update the thread with my results.

          Regards,

          André

  17. Anonymous (login to see details)

    Dear ,

     

    I installed plugin in dT6.1.0.8105 and works fine .

    Question : when i pull IIS counters for many Hosts, can i filter this information by host in dashboard ?

    Regards

    Abdel Mohsen

    1. Anonymous (login to see details)

      Hi. Yes - this is possible. The monitor will create measures per Host and you can then use the Dashboard Host Filter option to select which hosts you really want to see. this will then be applied to all dashlets (including your charts) so that they only show the measures from that host

      1. Anonymous (login to see details)

        Thanks for reply andi, but can i do it like master/salve such as Hosts dashlets .

        1. Anonymous (login to see details)

          Thats unfortunately not possible. But this would be a great RFE that you can post as an Idea on http://answers.dynatrace.com

  18. Anonymous (login to see details)

    For info, I have just deployed the plugin on 6.5 and it partially worked.

    BTW with IIS 7.5+ some of the performance counters have changed name.

    For instance "IIS global" has been replaced with W3SVC_W3P, however on my machine these counters return nothing. It is nothing wrong with the plugin as I can't get the value either from perfMon... Might be something wrong with my local installation of IIS.

    So you might have to tweak the counter names to make it all work.