DCI in template with {instance} parameter in WMI, WMI as tables?
-
Hi,
I figured out that I can use DCI for monitoring filesystems with NetXMS agent for instance: FileSystem.UsedPerc({instance})
There is {instance} parameter and this will create for each filesystem it founds, its own DCI on node, and this is fine.I am trying to achieve the same effect but with different Origin - WMI - Windows Performance Counters.
For instance:
\PhysicalDisk(
)\Disk Reads/sec
\PhysicalDisk(
)\Disk Reads/seci have tried to put \PhysicalDisk({instance})\Disk Reads/sec but it does not work.
Is this NetXMS limitation, that it does not support {instance} / reading WMI as a table, or I am doing something wrong ?
I need this feature for multiple stuff (disk space, disk io, network interfaces etc.) some stuff I can do with NetXMS agent Origin, but there is more stuff in WMI that I need which are missing in Agent.Please advise.
Thank you
-
Hi!
WMI (stands for Windows Management Instrumentation) is not Windows Performance Counters - it's two different things. First you should understand what exactly you want to use. From the name \PhysicalDisk({instance})\Disk Reads/sec I suppose you are trying to use Windows Performance Counters. In this case, instance discovery will not work because DCI origin is not agent. It could be a feature request, but currently it's not possible.
Best regards,
Victor -
@victor said in DCI in template with {instance} parameter in WMI, WMI as tables?:
Hi!
WMI (stands for Windows Management Instrumentation) is not Windows Performance Counters - it's two different things. First you should understand what exactly you want to use. From the name \PhysicalDisk({instance})\Disk Reads/sec I suppose you are trying to use Windows Performance Counters. In this case, instance discovery will not work because DCI origin is not agent. It could be a feature request, but currently it's not possible.
Best regards,
VictorI believe that NetXMS agent uses, local WMI to localhost to get Performance Counters, however maybe I am wrong and thank you for correcting me.
Ok, yes, I am interested in Performance Counters - {instance} feature then, any clues about this ?
Thank you
-
NetXMS agent uses PDH API to access performance counters. You can add feature request to our bug tracker for instance discovery support for perf counter DCIs.
Best regards,
Victor -
@victor said in DCI in template with {instance} parameter in WMI, WMI as tables?:
NetXMS agent uses PDH API to access performance counters. You can add feature request to our bug tracker for instance discovery support for perf counter DCIs.
Great, thank you, feature request is created here: https://www.radensolutions.com/chiliproject/issues/567
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login