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. WIN Performance Counter with "#" in path, ...

WIN Performance Counter with "#" in path, ...

Scheduled Pinned Locked Moved Support
8 Posts 3 Posters 42.6k 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.
  • S
    S
    sodalist
    wrote on last edited by
    #1

    Hello,

    Is there any option to collect windows performance counters with
    "#" in path name. I tried enclosing # in single/double quotes,
    prefixing with "/", "\", defining path in agent config *WinPerf section
    vs using PDH parameter.

    In trace mode it looks like parsing stops at "#" character.

    Agent used was: 0.2.26.1 (0.2.26).

    Thank you,

    Ales

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

      Hi!

      It's a bug. Fortunately it's easy to fix, I'll do it till release.

      Best regards,
      Victor

      1 Reply Last reply
      0
      • S
        S
        sodalist
        wrote on last edited by
        #3

        Thank you,

        BTW I am still searching for pay pal donations button 🙂
        For those of us that appreciate hard work but can not
        afford professional support.

        Ales

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

          @sodalist said in WIN Performance Counter with "#" in path, ...:

          BTW I am still searching for pay pal donations button 🙂

          We have added such button 🙂 May be it will have some use 🙂

          Best regards,
          Victor

          1 Reply Last reply
          0
          • S
            S
            sodalist
            wrote on last edited by
            #5

            Hello,

            I tested the button. You can provide feedback by adding little timeout
            to ServiceCheck.Custom(<insert arguments here>) as additional parameter
            so that check would give back value when TCP port is not reachable 🙂

            And one more suggestion if I can 🙂 (pushing my luck) evaluate feature
            requests, create table put value preset pay pall button in each row in that
            table.

            thank you,

            Ales

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

              Hi!

              Thank you! I'll add timeout option, but not in 0.2.27 - it's already prepared for release.

              Best regards,
              Victor

              1 Reply Last reply
              0
              • A
                A
                Alex Kirhenshtein
                wrote on last edited by
                #7

                @sodalist said in WIN Performance Counter with "#" in path, ...:

                I tested the button. You can provide feedback by adding little timeout
                to ServiceCheck.Custom(<insert arguments here>) as additional parameter
                so that check would give back value when TCP port is not reachable 🙂

                Hi.

                I've just submited required changes, they will be pushed into upcoming release (will be packed tomorrow morning)

                Default timeout is set to 30 seconds, but you can change it using "Timeout" parameter (in milliseconds) in "*portcheck" section.

                Sample nxagentd.conf:

                MasterServers = localhost
                LogFile = /tmp/nx/agent.log
                SubAgent = /tmp/nx/lib/libnsm_portCheck.so
                
                *Portcheck
                Timeout = 5000 # 5 seconds.
                
                1 Reply Last reply
                0
                • V
                  V
                  Victor Kirhenshtein
                  wrote on last edited by
                  #8

                  Also, it is now possible to specify timeout (in milliseconds) as last argument in all ServiceCheck.xxx parameters. Timeout given directly in parameter will override default timeout set by Timeout in configuration file.

                  Best regards,
                  Victor

                  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