[mrtg] trouble graphing cpu load
Jason Steenblik
jsteenblik at c.kiracom.com
Thu Mar 9 18:55:51 MET 2000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I am trying to monitor cpu usage on a few machines running ucd-snmpd and
I am having some problems actually getting data reported on graphs. I
can get the data using snmpget so I believe the OID is right. I have
had no trouble getting mrtg to graph the default traffic values but when
ever I try to graph a different value I get blank graphs. I ran mrtg in
debug mode and it appears It is getting the specified data, but I don't
know what happens after that. I have included the output along with an
entry from my config file below. I'm sure it is something stupid I have
overlooked so please bear with me. Any help would be appreciated.
-Jason Steenblik
Target[machine.cpu]:
1.3.6.1.4.1.2021.10.1.5.2&1.3.6.1.4.1.2021.10.1.5.2:public at 1.1.1.1
RouterUptime[machine.cpu]: public at 1.1.1.1
MaxBytes[machine.cpu]: 500
Unscaled[machine.cpu]: ymwd
ShortLegend[machine.cpu]: %
XSize[machine.cpu]: 380
YSize[machine.cpu]: 100
YLegend[machine.cpu]: CPU Util. in %
Legend1[machine.cpu]: CPU Utilization in % (Load)
Legend2[machine.cpu]: CPU Utilization in % (Load)
Legend3[machine.cpu]:
Legend4[machine.cpu]:
LegendI[machine.cpu]:
LegendO[machine.cpu]: Usage
Title[machine.cpu]: MACHINE: CPU
PageTop[machine.cpu]: <H1>CPU Analysis for machine
</H1>
<TABLE>
<TR><TD>System:</TD><TD>machine</TD></TR>
<TR><TD>Maintainer:</TD><TD>Root <root at localhost></TD></TR>
<TR><TD>Interface:</TD><TD>eth1 (3)</TD></TR>
<TR><TD>IP:</TD><TD>1.1.1.1</TD></TR>
</TABLE>
getting SNMP variables for target:
1.3.6.1.4.1.2021.10.1.5.2&1.3.6.1.4.1.2021.10.1.5.2:public at 1.1.1.1
snmpget: 1.3.6.1.4.1.2021.10.1.5.2 1.3.6.1.4.1.2021.10.1.5.2 1.1.1.1
public
1.3.6.1.4.1.2021.10.1.5.2&1.3.6.1.4.1.2021.10.1.5.2:public at 1.1.1.1 -->
in: 5 out: 5 name: MACHINE
getting SNMP variables for target:
1.3.6.1.4.1.2021.4.3.0&1.3.6.1.4.1.2021.4.3.0:public at 1.1.1.1
snmpget: 1.3.6.1.4.1.2021.4.3.0 1.3.6.1.4.1.2021.4.3.0 1.1.1.1 public
1.3.6.1.4.1.2021.4.3.0&1.3.6.1.4.1.2021.4.3.0:public at 1.1.1.1 --> in:
128484 out: 128484 name: MACHINE
getcurrent: rcfg target router machine.cpu =
$$target{'1.3.6.1.4.1.2021.10.1.5.2&1.3.6.1.4.1.2021.10.1.5.2:public at 1.1.1.1'}{$mode}
inlast 5 outlast 5 uptime 0:34:42 name MACHINE time 952557816
writegraphics: inlast 5 outlast 5
EXEC: /usr/local/mrtg/2.8.11//rateup /home/apache/htdocs/mrtg//
machine.cpu 952557816 -Z u 5 5
500 c #00cc00 #0000ff #006600 #ff00ff l [CPU Util. in %] k 1000 i
machine.cpu-day.gif 500 500 380 100 1 1 1 300 0 4 1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.0 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE4x+K/wcUe19ppM34RAr/7AJ0RURd+OEbTJUrsc6lrNCC7QY2tdACeKjr9
MQVTtTtNpvuXOVBuDUyiDnQ=
=XZCl
-----END PGP SIGNATURE-----
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:mrtg-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/mrtg
More information about the mrtg
mailing list