[mrtg] Re: One more question..

Mitch Vincent mitch at venux.net
Thu Sep 30 16:34:47 MEST 1999


Heh.. Since you're going to be like that about it..

#3 on http://www.ltinet.net/info/mrtg/noflashmrtg.htm
"Is it possible to log one value on the graph instead of two?
Look in the contrib directory for sample cfg files."

Which I had already read.

[root at dot mrtg-2.8.8]# ls -l contrib
total 162
-rw-r--r--  1 root  wheel   7227 Aug 26 12:25 00INDEX
-rw-r--r--  1 root  wheel   7036 Aug 12 10:14 00INDEX~
drwxr-xr-x  2 root  wheel    512 Aug 26 17:21 14all
drwxr-xr-x  2 root  wheel    512 Jun  7 06:30 GetSNMPLinesUP
drwxr-xr-x  2 root  wheel    512 Jun  7 06:30 PMLines
drwxr-xr-x  2 root  wheel    512 Jun  7 06:30 TCH
drwxr-xr-x  2 root  wheel    512 Jun  7 06:30 ascendget
drwxr-xr-x  2 root  wheel    512 Jun  7 06:30 atmmaker
drwxr-xr-x  2 root  wheel    512 Jun 15 18:06 cfgmaker_ATM
drwxr-xr-x  2 root  wheel    512 Jul 19 13:09 cfgmaker_cisco
drwxr-xr-x  2 root  wheel    512 Jun 14 14:51 ciscoindex
drwxr-xr-x  2 root  wheel    512 Jun  7 06:30 cpumon
drwxr-xr-x  2 root  wheel    512 Jun  7 06:30 diskmon
drwxr-xr-x  2 root  wheel    512 Jun  7 06:30 distrib
drwxr-xr-x  2 root  wheel    512 Jun  7 06:30 forecd
drwxr-xr-x  2 root  wheel    512 Jun  7 06:30 get-active
drwxr-xr-x  2 root  wheel    512 Jun 12 17:06 get-multiserial
drwxr-xr-x  2 root  wheel    512 Jun  7 06:30 ircstats
drwxr-xr-x  2 root  wheel    512 Jun  7 06:30 jm
drwxr-xr-x  2 root  wheel    512 Jun  7 06:30 mrtg-archiver
drwxr-xr-x  2 root  wheel    512 Jun  7 06:30 mrtg-blast
drwxr-xr-x  2 root  wheel    512 Jun  7 06:30 mrtg-dynip
drwxr-xr-x  2 root  wheel    512 Jul 19 18:35 mrtg-ipacc
drwxr-xr-x  2 root  wheel    512 Jun  7 06:30 mrtg-ipget
drwxr-xr-x  2 root  wheel    512 Jun  7 06:30 mrtg-mail
drwxr-xr-x  2 root  wheel    512 Jun  7 06:30 mrtgidx
drwxr-xr-x  2 root  wheel    512 Jun  7 06:30 mrtgindex.cgi
drwxr-xr-x  6 root  wheel    512 Jul 22 19:57 mrtgmk
-rw-r--r--  1 root  wheel  32269 Jul 22 19:56 mrtgmk.tgz
drwxr-xr-x  2 root  wheel    512 Jun 12 17:01 ovmrtg
drwxr-xr-x  2 root  wheel    512 Jun  7 06:30 ping-probe
drwxr-xr-x  2 root  wheel    512 Jun  7 06:30 portmasters
drwxr-xr-x  2 root  wheel    512 Jun  7 06:30 rdlog2
drwxr-xr-x  2 root  wheel    512 Jun  7 06:30 rumb-stat
drwxr-xr-x  2 root  wheel    512 Jul 27 15:25 stat
drwxr-xr-x  4 root  wheel    512 Jun 13 18:01 whodo
drwxr-xr-x  2 root  wheel    512 Jun  7 06:30 xlsummary
[root at dot mrtg-2.8.8]#

I didn't see any example config files there, looked through the most of the
subdirectories, didn't see any reference to what I want to do. Rather than
spend a few hours reading over all the config files that might be there in
the subdirectories I thought I would ask, since the answer is clearly not
evident and even the docs contridict themselves.

Example:

# * You can also explicitly define the OID to query by using the
#   following syntax 'OID_1&OID_2:community at router'
#   The following example will retrieve error input and output
#   octets/sec on interface 1.  MRTG needs to graph two values, so
#   you need to specify two OID's such as temperature and humidity
#   or error input and error output.
# Target[ezwf]:
1.3.6.1.2.1.2.2.1.14.1&1.3.6.1.2.1.2.2.1.20.1:public at myrouter

^-- In the sample config in the doc directory.

No, I'm not an expert with MRTG. I'm just trying to figure out how to make
it do what I want it to do. I had 5 hours to do that in and a stack of
documentation between MRTG and the SNMPD. I've figured out most of it on my
own, the few questions that I have asked I probably have looked over the
answers to. I don't think anyone was hurt by me asking on the list. Is that
not what it's here for?

Bigger ARGH + doot - foobar =  .

-Mitch

----- Original Message -----
From: Alex van den Bogaerdt <alex at slot.hollandcasino.nl>
To: Mitch Vincent <mitch at venux.net>
Cc: MRTG users <mrtg at list.ee.ethz.ch>
Sent: Thursday, September 30, 1999 10:10 AM
Subject: Re: [mrtg] One more question..


> >  Ok, you all can see what I'm doing there.. The problem is the actual
graph.
> > I only want to graph the percent used, there is no second value.
Providing
> > the same value for both is producing very strange results (like one
graph
> > going clear up to 30+ when the number returned in that OID is 9 .. Is
there
> > some way I can nullify that second value somehow?  Could there be
another
> > problem with the way I'm doing this?
> >
>
> 16:07 METDST read question
> 16:08 METDST start browser and point to the mrtg page
> 16:08 METDST click official FAQ site
> 16:08 METDST view number three
> 16:08 METDST know answer.
>
> > Thanks guy, you're all lifesavers :-)
> >
> RTFM again.
>
> Big ARGH.
>
>

--
* To unsubscribe from the mrtg mailing list, send a message with the
  subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg


More information about the mrtg mailing list