From 48fffc39f7f577106ffbfaf84e9a97c32850705f Mon Sep 17 00:00:00 2001 From: jim-p Date: Tue, 12 Aug 2014 16:33:42 -0400 Subject: Fix filename --- config/ntopng/ntop.xml | 173 ----------------------------------------------- config/ntopng/ntopng.xml | 173 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 173 insertions(+), 173 deletions(-) delete mode 100644 config/ntopng/ntop.xml create mode 100644 config/ntopng/ntopng.xml (limited to 'config/ntopng') diff --git a/config/ntopng/ntop.xml b/config/ntopng/ntop.xml deleted file mode 100644 index 20582c86..00000000 --- a/config/ntopng/ntop.xml +++ /dev/null @@ -1,173 +0,0 @@ - - - - - - - - ntopng - 1.1 v0.1 - Diagnostics: ntopng Settings - Change - pkg_edit.php?xml=ntopng.xml - - ntopng Settings - Set ntopng settings such as password and port. -
Diagnostics
- /pkg_edit.php?xml=ntopng.xml&id=0 -
- - ntopng - Access ntopng -
Diagnostics
- https://$myurl:3001 - ntopng -
- - ntopng - ntopng.sh - ntopng - ntopng bandwidth monitoring/graphing - - - - ntopng Settings - /pkg_edit.php?xml=ntop.xml&id=0 - - - - Access ntopng - https://$myurl:3001 - - - - - ntopng Admin Password - password - Enter the password for the ntopng GUI. Minimum 5 characters, defaults to admin. - password - - - Confirm ntopng Admin Password - passwordagain - password - - - Interface - interface_array - interfaces_selection - 3 - lan - true - - - - "ntopng.sh", - "start" => $start, - "stop" => "/usr/bin/killall ntopng" - ) - ); - if (is_service_running("ntopng")) { - stop_service("ntopng"); - // Wait for ntopng to shut down cleanly. - sleep(20); - } - if (empty($ntopng_config['password'])) - $ntopng_config['password'] = "admin"; - $password = md5($ntopng_config['password']); - exec("/usr/local/bin/redis-cli SET user.admin.password " . escapeshellarg($password)); - sleep(2); - start_service("ntopng"); - conf_mount_ro(); - config_unlock(); - } - ]]> - - - sync_package_ntopng(); - - - sync_package_ntopng(); - - - sync_package_ntopng(); - - - exec("rm /usr/local/etc/rc.d/ntopng*"); - - - - -
\ No newline at end of file diff --git a/config/ntopng/ntopng.xml b/config/ntopng/ntopng.xml new file mode 100644 index 00000000..20582c86 --- /dev/null +++ b/config/ntopng/ntopng.xml @@ -0,0 +1,173 @@ + + + + + + + + ntopng + 1.1 v0.1 + Diagnostics: ntopng Settings + Change + pkg_edit.php?xml=ntopng.xml + + ntopng Settings + Set ntopng settings such as password and port. +
Diagnostics
+ /pkg_edit.php?xml=ntopng.xml&id=0 +
+ + ntopng + Access ntopng +
Diagnostics
+ https://$myurl:3001 + ntopng +
+ + ntopng + ntopng.sh + ntopng + ntopng bandwidth monitoring/graphing + + + + ntopng Settings + /pkg_edit.php?xml=ntop.xml&id=0 + + + + Access ntopng + https://$myurl:3001 + + + + + ntopng Admin Password + password + Enter the password for the ntopng GUI. Minimum 5 characters, defaults to admin. + password + + + Confirm ntopng Admin Password + passwordagain + password + + + Interface + interface_array + interfaces_selection + 3 + lan + true + + + + "ntopng.sh", + "start" => $start, + "stop" => "/usr/bin/killall ntopng" + ) + ); + if (is_service_running("ntopng")) { + stop_service("ntopng"); + // Wait for ntopng to shut down cleanly. + sleep(20); + } + if (empty($ntopng_config['password'])) + $ntopng_config['password'] = "admin"; + $password = md5($ntopng_config['password']); + exec("/usr/local/bin/redis-cli SET user.admin.password " . escapeshellarg($password)); + sleep(2); + start_service("ntopng"); + conf_mount_ro(); + config_unlock(); + } + ]]> + + + sync_package_ntopng(); + + + sync_package_ntopng(); + + + sync_package_ntopng(); + + + exec("rm /usr/local/etc/rc.d/ntopng*"); + + + + +
\ No newline at end of file -- cgit v1.2.3