How to install bmon on Ubuntu 16.04
To install bmon on Ubuntu 16.04
Bandwidth leakage is a notorious problem that is really very hard to monitor and it results in a slow response by applications running over the network. So carefully monitor bandwidth spikes to avoid the unnecessary leakage. You can do this task with the help of bmon, a bandwidth monitoring tool which is used to monitor and debug networking related issues. It captures real-time bandwidth usage and supports various input methods for different architectures.
It features various output methods like HTML output, ASCII output, graph, interactive curses user interface and a programmable text output for scripting. It is really so simple to install bmon and this article cover the method to install bmon on Ubuntu 16.04.
Installing bmon
Before you begin with the process, make sure you update your system by making use of the following command.
root@localhost:~# apt-get update
Hit:1 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:2 http://in.archive.ubuntu.com/ubuntu xenial InRelease
.
.
Hit:4 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease
Reading package lists... Done
After that, you shall proceed with the installation of bmon in the system by executing the following command.
root@localhost:~# apt-get install bmon
Reading package lists... Done
.
.
Setting up bmon (1:3.8-2build1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Once it is installed you shall start the bmon tool by running the following command.
root@localhost:~# bmon
To load graphics, hit g, i and d.
In the Part-1 : Information on the available interfaces, received & transferred bytes is displayed.
In the Part -2 : Information on the same output above with graphical statistics is displayed
In the Part -3 : Information on the received & transferred bytes is displayed
In the Part -4 : Additional information is displayed.
And then, navigate to Quick Reference page by hitting ? button for easy to use of bmon.
You can display specific interface usage by using the following command.
root@localhost:~# bmon -p ens33
git clone https://github.com/tgraf/bmon.git /> cd bmon
yum install make libconfuse-devel libnl3-devel libnl-route3-devel ncurses-devel
./autogen.sh
./configure
make
make install
bmon
1- Start by creating new contact definitions for your client, for example: contact_name user1.
2- Then create contact groups or you can add the new contact for you existing group, depending on the checks that you want to permit.
3- Closely use the new Contact Group with customers email and your main admin. Note you can either use existing Host Groups or create new HostGroups if you choose to.
4- Finally, add htaccess user to your htpasswd file (htpasswd.users), it important that the username matches the name on your Contact(user1).