Ad Widget

Collapse

flexible interval put back

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Biobabar
    Junior Member
    • Jan 2011
    • 15

    #1

    flexible interval put back

    Hello !
    I'm using 1.8.3 zabbix agent for windows
    I want verify if my directory is empty.
    My key is : system.run[dir c:\EDI_PLAN\CDE\ | find "fichier(s)"]
    Type of information : Text
    Update interval (in sec) : 0
    Flexible intervals (sec) : 7200 sec at 1-5,05:30-19:35

    I want a reel flexible intervals between 07:30-21:35 but with my UTC +2, it does not work properly.

    The answer is good but, the real problem, it's I have my first information at 8h30 and not 7h30...

    Where is the error ??
  • Biobabar
    Junior Member
    • Jan 2011
    • 15

    #2
    I add I have already another key
    key : system.run[dir c:\EDI_PLAN\BL\ | find "fichier(s)"]
    Type of information : Text
    Update interval (in sec) : 0
    Flexible intervals (sec) : 7200 sec at 1-5,06:30-20:35

    Here, it's a good return at a good time !
    first return--> 31 Mar 2011 08:31:31 0 fichier(s)

    Why for the Flexible intervals "7200 sec at 1-5,05:30-19:35" the first return is at 08:30 too?

    Thank you for your help

    Comment

    • Biobabar
      Junior Member
      • Jan 2011
      • 15

      #3
      For one, I have :
      Flexible intervals (sec) : 7200 sec at 1-5,06:30-20:35
      with result :
      from 8h30 to 22h30 with 2h intervals
      (GOOD)

      And another :
      Flexible intervals (sec) : 7200 sec at 1-5,05:30-19:35
      with result :
      from 8h30 to 20h30 with 2h intervals

      I don't understand...

      Comment

      • Biobabar
        Junior Member
        • Jan 2011
        • 15

        #4
        some test with different "flexible intervals":
        it's start at :

        logically --> real
        5:30 --> 8:30
        5:00 --> 8:30
        4:30 --> 7:30
        4:00 --> 7:30
        3:30 --> 6:30
        3:00 --> 6:30
        2:30 --> 5:30
        2:00 --> 5:30

        I need to start at 7:30... So I will start at 4:30
        But it's very strange

        Comment

        Working...