Hello,
I’m recently started using check_mk and strugglig to setup monitoring of IIS/ASP application.
Not sure is anything already created by community that i could use. In the mean time I was looking at monitoring both IIS and ASP through Performance Objects but so far miserably failing. Any
help or pointers to right resources will be greatly appreciated.
This is what I attempted to do so far (based on
https://mathias-kettner.de/checkmk_windows.html):
Exported counter objects mappings to respective IDs using lodctr /s:counters.ini
Found counter of interest e.g. for [PERF_ASP.NET]
[PERF_ASP.NET]
First Counter=8452
First Help=8453
Last Counter=8676
Last Help=8677
8453=ASP.NET global performance counters
8454=ASP.NET Applications
8455=ASP.NET application performance counters
8456=Application Restarts
8457=Number of times the application has been restarted during the web server’s lifetime.
8458=Applications Running
8459=Number of currently running web applications.
8460=Requests Disconnected
8461=The number of requests disconnected due to communication errors or user terminated.
8462=Request Execution Time
8463=The number of milliseconds that it took to execute the most recent request.
8464=Requests Rejected
8465=The number of requests rejected because the request queue was full.
8466=Requests Queued
8467=The number of requests waiting to be processed.
8468=Worker Processes Running
8469=Number of worker processes running on the machine.
8470=Worker Process Restarts
8471=Number of times a worker process has restarted on the machine.
8472=Request Wait Time
8473=The number of milliseconds the most recent request was waiting in the queue.
…
Added the following entry in check_mk.ini
[winperf]
counters = 8458:asp_apprg
also as supported since 1.2.5i6 I tried the following:
[winperf]
counters = Applications Running:asp_apprg
Run
cmk -d | grep winperf which doesn’t output any data for
asp_apprg counter
Tested with example Connection counter
counters = 638:tcp_conn
and cmk -d | grep winperf
produces expected output
What I’n doing wrong or I’m missing. Is anything else yhat needs to be enabled on monitored system?
Best regards,
Rafal