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. Custom Schedule query

Custom Schedule query

Scheduled Pinned Locked Moved Support
7 Posts 4 Posters 39.2k 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.
  • B
    B
    bulwer
    wrote on last edited by
    #1

    I have setup an average ping time DCI for one of our sites that has a poor network connection and set it to email if the Average pings for the last 5 collections is over 1 second. This works perfectly but keeps emailing us in the early hours when the backup runs across the network. I tried to set up a custom schedule to just collect data in the day using rows like the following:

    */1 9 * * *
    */1 10 * * *
    */1 11 * * *
    ..
    ..
    ..
    */1 17 * * *

    This doesn't work however and the schedule disappears after a few minutes. Is there a way I can just collect every minute between say 9 and 5 or 9 and 6?

    1 Reply Last reply
    0
    • B
      B
      bulwer
      wrote on last edited by
      #2

      Actually I've just tried * 9,10,11,12,13,14,15,16 * * * after reading the Wiki page on cron - hopefully this will work

      1 Reply Last reply
      0
      • B
        B
        bulwer
        wrote on last edited by
        #3

        That didn't work either - just disappeared after 3 or 4 minutes

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

          I'd guess that the custom scheduler doesn't affect/work on the average PING-agent(?).

          An alternative solution could be to write a filter script in the Event Processing Policy that only allows alarms between 9am and 5/6pm. Then you wouldn't lose the statistics.

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

            Hi!

            What you mean by "disappeared"? It stops collecting data, or configured schedule really disappears from DCI configuration?

            Best regards,
            Victor

            1 Reply Last reply
            0
            • B
              B
              bulwer
              wrote on last edited by
              #6

              @victor said in Custom Schedule query:

              Hi!

              What you mean by "disappeared"? It stops collecting data, or configured schedule really disappears from DCI configuration?

              Best regards,
              Victor

              It really disappears from DCI configuration. It seems to stay for the first few minutes but then goes completely

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

                Answer: https://www.netxms.org/forum/configuration/custom-schedule-disappearing/msg9376/#msg9376

                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