[mrtg] Re: MRTG Problem

Brander, Eric Eric.Brander at ACS-INC.com
Mon Dec 23 13:44:13 MET 2002


MRTG must always have two targets in the target line, even if you only want
to graph one number.  Try this:

Target[WFPMAIL1_UP]:
1.3.6.1.2.1.1.3.0&1.3.6.1.2.1.1.3.0:public at 192.9.200.176

IF that is the correct OID, then MRTG should work for you, but you'll get a
line and a field with the same reading.  Turn one of them off by using NOO
or NOI in your options. (search the reference.html for more details on those
options) Also, since the uptime is a gauge, you will probably want GAUGE as
an option as well.

 -----Original Message-----
From: 	Ravi Kanth Chaganti (IS) [mailto:ravik at wiprofluidpower.co.in] 
Sent:	Saturday, December 21, 2002 7:16 AM
To:	'mrtg at list.ee.ethz.ch'
Subject:	[mrtg] MRTG Problem


I am trying to get the uptime information from a windows NT server.
I have compiled all the mibs and everything seems to be fine.

my config is someting like this :

****************************************************************
WorkDir: d:\inetpub\wwwroot\mrtg
Title[^]: Uptime Statistics on system WFPMAIL1:
#
----------------------------------------------------------------------------
-------------

PageTop[WFPMAIL1_UP]: <div align="center"><center>

 <table border="1" width="98%" height="87">
  <tr>
    <td width="14%" height="52"><p align="center"><font
face="Arial"><small><img
    src="headerlogo.png" alt="Header Logo" align="absmiddle" width="120"
height="60"></small></font></td>
    <td width="76%" height="52"><p align="center"><strong><font
face="Arial"><big>Free Space (MB) on Drive C: on
WIN2KFS1</big></font></strong></td>
    <td width="14%" height="52"><strong><big><p
align="center"></big></strong><font
    face="Arial"><small><img src="index_logo.gif" alt="Header Logo"
align="absmiddle"
    width="120" height="60"></small></font></td>
  </tr>
  <tr>
    <td width="13%" bgcolor="#008000"><p align="center"><input TYPE="button"
    VALUE="&lt; Back " onClick="history.back()"></td>
    <td width="73%" bgcolor="#008000"><strong><font face="Verdana"><p
align="center"></font><font
    color="#FFFF00" size="3" face="Verdana">WTCS Network Monitoring
System</font><font
    face="Verdana"> </font></strong></td>
    <td width="14%" bgcolor="#008000"><p align="center"><input TYPE="button"
    VALUE=" Ahead &gt; " onClick="history.forward()"></td>
  </tr>
 </table>
 <H5><font face="Arial">Page specific comment goes here.</H5>
 </center></div>

Target[WFPMAIL1_UP]: 1.3.6.1.2.1.1.3.0:public at 192.9.200.176
SetEnv[WFPMAIL1_UP]: MRTG_INT_IP="192.9.200.176" MRTG_INT_DESCR="Up Time"
MaxBytes[WFPMAIL1_UP]: 1250000
****************************************************************************
********


when I tried to run -------->perl mrtg up.cfg -------->got some msgs like
this----->

Use of uninitialized value in string eq at
C:/mrtg-2.9.25/bin\..\lib\mrtg2/MRTG_lib.pm line 1143.
Use of uninitialized value in string eq at
C:/mrtg-2.9.25/bin\..\lib\mrtg2/MRTG_lib.pm line 1143.
Use of uninitialized value in string eq at
C:/mrtg-2.9.25/bin\..\lib\mrtg2/MRTG_lib.pm line 1144.
Use of uninitialized value in string eq at
C:/mrtg-2.9.25/bin\..\lib\mrtg2/MRTG_lib.pm line 1144.
Use of uninitialized value in substitution (s///) at
C:/mrtg-2.9.25/bin\..\lib\mrtg2/MRTG_lib.pm line 1145.
Use of uninitialized value in substitution (s///) at
C:/mrtg-2.9.25/bin\..\lib\mrtg2/MRTG_lib.pm line 1146.
Use of uninitialized value in concatenation (.) or string at
C:/mrtg-2.9.25/bin\..\lib\mrtg2/MRTG_lib.pm line 1154.
Use of uninitialized value in concatenation (.) or string at
C:/mrtg-2.9.25/bin\..\lib\mrtg2/MRTG_lib.pm line 1154.
Use of uninitialized value in string eq at mrtg line 1521.
Use of uninitialized value in string eq at mrtg line 1521.
Use of uninitialized value in substitution (s///) at mrtg line 1527.
Use of uninitialized value in hash element at mrtg line 1528.
Use of uninitialized value in hash element at mrtg line 1528.


What does all this mean?......
Pls help me sorting out the problem

Regards
Ravi

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

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