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. Templates and "Sample count for average calculation"

Templates and "Sample count for average calculation"

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 26.4k 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.
  • T
    T
    Tursiops
    wrote on last edited by
    #1

    Hi,

    I've setup a template to monitor some Windows Performance Counters for average disk sec/Write, sec/Read, etc.
    Originally I stuffed that up and left the sample count at "0" which resulted in getting no data for those counters.
    So after figuring that out, I changed the template to set the sample count to "2".

    However this change does not get applied to any of the systems already assigned to the template.

    New systems receive the correct sample count. Old ones do not.
    Running a "Full" Configuration Poll doesn't help.
    I have to remove the systems from the template (which also means removing the DCIs and any historic data) and then either manually re-assign them or run a configuration poll again so they are automatically re-added to the template. At that point the sample count is correct.

    Not quite sure why the changed sample count doesn't automatically apply to systems already using the template?

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

      Hi,

      seems to be a bug in template update. I'll fix it in 2.0 release.

      Best regards,
      Victor

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

        If you build from sources, there is a patch attached.

        Best regards,
        Victor


        sample_count.patch

        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