Hallo,
ich würde gerne mit MRTG meinen CPU auslesen, was alle 4 Kerne am Server machen. Ich bin bislang schon sehr weit gekommen, komm aber leider nicht mehr weiter, da ich nicht weiß, wie ich die anderen CPU-Kerne einbinden kann.
Hat da jemand eine Idee?
So sieht es aktuell aus
Hier ist der aktuelle Code:
ich würde gerne mit MRTG meinen CPU auslesen, was alle 4 Kerne am Server machen. Ich bin bislang schon sehr weit gekommen, komm aber leider nicht mehr weiter, da ich nicht weiß, wie ich die anderen CPU-Kerne einbinden kann.
Hat da jemand eine Idee?
So sieht es aktuell aus
Hier ist der aktuelle Code:
Code:
### CPU Load
LoadMIBs: /usr/share/mibs/netsnmp/UCD-SNMP-MIB
Target[localhost.cpu]:ssCpuRawUser.0&ssCpuRawUser.0:[email protected]+ ssCpuRawSystem.0&ssCpuRawSystem.0:[email protected]+ ssCpuRawNice.0&ssCpuRawNice.0:[email protected]
MaxBytes[localhost.cpu]: 100
Title[localhost.cpu]: CPU Load
PageTop[localhost.cpu]: <H1>Active CPU Load %</H1>
Unscaled[localhost.cpu]: ymwd
ShortLegend[localhost.cpu]: %
YLegend[localhost.cpu]: CPU Utilization
Legend1[localhost.cpu]: Active CPU in % (Load)
Legend2[localhost.cpu]:
Legend3[localhost.cpu]:
Legend4[localhost.cpu]:
LegendI[localhost.cpu]: Active
LegendO[localhost.cpu]:
Options[localhost.cpu]: growright,nopercent,nobanner
Last edited by a moderator: