From 86c67c0e6ecc177227896d09176e02d7486732fd Mon Sep 17 00:00:00 2001 From: jim-p Date: Tue, 12 Aug 2014 16:02:36 -0400 Subject: Add skeleton for ntopng, not active to install yet. --- config/ntopng/ntop.xml | 178 +++++++++++++++++++++++++++++++++++++++++++++++++ pkg_config.10.xml | 17 +++++ pkg_config.8.xml | 18 +++++ pkg_config.8.xml.amd64 | 18 +++++ 4 files changed, 231 insertions(+) create mode 100644 config/ntopng/ntop.xml diff --git a/config/ntopng/ntop.xml b/config/ntopng/ntop.xml new file mode 100644 index 00000000..4db9e9c8 --- /dev/null +++ b/config/ntopng/ntop.xml @@ -0,0 +1,178 @@ + + + + + + + + ntop + 3.0 + Diagnostics: ntop Settings + Change + pkg_edit.php?xml=ntop.xml&id=0 + + ntop Settings + Set ntop settings such as password and port. +
Diagnostics
+ /pkg_edit.php?xml=ntop.xml&id=0 +
+ + ntop + Access ntop +
Diagnostics
+ http://$myurl:3000 + ntop +
+ + ntop + ntop.sh + ntop + NTOP bandwidth monitoring/graphing + + + + ntop Settings + /pkg_edit.php?xml=ntop.xml&id=0 + + + + Access ntop + http://$myurl:3000 + + + + + ntop Admin Password + password + Enter the password for the NTOP Web GUI. Minimum 5 characters. + password + + + ntop Admin Password AGAIN + passwordagain + password + + + Interface + interface_array + interfaces_selection + 3 + lan + true + + + Allow merging interfaces<br>(Def: Do not merge) + allowmerge + checkbox + + + + "ntop.sh", + "start" => $start, + "stop" => "/usr/bin/killall ntop" + ) + ); + if (is_service_running("ntop")) { + stop_service("ntop"); + // Wait for ntop to shut down cleanly. + sleep(20); + } + if (empty($ntop_config['password'])) + $ntop_config['password'] = "admin"; + unlink_if_exists("/var/db/ntop/ntop_pw.db"); + exec("/usr/local/bin/ntop --set-admin-password={$ntop_config['password']}"); + sleep(2); + start_service("ntop"); + conf_mount_ro(); + config_unlock(); + } + ]]> + + + sync_package_ntop(); + + + sync_package_ntop(); + + + sync_package_ntop(); + + + exec("rm /usr/local/etc/rc.d/ntop*"); + + + + +
\ No newline at end of file diff --git a/pkg_config.10.xml b/pkg_config.10.xml index ed890f54..3088ce71 100644 --- a/pkg_config.10.xml +++ b/pkg_config.10.xml @@ -268,6 +268,23 @@ ntop.xml true + + ntopng + http://www.ntop.org/ + ntopng (replaces ntop) is a network probe that shows network usage in a way similar to what top does for processes. In interactive mode, it displays the network status on the user's terminal. In Web mode it acts as a Web server, creating an HTML dump of the network status. It sports a NetFlow/sFlow emitter/collector, an HTTP-based client interface for creating ntop-centric monitoring applications, and RRD for persistently storing traffic statistics. + Network Management + ntopng-1.1_2-##ARCH##.pbi + + net/ntopng + + 1.1 v0.1 + ALPHA + + 3.0 + https://packages.pfsense.org/packages/config/ntopng/ntopng.xml + ntopng.xml + true + Notes diff --git a/pkg_config.8.xml b/pkg_config.8.xml index 6ecb57a4..699ec2a8 100644 --- a/pkg_config.8.xml +++ b/pkg_config.8.xml @@ -366,6 +366,24 @@ ntop.xml true + + ntopng + http://www.ntop.org/ + ntopng (replaces ntop) is a network probe that shows network usage in a way similar to what top does for processes. In interactive mode, it displays the network status on the user's terminal. In Web mode it acts as a Web server, creating an HTML dump of the network status. It sports a NetFlow/sFlow emitter/collector, an HTTP-based client interface for creating ntop-centric monitoring applications, and RRD for persistently storing traffic statistics. + Network Management + https://files.pfsense.org/packages/8/All/ + ntopng-1.1_2-i386.pbi + + net/ntopng + + 1.1 v0.1 + ALPHA + + 3.0 + https://packages.pfsense.org/packages/config/ntopng/ntopng.xml + ntopng.xml + true + FreeSWITCH http://www.freeswitch.org/ diff --git a/pkg_config.8.xml.amd64 b/pkg_config.8.xml.amd64 index a74edeae..83a0457f 100644 --- a/pkg_config.8.xml.amd64 +++ b/pkg_config.8.xml.amd64 @@ -353,6 +353,24 @@ ntop.xml true + + ntopng + http://www.ntop.org/ + ntopng (replaces ntop) is a network probe that shows network usage in a way similar to what top does for processes. In interactive mode, it displays the network status on the user's terminal. In Web mode it acts as a Web server, creating an HTML dump of the network status. It sports a NetFlow/sFlow emitter/collector, an HTTP-based client interface for creating ntop-centric monitoring applications, and RRD for persistently storing traffic statistics. + Network Management + https://files.pfsense.org/packages/amd64/8/All/ + ntopng-1.1_2-i386.pbi + + net/ntopng + + 1.1 v0.1 + ALPHA + + 3.0 + https://packages.pfsense.org/packages/config/ntopng/ntopng.xml + ntopng.xml + true + FreeSWITCH http://www.freeswitch.org/ -- cgit v1.2.3