[mrtg] Values entered in log file

Shyam shyam at infonox.com
Fri Oct 4 09:21:27 MEST 2002


Hi,

I have a query regarding the values that are stored in the MRTG log file.

I am using a Perl script to get the hard disk statistics of NT machines ( Script basically multiplies the values of "Storage Allocation Unit" and the "Size Used" as obtained from SNMP walk ). The script returns correct values when checked from Dos prompt. But, when I use the TARGET command as follows :-

Target[192.168.112.196.E]:`perl diskusage.pl X.X.X.X public .1.3.6.1.2.1.25.2.3.1.4.4 .1.3.6.1.2.1.25.2.3.1.6.4&perl diskusage1.pl X.X.X.X public .1.3.6.1.2.1.25.2.3.1.4.4 .1.3.6.1.2.1.25.2.3.1.5.4`

the log file shows the foll :-

1033715810 2405777408 26630041600
1033715810 0 0 0 0
1033715509 0 0 0 0
1033715400 0 0 0 0

The first line in the log file ( in red colour ) gives the correct values of the "hard disk used" vs "hard disk total" but the values that are entered in the database are the values below that line... What is the reason for this.. ? I am not able to understand the reason for this.

Any information / clarification would be welcome.. Do let me know if you need any further information.. I shall be happy to provide it.

Regards, 
Shyam


--
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