* Monitoring CPU with MRTG
@ 2004-05-11 14:18 Marco Dubini
2004-05-12 6:20 ` Marco Dubini
0 siblings, 1 reply; 2+ messages in thread
From: Marco Dubini @ 2004-05-11 14:18 UTC (permalink / raw)
Hello everybody
i tried to monitor my CPU of a DS 10 with MRTG.
I have wirtten the follow config file:
Workdir: /home/mrtg/html/proxy2
Options[_]: growright
LoadMIBs: /usr/share/snmp/mibs/UCD-SNMP-MIB.txt,
/usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt
##################################################
####################
Target[cpu]: 1.3.6.1.4.1.2021.10.1.5.1&.1.3.6.1.4.1.2021.10.1.5.1:
public@proxy2
MaxBytes[cpu]: 10
AbsMax[cpu]: 10
Options[cpu]: gauge,noinfo,growright
Unscaled[cpu]: dwmy
Ylegend[cpu]: persents
title[cpu]: System load
LegendI[cpu]:
LegendO[cpu]: System load
PageTop[cpu]: <h1>LOAD SERVER </h1>
##################################################
####################
unfortunately SNMP gives me this answer:
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 2 (OID: 1.3.6.1.4.1.2021.10.1.5.1)
SNMPv1_Session (remote host: "proxy2" [192.168.100.25].161)
community: "public"
request ID: 32047091
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 450
SNMPGET Problem for 1.3.6.1.4.1.2021.10.1.5.1
.1.3.6.1.4.1.2021.10.1.5.1 sysUptime sysName on public@proxy2
at /usr/local/mrtg-2/bin/mrtg line 1491
WARNING: Expected a number but got ''
WARNING: Expected a number but got ''
SWAP and RAM are working.
Has someone got a solution?
thanks
Marco Dubini
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-05-12 6:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-11 14:18 Monitoring CPU with MRTG Marco Dubini
2004-05-12 6:20 ` Marco Dubini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox