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

    Ntopng stops responding/updating after a while

    Scheduled Pinned Locked Moved pfSense Packages
    7 Posts 3 Posters 2.0k 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.
    • T Offline
      toysareforboys
      last edited by

      I haven't timed it exactly, but between 10 to 30 mins of sitting on the Flow screen ntopng stops responding. If I click the "flow" button again, it says "no data". If I refresh the page I have to log in with admin/admin again and then flow fires back up.

      I need to run flow on a display monitor 24/7 and I looked through the settings and didn't see anything about a timeout.

      How can I make it so flow stays running?

      Thanks!

      -Jamie M.

      1 Reply Last reply Reply Quote 0
      • C Offline
        charliem
        last edited by

        If you are on a secure network, you can disable needing to log in completely by using the '-l' or '–disable-login' options.  I've tested this and it seems to work as advertised.

        If you still want to log in, you can turn off the inactivity logout by using the '-q' or '--disable-autologout' options.  I haven't tested this one yet.

        Either approach will mean editing /usr/local/etc/rc.d/ntopng.sh, and realizing that the changes will be lost when that's re-written (certainly pfSense updates, and every time you 'change' ntopng settings via the webgui).  Manual is here: https://svn.ntop.org/svn/ntop/trunk/ntopng/doc/UserGuide.pdf

        1 Reply Last reply Reply Quote 0
        • T Offline
          toysareforboys
          last edited by

          @charliem:

          If you are on a secure network, you can disable needing to log in completely by using the '-l' or '–disable-login' options.  I've tested this and it seems to work as advertised.

          If you still want to log in, you can turn off the inactivity logout by using the '-q' or '--disable-autologout' options.  I haven't tested this one yet.

          Either approach will mean editing /usr/local/etc/rc.d/ntopng.sh, and realizing that the changes will be lost when that's re-written (certainly pfSense updates, and every time you 'change' ntopng settings via the webgui).  Manual is here: https://svn.ntop.org/svn/ntop/trunk/ntopng/doc/UserGuide.pdf

          Sweet, thanks!!

          Can I change the permissions on ntopng.sh so that only I can change it, not the "system"?

          -Jamie M.

          1 Reply Last reply Reply Quote 0
          • C Offline
            charliem
            last edited by

            @toysareforboys:

            Can I change the permissions on ntopng.sh so that only I can change it, not the "system"?

            No, not easily, I think it's created from scratch each time.  Best way is to write the code to add these options to the 'ntopng settings' page, and then get them into pfSense so they are officially supported.

            1 Reply Last reply Reply Quote 0
            • T Offline
              toysareforboys
              last edited by

              @charliem:

              No, not easily, I think it's created from scratch each time.  Best way is to write the code to add these options to the 'ntopng settings' page, and then get them into pfSense so they are officially supported.

              Bummer :( The file gets overwritten/undoes the changes I make every time pfSense reboots, any particular way to fix that?

              -Jamie M.

              1 Reply Last reply Reply Quote 0
              • G Offline
                gdelong
                last edited by

                Did anyone ever figure out a solution to this?

                1 Reply Last reply Reply Quote 0
                • T Offline
                  toysareforboys
                  last edited by

                  @gdelong:

                  Did anyone ever figure out a solution to this?

                  Not I, nope :(

                  -Jamie M.

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