LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 03-16-2011, 03:50 PM   #1
deibertine
Member
 
Registered: Mar 2009
Posts: 222

Rep: Reputation: 30
MRTG - how to add an additional device


I was wondering if there's a way to add additional devices within mrtg?

Right now it is setup to monitor my main fw and wanted to add additional fw's in so I can see utilization etc...

Please kind ly advise mates.

Cheers,
DB
 
Old 03-17-2011, 12:05 AM   #2
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 100Reputation: 100
cfgmaker.

Have a look at chapter 22 and 23 on linuxhomenetworking.com
 
Old 03-17-2011, 12:23 AM   #3
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,223

Rep: Reputation: 132Reputation: 132
What do you mean by additional interface within MRTG?
The cfgmaker will produces mrtg.cfg for all available interface within a system.
Quote:
/usr/local/mrtg/bin/cfgmaker --global 'WorkDir: /usr/local/mrtg/www' --global 'Options[_]: bits,growright' --output /usr/local/mrtg/cfg/mrtg.cfg public@localhost
 
Old 03-17-2011, 07:03 PM   #4
deibertine
Member
 
Registered: Mar 2009
Posts: 222

Original Poster
Rep: Reputation: 30
I already have my main router/device added - but I want to add more devices and monitor them.
Can multiple devices be in one mrtg monitoring and just make a different file?
i.e. cfgmaker --output=/etc/mrtg/mrtg.cfg/10.29.100.1.mrtg.cfg public@10.29.100.1
 
Old 03-18-2011, 07:22 AM   #5
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,223

Rep: Reputation: 132Reputation: 132
PHP Code:
Target[saf_2]: 2:wvnt@192.168.1.2:161:
SetEnv[saf_2]: MRTG_INT_IP="172.16.11.209" MRTG_INT_DESCR="eth0"
MaxBytes[saf_2]: 125000000
Title
[saf_2]: Traffic Analysis for eth0 -- saf
PageTop
[saf_2]: <h1>Traffic Analysis for eth0 -- saf</h1
Target[saf_2]: 2:wvnt@192.168.1.2:161:
In Target option you can define remote device information as follows, OID, community name & IP
 
Old 03-18-2011, 10:49 AM   #6
deibertine
Member
 
Registered: Mar 2009
Posts: 222

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by kirukan View Post
PHP Code:
Target[saf_2]: 2:wvnt@192.168.1.2:161:
SetEnv[saf_2]: MRTG_INT_IP="172.16.11.209" MRTG_INT_DESCR="eth0"
MaxBytes[saf_2]: 125000000
Title
[saf_2]: Traffic Analysis for eth0 -- saf
PageTop
[saf_2]: <h1>Traffic Analysis for eth0 -- saf</h1
Target[saf_2]: 2:wvnt@192.168.1.2:161:
In Target option you can define remote device information as follows, OID, community name & IP

Sorry I am confused with your post...
 
Old 03-19-2011, 12:25 PM   #7
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,223

Rep: Reputation: 132Reputation: 132
Okey refer the following link
http://www.alliedtelesis.com/media/f...g_qos_mrtg.pdf
 
Old 03-22-2011, 06:04 PM   #8
deibertine
Member
 
Registered: Mar 2009
Posts: 222

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by kirukan View Post
Sorry still did not help me.

I'm trying to figure out if I can add an additional WorkDir so I can have multiple routers in one mrtg page?
 
Old 03-24-2011, 12:04 AM   #9
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 100Reputation: 100
Quote:
Originally Posted by deibertine View Post
I already have my main router/device added - but I want to add more devices and monitor them.
Can multiple devices be in one mrtg monitoring and just make a different file?
i.e. cfgmaker --output=/etc/mrtg/mrtg.cfg/10.29.100.1.mrtg.cfg public@10.29.100.1
Sure, you can. Just generate a different .cfg file with cfgmaker and append it to main config file.

Another way: have a look at routers2.cgi: http://www.steveshipway.org/software/
 
  


Reply

Tags
cisco, mrtg, snmp


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How do I add an additional iptable rule to this set? szboardstretcher Linux - Networking 1 03-04-2011 12:51 PM
[SOLVED] How to add additional users to Slackware? Asinine Linux - Newbie 5 09-08-2009 04:29 PM
Add additional checking edhan Linux - Newbie 9 06-11-2005 10:02 PM
How to add additional hard disc after installation osward Linux - Newbie 10 03-28-2004 06:01 PM
Add Additional Hard Drives rawdave Linux - Newbie 3 03-17-2004 09:47 AM


All times are GMT -5. The time now is 07:09 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration