Contents. You have a router, you want to know what it does all day long?
Then MRTG is for you. It will monitor SNMP network devices and draw pretty pictures showing how much traffic has passed through each interface. Notes This documentation is accurate as of April 6, 2012.
Install and Configure MRTG on Ubuntu 16.04 Server. Posted on September 19, 2016 by ruchi 3 Comments. Sudo apt-get install apache2 snmpd snmp. Now you need to edit the /etc/snmp/snmpd.conf file. Sudo vi /etc/snmp/snmpd.conf. Uncomment the following line. #rocommunity public localhost.
These steps have been performed on Ubuntu 10.04.4 Server systems and confirmed to work as described here. Prerequisites It's generally a good idea to start with a healthy, fully functioning, up-to-date system. This means that some combination of sudo apt-get update, sudo apt-get upgrade, sudo apt-get dist-upgrade, and sudo apt-get autoremove should have been recently run. Please understand what the commands do before blindly running them as any system update has the potential to render a system inoperable. Specifically apache and snmpd needs to be installed. Apache is the web server and snmpd is used to poll devices for information that mrtg can use to create graphs. This can be accomplished by running: sudo apt-get install apache2 and sudo apt-get install snmpd Installation To install MRTG, simply run: sudo apt-get install mrtg Configuration MRTG Now that mrtg is installed, we must create a home where web pages related to the program can reside.
Sudo mkdir /var/www/mrtg Backup the original /etc/mrt.cfg file: sudo cp /etc/mrtg.cfg /etc/mrtg.cfg.ORIGINAL Create a configuration file for MRTG: cfgmaker @ /etc/mrtg.cfg Create and index file for the webserver: indexmaker /etc/mrtg.cfg /var/www/mrtg/index.html Reboot your server and wait about 5 minutes before browsing to: Third Section Some sections may just contain a list of links. It is sometimes useful to include a short explanation of what the links are for. For example: 'Ubuntu includes the following Internet applications by default.'
. Lists of links should have bullets. Link text should not be in bold. Each link should be followed by a short explanation of the link.
![Install Prtg On Ubuntu Install Prtg On Ubuntu](/uploads/1/2/5/5/125513002/768675761.jpg)
Explanations of links should be written as full sentences. See Also A see also section can be used to point users towards other trusted Ubuntu resources. For example, if a page exists in the official documentation on, you can link to such a page. This section is optional. Explanation of link. Explanation of link.
![14.04 14.04](/uploads/1/2/5/5/125513002/188774601.jpg)
Explanation of link. External Links An external links section can be used to point users towards general information about the subject matter of the page, such as a entry or project homepage. This section is optional. Tobi Oetiker's MRTG - The Multi Router Traffic Grapher.
This article is focusing installing and configure MRTG with CPU,Memory and Disk Usage Graphs examples for Debian Ubuntu and Kubuntu Users and may be work for some debian based distributions. Explanation of link.
Explanation of link.
Installing on Debian / Ubuntu Description Download Stable for Debian-based Linux Stable for Debian-based Linux Stable for Debian-based Linux Read for tips and guidance on updating an existing installation. Install Stable wget sudo apt-get install -y adduser libfontconfig sudo dpkg -i grafanaamd64.deb Example: wget sudo apt-get install -y adduser libfontconfig sudo dpkg -i grafana5.4.2amd64.deb APT Repository Create a file /etc/apt/sources.list.d/grafana.list and add the following to it. Deb stable main There is a separate repository if you want beta releases. Deb beta main Use the above line even if you are on Ubuntu or another Debian version. Then add our gpg key. This allows you to install signed packages. Curl sudo apt-key add - Update your Apt repositories and install Grafana sudo apt-get update sudo apt-get install grafana On some older versions of Ubuntu and Debian you may need to install the apt-transport-https package which is needed to fetch packages over HTTPS.