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. Exclude polls at certain times?

Exclude polls at certain times?

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

    Is it possible to exclude polling for certain DCI's at set times?

    For example I do not want the DCI's in my server template to check from 19:00-08:00 how
    would I do this?

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

      Yes, it's possible via advanced schedule. Just check "advanced schedule" checkbox in DCI configuration, and add one or more schedules in CRON format on advanced schedule tab. For example, to collect data every minute from 9:00 till 18:00, add schedule

      * 9-18 * * *
      

      See cron manpage or NetXMS user manual for detailed description of schedule syntax.

      Best regards,
      Victor

      1 Reply Last reply
      0
      • X
        X
        xenth
        wrote on last edited by
        #3

        Great, thanks 🙂

        1 Reply Last reply
        0
        • A
          A
          Anth0ny
          wrote on last edited by
          #4

          It is possible to add a new option for Scheduler (Polling and storage)?

          Add an "Exclusion Time" option (for direct adding one or more exclusions)

          OR

          Split field to two parts at "Use advanced shedule" tab and stay one as "Schedules" and add new with name "Exclusions" for adding exclusions intervals

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

            I don't see any need for separating exclusions - everything can be defined as one or more advanced schedule record. For example, if I need not to poll DCI from 10:00 till 12:00 (not including 12:00 itself), I can use the following schedule:

            * 0-9,12-23 * * *
            

            I don't sink that it's much more complicated then writing "exclusion" schedule

            * 10-12 * * *
            

            Best regards,
            Victor

            1 Reply Last reply
            0
            • A
              A
              Anth0ny
              wrote on last edited by
              #6

              you right.  🙂

              but how about if i don't want to poll every 60 seconds and want to change an interval to (for example) 600 or more seconds?

              how can i use an advanced scheduling with non-standard poll interval?

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

                every 600 seconds means every 10 minutes, so you can put */10 instead of * for minutes in schedule, like

                */10 10-22 * * *
                

                which means "collect value every 10th minute from 10:00 till 22:50".

                Best regards,
                Victor

                1 Reply Last reply
                0
                • A
                  A
                  Anth0ny
                  wrote on last edited by
                  #8

                  Great! Thanks!

                  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