Translate

Showing posts with label Linux Installation Guide. Show all posts
Showing posts with label Linux Installation Guide. Show all posts

Wednesday, May 25, 2022

How to configure the MRTG to Poll multiple devices in Linux Operating System ?

 Getting MRTG (Multi Router Traffic Grapher) to Poll multiple network devices.


MRTG configuration in Linux Environment

The Fedora Core MRTG installation process create a CORN file named /etc/corn.d/mrtg . This file tells the corn daemon to run MRTG using /etc/mrtg/mrtg.cfg file every 5 minutes to poll your network devices. You can configure MRTG to poll multiple devices, each with a separate configuration file.

1. Create a new configuration file using the steps from the previous section, choose a file name that is not mrtg.cfg

2. Add a new MRTG lene in / etc/corn.d/mrtg for each new configuration file you create.

0-59/5 **** root env LANG=C /usr/bin/mrtg  /etc/mrtg/mrtg.cfg

0-59/5 **** root env LANG=C /usr/bin/mrtg /etc/mrtg/dervice1.cfg

0-59/5 **** root env LANG=C /usr/bin/mrtg /etc/mrtg/device2.cfg

3.Run the indexmaker command, and include all of your /etc/mrtg configuration files.

4. Other versions of Linux keep their MRTG corn entries inside /etc/corntab file. Edit this file using the same syntex.


Now , restart the corn demon as 

root # service cornd restart.



Tuesday, April 26, 2022

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.










Saturday, April 23, 2022

HDSL Modem Connection & Configuration Details with Diagram

 High Bit Rate Digital Subscriber Line or HDSL Telecommunications Technology is used to transfer data over Private Copper Network or E1 digital Subscriber Line. The Download Speed of the HDSL line is 1.54 Mbps and the Upload speed is is 1.54 Mbps.

HDSL Router Connection diagram
HDSL One Pair Modem Connection Diagram

Thursday, October 26, 2017

Step by Step Easy Guide to Install Debian Linux

Step by Step Easy Guide to Install Debian Linux

1. Back up any existing data or documents on the hard disk where you plan to install.

2. Gather information about your computer and any needed documentation, before starting the installation.

3. Locate and/or download the installer software and any specialized driver or firmware files your machine requires.

4. Set up boot media such as CDs/DVDs/USB sticks or provide a network boot infrastructure fromwhich the installer can be booted.

5. Boot the installation system.

6. Select the installation language.

7. Activate the ethernet network connection, if available.

8. If necessary, resize existing partitions on your target harddisk to make space for the installation.

9. Create and mount the partitions on which Debian will be installed.

10. Watch the automatic download/install/setup of the base system.

11. Install a boot loader which can start up Debian GNU/Linux and/or your existing system.

12. Load the newly installed system for the first time.


Memory and Disk Space Requirements for Debian Linux installation

Memory and Disk Space Requirements for Debian Linux installation

You must have at least 80MB of memory and 580MB of hard disk space to perform a normal installation.
Note that these are fairly minimal numbers.