[mrtg] mrtg, snmp and 2nd host

Mario Ohnewald mario.ohnewald at gmx.de
Sun Nov 24 03:56:09 MET 2002


Hi!
I have the following config:

WorkDir: /tmp
IconDir: /mrtg/icon
Options[^]: growright
XSize[_]: 350
YSize[_]: 80
Colours[_]: LIGHT BLUE#7aafff,BLUE#1000ff,DARK
BLUE#000066,VIOLET#ff00ff,GREEN#00ff00
LoadMIBs: /usr/local/share/snmp/mibs/UCD-SNMP-MIB.txt,
/usr/local/share/snmp/mibs/HOST-RESOURCES-MIB.txt
Refresh: 300
Interval: 5

# Active CPU usage
# ------------------
Target[cpusum]:ssCpuRawUser.0&ssCpuRawUser.0:public at localhost +
ssCpuRawSystem.0&ssCpuRawSystem.0:public at localhost +
ssCpuRawNice.0&ssCpuRawNice.0:public at localhost
RouterUptime[cpusum]: public at localhost
MaxBytes[cpusum]: 100
Title[cpusum]: CPU LOAD
PageTop[cpusum]: <H1>Active CPU Load %</H1>
Unscaled[cpusum]: ymwd
ShortLegend[cpusum]: %
YLegend[cpusum]: CPU Utilization
Legend1[cpusum]: Active CPU in % (Load)
Legend2[cpusum]:
Legend3[cpusum]:
Legend4[cpusum]:
LegendI[cpusum]: Active
LegendO[cpusum]:
Options[cpusum]: growright,nopercent


how can i add a 2nd host to this graph, so that i get a 2nd line for the 2nd
PC.
I tried changing the target to:
Target[cpusum]:ssCpuRawUser.0&ssCpuRawUser.0:public at localhost +
ssCpuRawSystem.0&ssCpuRawSystem.0:public at localhost + ssCpuRawNice.0 &
ssCpuRawUser.0&ssCpuRawUser.0:public at ip +
ssCpuRawSystem.0&ssCpuRawSystem.0:public at ip + ssCpuRawNice.0

But still the same!
What have i done wrong?

Cheers, Mario



--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list