![]() ![]() copy and paste the following lines into nf.Create the configuration file to pass additional custom parameters.copy and paste the following lines into.Create the LaunchDaemon scripts to make the service running as a daemon:.Run the script that installs ntop and its libraries in the proper places:.fire the script that checks the dependencies:.Make sure to be in ‘~/src/ntop-4.0.3’ folder then install of graphviz (contains ‘dot’, needed for “ Local Network Traffic Map” feature of ntop):.install mako (needed for “Host World Map” feature of ntop):.The Workgroup Manager calculate the first available User ID automatically. This procedure can be executed in command-line as well using the ‘dscl’ command, but you will have to assign the Primary User ID manually retrieving it from the directory service using other scripts. Leave the password blank prevent any possibility of login and also do not specify the home folder, of if you really need to specify one choose /usr/local/etc/ntop. Create the new local user ntop with primary group ntop.Creation of the a local user and local groupntop via ‘Workgroup Manager’:.This step could take several minutes because it will download, compile and install a lot of ports (libraries). This command do not istall ntop from MacPorts but only its dependencies. install ntop dependencies from MacPorts needed to compile and run ntop:.Fetch the latests source archive from $ wget wget.Create a ‘src’ folder where to store and compile the ntop sources:.Make sure you have installed Xcode and MacPorts and Worgroup Manager.MacPorts, you can download and install it from.Workgroup Manager, it’s part of the Server Admin Tools and needs to be downloaded from Apple support and installed, unless you are running Mac OS X Server.Xcode (required by MacPorts), you can install it from Mac OS X Server Snow Leopard installation disk, ‘Optional Installs’ folder.What will will do then, is to download, compile and install the ntop 4.0.3 directly from its official website and rely on MacPorts to install it’s compiling and installing dependencies. One of the reasons I prefer to install ntop 4.0.3 instead of 3.3 is that it gives us the option to visualise the “Hosts World Map” directly in Google Maps and the “Local Network Traffic Map” giving us an idea where our network users and services and clients are connecting to and from. Of course many other improvements are available in the latest version, but these are the coolest according to me □Īnother reason to manually install ntop and follow the procedure below is to install and configure it as a daemon (LaunchDaemon) launched by ‘launchd’. ![]() The easiest way ever would be to fire the command $ sudo port install ntopīut as always happens the easiest way is not the best way, in facts the MacPort version of ntop is 3.3, quite old respect the current stable version 4.0.3.Īlso, the installation of ntop through the port tool doesn’t install and configure it as a service but only as a tool to be run occasionally. In this post I will describe an as-easy-as-possible installation procedure to install ntop in you Mac OS X Server Snow Leopard (I didn’t test this on previous version, but as far as MacPorts is available for older version it shouldn’t be an issue to follow the same steps) This is not all, there are amazing information you can have from this ‘small’ Italian tool… You can then take the proper action to ditch the cause □ When the network is stuck, you can know why, and you can know it immediately. “ntop is a network probe that shows the network usage”, this is the brief description of ntop extracted from the official ‘overview’ page of the reason why I like ntop is that it gives us a immediate projection of what is happening in our network NOW! with graphical and table representations of the current, recent and past network statistics. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |