HI there,
I seem to be having an issue with wildcard and I was wondering if anybody could help me overcome this.
I am wanting to monitor the Working Set - Private bytes of a user slected process. The issue I am finding is that sometimes there can be multiple instances (such as with microsoft edge) and in this case I will need to aggegate the values.
If I use the following key_ perf_counter["\\Process(msedge)\\Working Set - Private"] then I get the instance "msedge" excluding other instances such as msedge#1 and msedge#2.
If I use the key perf_counter["\\Process(msedge#1)\\Working Set - Private"] then I get the information for msedge#1
If I go to windows command line and do similar commands like typeperf "\Process(msedge)\Working Set - Private" -sc 1 then I get the same result as through using the key_ above
If I then try and use a wildcard * such as typeperf "\Process(msedge*)\Working Set - Private" -sc 1 then I get data returned for every instance of msedge which means I can then aggregate.
If I try and use perf_counter["\\Process(msedge*)\\Working Set - Private"] in zabbix instead of getting data for all the instances it seems to completely ignore the wildcard and I just get the data for instance "msedge" meaning I cannot aggregate the data in this case.
Is there another way to do this and if so I would appreciate the help. If this is a known issue that has yet to be addresses then this information would also be helpful too.
Kind Regards,
I seem to be having an issue with wildcard and I was wondering if anybody could help me overcome this.
I am wanting to monitor the Working Set - Private bytes of a user slected process. The issue I am finding is that sometimes there can be multiple instances (such as with microsoft edge) and in this case I will need to aggegate the values.
If I use the following key_ perf_counter["\\Process(msedge)\\Working Set - Private"] then I get the instance "msedge" excluding other instances such as msedge#1 and msedge#2.
If I use the key perf_counter["\\Process(msedge#1)\\Working Set - Private"] then I get the information for msedge#1
If I go to windows command line and do similar commands like typeperf "\Process(msedge)\Working Set - Private" -sc 1 then I get the same result as through using the key_ above
If I then try and use a wildcard * such as typeperf "\Process(msedge*)\Working Set - Private" -sc 1 then I get data returned for every instance of msedge which means I can then aggregate.
If I try and use perf_counter["\\Process(msedge*)\\Working Set - Private"] in zabbix instead of getting data for all the instances it seems to completely ignore the wildcard and I just get the data for instance "msedge" meaning I cannot aggregate the data in this case.
Is there another way to do this and if so I would appreciate the help. If this is a known issue that has yet to be addresses then this information would also be helpful too.
Kind Regards,
Comment