Author Topic: Custom Schedule query  (Read 3970 times)

bulwer

  • Newbie
  • *
  • Posts: 32
    • View Profile
Custom Schedule query
« on: January 04, 2013, 12:09:29 pm »
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?

bulwer

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: Custom Schedule query
« Reply #1 on: January 04, 2013, 01:11:10 pm »
Actually I've just tried * 9,10,11,12,13,14,15,16 * * * after reading the Wiki page on cron - hopefully this will work

bulwer

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: Custom Schedule query
« Reply #2 on: January 04, 2013, 01:14:31 pm »
That didn't work either - just disappeared after 3 or 4 minutes

Anders

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Re: Custom Schedule query
« Reply #3 on: January 04, 2013, 03:34:17 pm »
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.

Victor Kirhenshtein

  • Lead Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 7140
    • View Profile
Re: Custom Schedule query
« Reply #4 on: January 04, 2013, 04:47:51 pm »
Hi!

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

Best regards,
Victor

bulwer

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: Custom Schedule query
« Reply #5 on: January 06, 2013, 11:21:38 am »
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

Alex Kirhenshtein

  • Team Member
  • Administrator
  • Hero Member
  • *****
  • Posts: 992
    • View Profile