Hi, we have a virtual machines running a few windows services, some of them might be running using the same executable like:
Service1 using "c:\services\service.exe P1"
Service2 using "c:\services\service.exe P2"
where P1 and P2 are command line parameters.
Just wondering if someone faced the same issue and resolved it to have statisitics continue gathering for the same service after service restart
Regards, Dmytro
Service1 using "c:\services\service.exe P1"
Service2 using "c:\services\service.exe P2"
where P1 and P2 are command line parameters.
- I tweaked Windows Registry to have access to include PIDs in the performance counters (HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servi ces\PerfProc\Performance, ProcessNameFormat DWORD 2),
- set up a discovery rule (see LLD_js.txt) that identifies specific service and saves some info including running PID and then
- created an item prototype with a key like perf_counter_en["\Process({#SERVICE.INSTANCE})\Private Bytes"].
Just wondering if someone faced the same issue and resolved it to have statisitics continue gathering for the same service after service restart
Regards, Dmytro
Comment