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'.