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

    Ntopng, Allow Custom Input

    Scheduled Pinned Locked Moved Traffic Monitoring
    3 Posts 2 Posters 963 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.
    • arrmoA
      arrmo
      last edited by

      Hi,

      Just like some other packages, it would be nice to be able to append some information to the ntopng start command - for example, to allow MySQL storage (it works, tested it). This would mean allowing the following to be appended,

      -F "mysql;host;dbname;flows;user;password"

      Thanks!

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        That would be a really bad idea for the example you gave. Putting passwords on the command line, especially for a daemon, is a bad idea.

        Better would be a field that gets dumped into a file, and then have that filename passed to ntopng which it will read and interpret the contents as if command line parameters were given.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • arrmoA
          arrmo
          last edited by

          Agreed! It was just an example …  ;).

          But I do agree, an external file would be a better option. Just trying to find a way to be able to get the data to MySQL.

          Thanks!

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