Welcome to the most active Linux Forum on the web.
Go Back > Forums > Non-*NIX Forums > General
User Name
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!


  Search this Thread
Old 03-17-2010, 07:17 PM   #1
Registered: May 2006
Location: Mt Umunhum, CA, USA, Earth
Distribution: Debian/ Fedora/ Ubuntu/ Raspbian
Posts: 508

Rep: Reputation: 40
[Solved] mrtg- want graphs on single page

Hi group,

Got MRTG and SNMP working on my server but mrtg creates two separate html files. One for CPU and one for Network. Here is my mrtg.conf:
LoadMIBs: /usr/share/snmp/mibs/UCD-SNMP-MIB.txt /usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt /usr/share/snmp/mibs/IF-MIB.txt

RunAsDaemon: Yes
WorkDir: /home/mrtg/workdir
Options[_]: bits,growright

Target[CPU]: ssCpuRawUser.0&ssCpuRawUser.0:public@     +
             ssCpuRawSystem.0&ssCpuRawSystem.0:public@ +

MaxBytes[CPU]: 100
ShortLegend[CPU]: %
Suppress[CPU]: ym
Title[CPU]: CPU load
PageTop[CPU]: <H1>CPU </H1>

Target[]: ifInOctets.2&ifOutOctets.2:public@
SetEnv[]: MRTG_INT_IP="" MRTG_INT_DESCR="eth0"
MaxBytes[]: 1250000
SetEnv[]: MRTG_INT_IP="" MRTG_INT_DESCR="eth0"
MaxBytes[]: 1250000
Suppress[]: y
Title[]: Traffic Analysis for eth0 -- Mt_Umunhum_Server
PageTop[]: <H1>Traffic Analysis for eth0 -- Mt_Umunhum_Server</H1>
   <TR><TD>System:</TD>     <TD>Mt_Umunhum_Server at "Estrada's Mountain"</TD></TR>
Is there a way that I can get both outputs on one web file?? Google has not helped.

Never mind, I found 'indexmaker'.

Last edited by MrUmunhum; 03-17-2010 at 07:47 PM.
Old 03-21-2010, 09:59 AM   #2
Senior Member
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 249Reputation: 249Reputation: 249
Glad you fixed it.


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
Cacti MRTG gives the problem, do not shows the graphs of a new network device. akram Linux - Newbie 1 01-10-2010 03:01 PM
MRTG is misbehaving: updates graphs once or twice, then stops. boxfive Linux - Software 2 05-14-2009 01:42 PM
Cannot Open My MRTG Graphs Webpage! hjehmssgm Linux - Server 2 09-01-2007 11:09 AM
Weird Spike On Mrtg Graphs debloxie Linux - Networking 3 06-06-2006 05:38 AM
help with MRTG graphs!! debloxie Linux - Networking 4 10-05-2004 12:13 PM

All times are GMT -5. The time now is 01:26 PM.

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