

Run the following command under “Execute Shell Command” field chflags schg /usr/local/etc/rc.d/ntopng.shĪnd click on “Execute”, you will not see any result. Since ntopng will be restarting most of the time, you will need to ensure that your ntopng will always run with the new ” -F ” option above, and also survive a reboot of pfSenseĪfter adding the new ” -F ” command as above, go to Diagnostics > Command Prompt Proceed to click on “Save” where you first clicked on the “Load” button Making it stick Even WordPress converts it to ‘ ‘, which is also different Previously I had this command listed in my Evernote which autocorrected it to ” ” or ` `, breaking ntopng. Proceed to edit the following line: /usr/local/bin/ntopng -d /var/db/ntopng -G /var/run/ntopng.pid -s -e -w 0 -W 3000 -i 'xn2' -i 'xn0' -dns-mode '1' -local-networks '192.168.0.0/16,172.16.0.0/12,10.0.0.0/8' &Īppend your ” – F ” config into that line above, it can be anywhere after /usr/local/bin/ntopng , I usually paste the command somewhere in between -W and -i Under “Path to file to be edited”, enter /usr/local/etc/rc.d/ntopng.shĬlick “Load” and you will see the ntopng run options To edit ntopng run options, go to Diagnostics > Edit File This tells ntopng to dump all hostnames, which will populate SSL and HTTP hostnames in Kibana later Right, you will need to add ‘ -F ‘ option to your ntopng serviceĮxample option to ELK stack hosted in 192.168.1.20 device would be: -F 'es ntopng ntopng-%Y.%m.%d ' -D all Disable notifications if you know ntopng is going to keep restarting every 15~30mins Add ntopng export flows option This should be pretty forward, just add the ntopng service into the Watchdog. Make use of pfSense’s Services > Service Watchdog to restart the ntopng service whenever it stops.

It won’t help, because sometimes this won’t come out at all and ntopng just stops running with a “signal 11” The quick layman fix/workaround

If you are looking at the Lua.cpp error, stop there.
