Well, it’s quite easy to implement MRTG on Allot Bandwidth Manager. It can be done on the ehternet (typical), or on the pipes or on the virtual channel. First download the MIBs from Allot GUI. Copy NE-STAT-MIB.txt, PIPE-MIB.txt, QID-PIPE-MIB.txt, QID-VC-MIB.txt, VC-MIB.txt, COMPANY-MIB.txt to /etc/mrtg folder (hope you are using linux).

Create a file, say mrtg.allot under /etc/mrtg folder. Write the follwoing lines:

Options[_]: bits,growright
LoadMIBs: /etc/mrtg/COMPANY-MIB.txt,/etc/mrtg/NE-STAT-MIB.txt,/etc/mrtg/QID-PIPE-MIB.txt,/etc/mrtg/QID-VC-MIB.txt
Target[pipe_name]: .
Title[pipe_name]: Traffic Analysis of PipeName
MaxBytes[pipe_name]: 100000

QoS device Traffic Analysis

n PipeName

First three lines are quite easy. Just difine the option, MIB files location and the working directory. Fourth line is very interesting and important. As we are doing the MRTG on pipes of the Allot, represents the PipeByteCountIn and represents PipeByteCountOut. Last two degit represents the pipe name. Here 5.0 is my pipe name on which I am doing my MRTG.

So how do I know the pipe name? 🙂 . Login to the Allot in text mode (ssh or telnet). Run the following command: snmpwalk -c -v 1  PIPE-MIB::pipeStatTable|more

This will list the pipe name and their no. For example:

enterprises.allotCom.neStatistics.pipeStatMIB.pipeStat.pipeStatTable.pipeEntry.pipeName.1.0 = WordPress

Here WordPress pipe has the pipe no 1.0

Next parts are easy. Run the mrtg command and the indexmaker. It’s DONE!!