Skip to main content

Free software for Monitoring Network Performance - MRTG [Multi Router Traffic Grapher]

 MRTG [Multi Router Traffic Grapher]  is a Free Software for Monitoring Network Performance in Graphical form. Here we will discuss the installation process of this free software in Linux distribution.

For Linux System ,we need to install the following software

  1. MRTG [latest version]
  2. SNMP
  3. Apache Web Server 
MRTG diagram
MRTG


How to Configure the MRTG ?

When MRTG's rpm is installed, it creates a directory called /etc/mrtg.
To create a replacement, default /etc/mrtg/mrtg.cfg configuration file for server , follow these steps,

1.Use MRTG's cfgmaker command to create a configuration file named mrtg.cfg for the server. Using a read only community string of craz33guy. Place all data files in the directory /var/www/mrtg.

root#cfgmaker --output=/etc/mrtg/mrtg.cfg
--global"varkdir: /var/www/mrtg" -ifref=ip
--blobal 'option[.] : growright, bits
crez33guy@localhost

NOTE :- -if ref=ip cfgmaker command option instruct MRTG to use the interface's IP address as the title for each graph.

2. Edit /etc/mrtg/mrtg.cfg, and remove the section related to interfaces you don't need to monitor. A certain candidate would be the virtual lookup interface LO: (127.0.0.1)

3. Run MRTG using /etc/mrtg/mrtg.cfg as your argument 3 times. You will get an error for 2 times, as MRTG tries to move old data files, and naturally the 1st time when it runs the MRTG , it has no data to move.

root# env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg

-> give this command 3 times

4. Use MRTG's indexmaker command to create a Web index page using your new mrtg.cfg file as guide.

root# indexmaker --output=var/www/mrtg/index.html   /etc/mrtg/mrtg.cfg

5. MRTG is run every 5 minute by default, and the file that governs this is /etc/corn.d/mrtg. To work correctly edit this file, replacing all occurrence of /usr/bin/mrtg with env LANG = C /usr/bin/mrtg.










Comments

Popular posts from this blog

Do's and Don'ts of Structured LAN Cabling Network

 What is Structured Cabling & Why it is used ? "Standard " is to define a method of connecting all types of vendors voice & data equipment, over a cabling system that uses a common media, common connectors and a common topology. This means that a building can be cabled for all its communications needs without the planner or architecture even having to know what type of equipment will be used. There are three main cabling standards. EIA/TIA 568 A ---> American standard and was the first to be published on 1991. ISO/IEC 11801 ---> International Standard. CENELEC EN 50173 ---> European Standard (British version is BSEN 50173) . TERMS: Cable Tie Patch Panel PVC pipe of Casing IO Box RJ45 connectors Cat 5e/6/7 cable Wall mount Box.

How to create user DSN with ODBC driver in Windows System for PostgresSQL Database

 How to create user DSN with ODBC driver in Windows System : Step by Step Tutorial Guide : Step 1: Go to Windows start button -->Click Settings --->Click on Control Panel Step 2: In control panel go to the Administrative Tools Step 3: Double Click on the Data Source(ODBC) icon. A small popup screen with lots of tabs will be appear on the screen. Step 4: Click on the User DSN tab. Step 5: Now click on the ADD button. Now you can see lots of ODBC drivers in the List. Select the appropriate Driver form the List, for example here we chose the PostgresSQL ODBC driver. Step 6: Click on the Finish button. Step 7: Now give the data source name in the appropriate box. Similarly give the database name, ip address of the database server (may be localhost or other private IP address ),then Give the User Name and Password of the database in the appropriate box. Step 8: Press the TEST button to check the connection, whether you put all the parameters correctly or not. If everything is OK t...

Password Recovery ASA 5520

Password Recovery Process for Cisco ASA 5520. Reboot Power When prompted , press Esc to interrupt the boot process and enter ROM monitor mode.You should see a Rommon Prompt (rommon#0> ). rommon#0>confreg (press enter). current configure register should be default of 0x01. Device will ask if you want to make changes to the configuration register. Answer : NO You must change the configuration Register to 0x41. rommon#1>confreg 0x41 Reset the device. rommon#2> boot Now after booting you will see a general user mode like. ciscoasa> ciscoasa> enable password ciscoasa# ciscoasa#copy startup-config running-config ciscoasa#config t ciscoasa(config)#enable password Reset the configuration to default value 0x01. ciscoasa(config)#config-register 0x01 View the configuration register setup ciscoasa#show run startup-config reload ciscoasa#reload System config has been modified,save [Yes][No] press Yes.