Thursday, 21 June 2007

Install & configure the ipfm & MRTG

IPMF INSTALL
============
http://www.generationip.com/docs/0001/network_IPFM-IP-Flow-METER-Documentation.html
================================================================
./configure --exec-prefix=/usr --prefix= --sysconfdir=/usr/local/etc/ --mandir=/usr/local/man
make
make install
===============
/usr/sbin/ipfm -c /usr/local/ipfm/ipfm.conf -p /usr/local/ipfm/pid/ipfm.pid
cd ..
cp ipacc /etc/init.d/
cd /etc/init.d
chkconfig --level 235 ipacc on
/usr/local/sbin/ipfm -c /usr/local/etc/ipfm.conf -p /usr/local/var/run/ipfm.pid
===================
*****copy the folder etc to linux etc







=========================================
MRTG INSTALL RPM or TAR

If you do not have zlib installed:
wget http://www.gzip.org/zlib/zlib-1.1.4.tar.gz
gunzip -c zlib-*.tar.gz tar xf -
rm zlib-*.tar.gz
mv zlib-* zlib
cd zlib
./configure
make
cd ..


======
If you don't have libpng installed
wget http://public.planetmirror.com/pub/sourceforge/l/li/libpng/libpng-1.0.15.tar.gz
gunzip -c libpng-*.tar.gz tar xf -
rm libpng-*.tar.gz
mv libpng-* libpng
cd libpng
make -f scripts/makefile.std CC=gcc ZLIBLIB=../zlib ZLIBINC=../zlib
rm *.so.* *.so
cd ..


=============
For versions up to 1.8.4, try:
wget http://www.boutell.com/gd/http/gd-1.8.4.tar.gz
gunzip -c gd-*.tar.gz tar xf -
rm gd-*.tar.gz
mv gd-* gd
cd gd
perl -i~ -p -e s/gd_jpeg.o//g Makefile
make INCLUDEDIRS="-I. -I../zlib -I../libpng" LIBDIRS="-L../zlib -L. -L../libpng" LIBS="-lgd -lpng -lz -lm" CFLAGS="-O -DHAVE_LIBPNG"
cd ..For version starting around 2.0.11, try:

