LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices

Reply
 
Search this Thread
Old 03-17-2010, 06:17 PM   #1
MrUmunhum
Member
 
Registered: May 2006
Location: Mt Umunhum, CA, USA
Distribution: Debian/ Fedora
Posts: 413

Rep: Reputation: 33
[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:
Code:
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@10.1.1.12     +
             ssCpuRawSystem.0&ssCpuRawSystem.0:public@10.1.1.12 +
             ssCpuRawNice.0&ssCpuRawNice.0:public@10.1.1.12

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

Target[10.1.1.12]: ifInOctets.2&ifOutOctets.2:public@10.1.1.12:
SetEnv[10.1.1.12]: MRTG_INT_IP="10.1.1.12" MRTG_INT_DESCR="eth0"
MaxBytes[10.1.1.12]: 1250000
SetEnv[10.1.1.12]: MRTG_INT_IP="10.1.1.12" MRTG_INT_DESCR="eth0"
MaxBytes[10.1.1.12]: 1250000
Suppress[10.1.1.12]: y
Title[10.1.1.12]: Traffic Analysis for eth0 -- Mt_Umunhum_Server
PageTop[10.1.1.12]: <H1>Traffic Analysis for eth0 -- Mt_Umunhum_Server</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>Mt_Umunhum_Server at "Estrada's Mountain"</TD></TR>
 </TABLE>
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 06:47 PM.
 
Old 03-21-2010, 08:59 AM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

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


Reply


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 02:01 PM
MRTG is misbehaving: updates graphs once or twice, then stops. boxfive Linux - Software 2 05-14-2009 12:42 PM
Cannot Open My MRTG Graphs Webpage! hjehmssgm Linux - Server 2 09-01-2007 10:09 AM
Weird Spike On Mrtg Graphs debloxie Linux - Networking 3 06-06-2006 04:38 AM
help with MRTG graphs!! debloxie Linux - Networking 4 10-05-2004 11:13 AM


All times are GMT -5. The time now is 06:46 PM.

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