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 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 178 insertions(+) create mode 100644 config/ntopng/ntop.xml (limited to 'config') 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 -- cgit v1.2.3