wget http://www.boutell.com/gd/http/gd-2.0.11.tar.gz
gunzip -c gd-2.0.11.tar.gz tar xf -
mv gd-2.0.11 gd
cd gd
env CPPFLAGS="-I../zlib -I../libpng" LDFLAGS="-L../zlib -L../libpng" ./configure --disable-shared --without-freetype --without-jpeg
make
cp .libs/* .


============= MRTG
cd /usr/local/src
gunzip -c mrtg-2.12.1.tar.gz tar xvf -
cd mrtg-2.12.1If all the libraries have been preinstalled on your system you can configure mrtg by doing a simple:
./configure --prefix=/usr/local/mrtg-2Otherwise you may have to give some hints on where to find the various libraries required to compile mrtg:
./configure --prefix=/usr/local/src/mrtg-2 --with-gd=/usr/local/src/mrtg/gd --with-zlib=/usr/local/src/mrtg/zlib --with-png=/usr/local/src/mrtg/libpng
make
make install


================Confiure
cfgmaker --global 'WorkDir: /home/httpd/mrtg' \
--global 'Options[_]: bits,growright' \
--output /home/mrtg/cfg/mrtg.cfg \
community@router.abc.xyz


=============== RunAsDaemon:
Yesto your mrtg configuration file and then creating a startup script in your system startup sequence. Unfortunately, adding startup scripts differs widely amongst different unix systems. The modern ones normally have a directory called /etc/init.d or /etc/rc.d/init.d where you put scripts which starts the process you want to run when the system boots. Further you must create a symbolic link in /etc/rc3.d or /etc/rc.d/rc?.d called S65mrtg (this is just a sample name ... it is just important that it starts with S followed by a two digit number). If you are not sure about this, make sure you consult the documentation of your system to make sure you get this right.


./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-gd=/root/gd --with-libpng=/root/libpng --with-zlib=/root/zlib --with-jpeg=/root/jpeg-6b/



Configure the ipfm

cd /usr/local/src/mrtg/
cd etc/ipfm/
vi ipfm.conf
cp ipfm.conf /usr/local/etc/ipfm.conf
cd /usr/local/etc/
vi ipfm.conf
mkdir -p /var/log/ipfm/subnet/
touch /var/log/ipfm/subnet/localan.log
chmod 777 /var/log/ipfm/subnet/localan.log
vi /var/log/ipfm/subnet/localan.log
cd /usr/local/sre/mrtg/etc/
cd ..
cp /usr/sbin/ipfm /usr/local/sbin/ipfm
cp ipacc /etc/init.d/
cd /etc/init.d/
chmod 777 /etc/init.d/ipacc
chkconfig --level 235 ipacc on
service ipacc start
cd /
cp -r mrtg /etc/
cd /etc/mrtg/
mkdir -p /var/www/html/mrtg/
vi 10.15.cfg
ls
vi 10.15.cfg
vi ipfm_acc_eth0
ls
./ipfm_acc_eth0
chmod 777 *
./ipfm_acc_eth0
vi all-ip-eth0
/usr/bin/mrtg /etc/mrtg/10.15.cfg;
locate mrtg
/usr/local/src/mrtg-2/bin/mrtg /etc/mrtg/10.15.cfg
/usr/local/src/mrtg-2/bin/mrtg /etc/mrtg/10.15.cfg
/usr/local/src/mrtg-2/bin/mrtg /etc/mrtg/10.15.cfg
ls
/usr/local/src/mrtg-2/bin/mrtg /etc/mrtg/10.15.cfg
pgrep httpd
service httpd start
/usr/local/src/mrtg-2/bin/mrtg /etc/mrtg/10.15.cfg
/usr/local/src/mrtg-2/bin/mrtg /etc/mrtg/10.15.cfg
/usr/local/src/mrtg-2/bin/mrtg /etc/mrtg/10.15.cfg
/usr/local/src/mrtg-2/bin/mrtg /etc/mrtg/10.15.cfg
ls
./ipfm_acc_eth0
ping 192.168.10.80 -t l 6550
ping 192.168.10.80 -t -l 6550
ping 192.168.10.80 -t -s 6550
ping 192.168.10.80 -s 6550
ping 192.168.10.80 -s 65500
./ipfm_acc_eth0
./ipfm_acc_eth0
./ipfm_acc_eth0
/usr/local/src/mrtg-2/bin/mrtg /etc/mrtg/10.15.cfg
/usr/local/src/mrtg-2/bin/mrtg /etc/mrtg/10.15.cfg
ls
vi all-ip-eth0
./ipfm_acc_eth0
rubelsbd@yahoo.com

5 comments:

Anonymous said...

Can anyone recommend the top performing Network Management tool for a small IT service company like mine? Does anyone use Kaseya.com or GFI.com? How do they compare to these guys I found recently: N-able N-central security management
? What is your best take in cost vs performance among those three? I need a good advice please... Thanks in advance!

Anonymous said...

[u][b]Xrumer[/b][/u]

[b]Xrumer SEO Professionals

As Xrumer experts, we secure been using [url=http://www.xrumer-seo.com]Xrumer[/url] for the benefit of a sustained time conditions and grasp how to harness the massive power of Xrumer and build it into a Cash machine.

We also purvey the cheapest prices on the market. Assorted competitors devise charge 2x or consistent 3x and a lot of the opportunity 5x what we pervade you. But we have faith in providing enormous help at a small affordable rate. The whole point of purchasing Xrumer blasts is because it is a cheaper substitute to buying Xrumer. So we train to support that bit in recollection and yield you with the cheapest standing possible.

Not solitary do we be suffering with the greatest prices but our turnaround occasion for your Xrumer posting is super fast. We drive have your posting done before you discern it.

We also cater you with a sated log of loaded posts on contrary forums. So that you can notice over the extent of yourself the power of Xrumer and how we get harnessed it to help your site.[/b]


[b]Search Engine Optimization

Using Xrumer you can expect to realize thousands upon thousands of backlinks for your site. Myriad of the forums that your Install you settle upon be posted on have high PageRank. Having your association on these sites can categorically help build up some crown dignity recoil from links and uncommonly riding-boot your Alexa Rating and Google PageRank rating owing to the roof.

This is making your site more and more popular. And with this increase in popularity as superbly as PageRank you can think to appreciate your site definitely rank gamy in those Search Engine Results.
Above

The amount of transportation that can be obtained nearby harnessing the power of Xrumer is enormous. You are publishing your situation to tens of thousands of forums. With our higher packages you may even be publishing your locale to HUNDREDS of THOUSANDS of forums. Imagine 1 collection on a all the rage forum will usually cotton on to a leave 1000 or so views, with announce ' 100 of those people visiting your site. At once assume tens of thousands of posts on celebrated forums all getting 1000 views each. Your shipping ordain go through the roof.

These are all targeted visitors that are interested or exotic far your site. Assume how assorted sales or leads you can fulfil with this titanic gang of targeted visitors. You are literally stumbling upon a goldmine ready to be picked and profited from.

Keep in mind, Transport is Money.
[/b]

BECOME ENTHUSIASTIC ABOUT YOUR TWOPENNY DEFAME TODAY:


http://www.xrumer-seo.com

Anonymous said...

[B]NZBsRus.com[/B]
Lose Laggin Downloads With NZB Downloads You Can Quickly Find HD Movies, Console Games, MP3 Albums, Software and Download Them at Rapid Speeds

[URL=http://www.nzbsrus.com][B]Usenet Search[/B][/URL]

Anonymous said...

Overview Our Risqu‚ Prices at www.Pharmashack.com, The Esteemed [b][url=http://www.pharmashack.com]Online Chemist's purchase [/url][/b] To [url=http://www.pharmashack.com]Buy Viagra[/url] Online ! You Can also Espy Account Deals When You [url=http://www.pharmashack.com/en/item/cialis.html]Buy Cialis[/url] and When You You [url=http://www.pharmashack.com/en/item/levitra.html]Buy Levitra[/url] Online. We Also Cater for a Replete Generic [url=http://www.pharmashack.com/en/item/phentermine.html]Phentermine[/url] In compensation Your Nutriment ! We Vend Visualize [url=http://www.pharmashack.com/en/item/viagra.html]Viagra[/url] and Also [url=http://www.pharmashack.com/en/item/generic_viagra.html]Generic Viagra[/url] !

Anonymous said...

Predilection casinos? corroborate this advanced [url=http://www.realcazinoz.com]casino[/url] commander and wing it de-emphasize online casino games like slots, blackjack, roulette, baccarat and more at www.realcazinoz.com .
you can also into our additional [url=http://freecasinogames2010.webs.com]casino[/url] orientate at http://freecasinogames2010.webs.com and increase bona fide genially irrelevant !
another blowhard [url=http://www.ttittancasino.com]casino spiele[/url] put is www.ttittancasino.com , because german gamblers, detract a perplex with in free-flowing online casino bonus.