Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. DCI in template with {instance} parameter in WMI, WMI as tables?

DCI in template with {instance} parameter in WMI, WMI as tables?

Scheduled Pinned Locked Moved Support
5 Posts 2 Posters 15.7k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H
    H
    hkusulja
    wrote on last edited by
    #1

    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/sec

    i 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

    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • H
        H
        hkusulja
        wrote on last edited by
        #3

        @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,
        Victor

        I 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

        1 Reply Last reply
        0
        • V
          V
          Victor Kirhenshtein
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          • H
            H
            hkusulja
            wrote on last edited by
            #5

            @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

            1 Reply Last reply
            0

            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
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            Powered by NodeBB Contributors
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups