Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Status > Monitoring custom date range added (WIP)

    Scheduled Pinned Locked Moved 2.3.1 Snapshots Testing and Feedback - ARCHIVED
    17 Posts 7 Posters 3.5k Views
    Loading More Posts
    • 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.
    • jdillardJ
      jdillard
      last edited by

      I just pushed the first draft of the custom date range.

      Known Issues:

      • Defaults the resolution to 1 hour (I can't figure out how to fix that just yet)

      • No input validation yet.

      • Can't specify specific time.

      • It looks up GMT times, needs to calculate time zone difference

      • some missing files in the css, they don't cause issues though (only log entries)

      Feel free to play around with it and let me know what you think (wait until a full snapshot is in place to grab the css changes or do a gitsync this first time around). I'll continue working on those issues.

      1 Reply Last reply Reply Quote 0
      • MikeV7896M
        MikeV7896
        last edited by

        Just to go the next step, as I'm sure someone else will… :)

        What about specific start/end times? What if I wanted to just look at a 4 hour window within a certain day? This was accomplished with hour/minute/second sliders in the old system (though you could enter numbers directly into a text box if desired). If you selected a time in the future, RRD would graph that far ahead, but obviously the graph would be blank. Obviously you can determine how you want to handle future date/time entries.

        The S in IOT stands for Security

        1 Reply Last reply Reply Quote 0
        • jdillardJ
          jdillard
          last edited by

          Should be doable. most of the hard work is out of the way (I hope :P)

          1 Reply Last reply Reply Quote 0
          • R
            robi
            last edited by

            OFF: What did you use to capture that animated pic, btw?

            1 Reply Last reply Reply Quote 0
            • jdillardJ
              jdillard
              last edited by

              LICEcap: http://www.cockos.com/licecap/

              really quick and easy to use

              1 Reply Last reply Reply Quote 0
              • R
                robi
                last edited by

                Too bad there's no Linux-version available.

                1 Reply Last reply Reply Quote 0
                • H
                  heper
                  last edited by

                  @robi:

                  Too bad there's no Linux-version available.

                  i've used this a while ago, seemed to work:
                  https://github.com/colinkeenan/silentcast

                  
                  Ubuntu Linux Full Install
                  
                  For supported releases run the following commands to install Silentcast (If the PPA/repositories are out of date or for older versions of Ubuntu follow one of the "Any Linux Distro" instructions):
                  $ sudo add-apt-repository ppa:sethj/silentcast
                  $ sudo apt-get update
                  $ sudo apt-get install silentcast
                  
                  
                  1 Reply Last reply Reply Quote 0
                  • R
                    robi
                    last edited by

                    Works! Thanks!

                    1 Reply Last reply Reply Quote 0
                    • jdillardJ
                      jdillard
                      last edited by

                      I added start and end hours. You have to enter a number between 0 and 23, but if you click the field you can mousescroll to the number you want.

                      1 Reply Last reply Reply Quote 0
                      • F
                        fohdeesha
                        last edited by

                        were you born magical or did it happen over time?

                        1 Reply Last reply Reply Quote 0
                        • jdillardJ
                          jdillard
                          last edited by

                          Today I'll add some input validation.

                          I also figured out why my resolution was defaulting to an hour and it was because my time range was too far out and the data was being averaged out. It will automatically pick the highest resolution now and display what it used below the graph. Feel free to play around once it hits snapshots and see how the resolution changes as you go back in time.

                          I discovered one more known issue (and it may be the last): it looks up times in GMT and it needs to calculate the time zone difference.

                          1 Reply Last reply Reply Quote 0
                          • jdillardJ
                            jdillard
                            last edited by

                            @fohdeesha:

                            were you born magical or did it happen over time?

                            If you think this is sorcery you should see the stuff that happens behind the curtain…the things I've seen people do to packets.

                            1 Reply Last reply Reply Quote 0
                            • M
                              maverick_slo
                              last edited by

                              Hi!
                              Another bug is that system log is complaining about some css files when using custom periods…
                              Otherwise great job :)

                              1 Reply Last reply Reply Quote 0
                              • jdillardJ
                                jdillard
                                last edited by

                                Oh yea I forgot about that, thanks for reminding me. I put it in the notes at the top.

                                1 Reply Last reply Reply Quote 0
                                • jdillardJ
                                  jdillard
                                  last edited by

                                  Image errors are fixed…now to get it all into git (edit: it's in git now, watch for snapshots).

                                  latest gif (note resolution change based on period selected): http://i.imgur.com/H7cFfKn.gifv

                                  1 Reply Last reply Reply Quote 0
                                  • luckman212L
                                    luckman212 LAYER 8
                                    last edited by

                                    Looks amazing!!  Cant wait to have a go with this.

                                    1 Reply Last reply Reply Quote 0
                                    • jdillardJ
                                      jdillard
                                      last edited by

                                      Just pushed changes that should fix the UTC offset issues.

                                      1 Reply Last reply Reply Quote 0
                                      • First post
                                        Last post
                                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.