[mrtg] Re: Problem with graphs not being drawn
Alex van den Bogaerdt
alex at ergens.op.het.net
Thu Jan 23 14:41:14 MET 2003
On Thu, Jan 23, 2003 at 12:56:20PM +0000, Thomas Chiverton wrote:
>
> I am trying to graph virtual and physical memory, and have used MRTG a fair
> bit, so can't understand what is wrong. The problem is that the graph (and
> HTML) claim the values are always 0.
> And I have verified the OID's with snmpwalk:
> # snmpwalk waspapp.locavista.com -c public
> .1.3.6.1.4.1.674.10892.1.400.20.1.6.1
> enterprises.674.10892.1.400.20.1.6.1 = 574164
> # snmpwalk waspapp.locavista.com -c public
> .1.3.6.1.4.1.674.10892.1.400.20.1.8.1
> enterprises.674.10892.1.400.20.1.8.1 = 1336
These numbers should be visible in the first line of the log file when
MRTG queried the target.
First step from now should be to verify that these numbers are collected.
Depending on the result of this first step you can continue debugging.
For instance:
- The numbers are visible. In that case find out why they aren't being
moved to the rest of the log (MaxBytes is a usual suspect).
- The numbers aren't visible. In that case find out why a manual snmp
get does work while MRTG doesn't.
Let MRTG print some debugging information at strategic places such as
right after the snmp get call. Print the rateup command with parameters
and manually check the numbers on that line. And so on.
HTH
--
Much of what looks like rudeness in hacker circles is not intended to give
offence. Rather, it's the product of the direct, cut-through-the-bullshit
communications style that is natural to people who are more concerned about
solving problems than making others feel warm and fuzzy.
http://www.tuxedo.org/~esr/faqs/smart-questions.html
--
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