[mrtg] Re: logfile, oid, and winNT
Jeff Meisner
jeff at meisner.com
Fri Jan 21 15:30:10 MET 2000
Every Time I look at this I find something else wrong.
Target[a004si24snmp.test]:
.1.3.6.1.4.1.311.1.1.3.1.1.5.1.3.0&.1.3.6.1.4.1.311.1.1.3.1.1.5.1.4.0:public
@a004si24snmp
should read
Target[a004si24snmp.test]:
1.3.6.1.4.1.311.1.1.3.1.1.5.1.3.0&1.3.6.1.4.1.311.1.1.3.1.1.5.1.4.0:public at a
004si24snmp
drop the leading . on the OID. MRTG does not like the leading .
So the Cfg should look something like this
Target[a004si24snmp.test]:
1.3.6.1.4.1.311.1.1.3.1.1.5.1.3.0&1.3.6.1.4.1.311.1.1.3.1.1.5.1.4.0:public at a
004si24snmp
MaxBytes1[a004si24snmp.test]: 100 #MaxBytes value for Percentage Disk
Space
MaxBytes2[a004si24snmp.test]: 1190000000 #MaxBytes value for free Bytes
Options[a004si24snmp.test]: gauge #Absolute Counters
Title[a004si24snmp.test]: A004SI24SNMP : Free disk space %
PageTop[a004si24snmp.test]: <H1>Free disk space % and free MegaBytes
</H1>
<TABLE>
<TR><TD>System:</TD><TD>A004SI24SNMP in </TD></TR>
<TR><TD>Maintainer:</TD><TD></TD></TR>
<TR><TD>Interface:</TD><TD>Disque dur</TD></TR>
<TR><TD>IP:</TD><TD> (10.24.200.198)</TD></TR>
<TR><TD>Max Space:</TD>
<TD>1190 MBytes </TD></TR>
</TABLE>
-----Original Message-----
From: Jeff Meisner [mailto:jeff at meisner.com]
Sent: Friday, January 21, 2000 5:14 PM
To: Mayer, Bernard; Mrtg, la liste
Subject: RE: [mrtg] logfile, oid, and winNT
try adding
Options[a004si24snmp.test]: gauge
to your cfgfile. Disk Space Counters are absolute counters. This is why
you get 0 0 0 0 lines.
-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]On
Behalf Of Mayer, Bernard
Sent: Friday, January 21, 2000 4:36 PM
To: Mrtg, la liste
Subject: [mrtg] logfile, oid, and winNT
Importance: Low
It's me again !
windows nt4 sp3
mrtg 2.8.9 and 2.8.11
mrtg.cfg
Target[a004si24snmp.test]:
.1.3.6.1.4.1.311.1.1.3.1.1.5.1.3.0&.1.3.6.1.4.1.311.1.1.3.1.1.5.1.4.0:public
@a004si24snmp
MaxBytes[a004si24snmp.test]: 1190
Title[a004si24snmp.test]: A004SI24SNMP : Free disk space %
PageTop[a004si24snmp.test]: <H1>Free disk space % and free MegaBytes
</H1>
<TABLE>
<TR><TD>System:</TD><TD>A004SI24SNMP in </TD></TR>
<TR><TD>Maintainer:</TD><TD></TD></TR>
<TR><TD>Interface:</TD><TD>Disque dur</TD></TR>
<TR><TD>IP:</TD><TD> (10.24.200.198)</TD></TR>
<TR><TD>Max Space:</TD>
<TD>1190 MBytes </TD></TR>
</TABLE>
a004si24snmp.test.log
948463997 49 609
948463997 0 0 0 0
948460040 0 0 0 0
948459900 0 0 0 0
948459600 0 0 0 0
948459300 0 0 0 0
948459000 0 0 0 0
948458700 0 0 0 0
948458400 0 0 0 0
948458100 0 0 0 0
948457800 0 0 0 0
948457500 0 0 0 0
mrtg write just the first line !
What do you thinks of that ?
Bernard MAYER
Charente Perigord
05 53 24 44 54
Bernard.Mayer at cp.credit-agricole.fr
--
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
--
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