[mrtg] Re: Error when using the Directory[] feature

Brander, Eric Eric.Brander at ACS-INC.com
Tue Nov 12 16:03:19 MET 2002


Yes, same result.  Here is what gets output when I tried to run a test cfg.
It has an additional error message that I didn't catch before.  Again, this
only happens if I have the Directory[] set. (in this case, I have
Directory[test_1]: test)

WARNING: ..\images\test\ did not exist I will create it now
WARNING: ..\log\test\ did not exist I will create it now
WARNING: ..\www\test\ did not exist I will create it now
ERROR: Skipping webupdates because rateup did not return anything sensible
Argument "UNIX" isn't numeric in numeric ne (!=) at mrtg line 407.
Argument "NT" isn't numeric in numeric ne (!=) at mrtg line 407.
WARNING: rateup died from Signal 0
 with Exit Value 1 when doing router 'test_1'
 Signal was 0, Returncode was 1
ERROR: Skipping webupdates because rateup did not return anything sensible
WARNING: rateup died from Signal 0
 with Exit Value 1 when doing router 'test_1_errors'
 Signal was 0, Returncode was 1
ERROR: Skipping webupdates because rateup did not return anything sensible
WARNING: rateup died from Signal 0
 with Exit Value 1 when doing router 'test_1_discards'
 Signal was 0, Returncode was 1
ERROR: Skipping webupdates because rateup did not return anything sensible
WARNING: rateup died from Signal 0
 with Exit Value 1 when doing router 'test_2'
 Signal was 0, Returncode was 1
ERROR: Skipping webupdates because rateup did not return anything sensible
WARNING: rateup died from Signal 0
 with Exit Value 1 when doing router 'test_2_errors'
 Signal was 0, Returncode was 1
ERROR: Skipping webupdates because rateup did not return anything sensible
WARNING: rateup died from Signal 0
 with Exit Value 1 when doing router 'test_2_discards'
 Signal was 0, Returncode was 1

 -----Original Message-----
From: 	PAUL WILLIAMSON [mailto:pwilliamson at mandtbank.com] 
Sent:	Tuesday, November 12, 2002 8:56 AM
To:	Eric.Brander at ACS-INC.com; mrtg at list.ee.ethz.ch
Subject:	[mrtg] Re: Error when using the Directory[] feature


Have you tried using a capital "D" for Directory?

Paul

>>> "Brander, Eric" <Eric.Brander at ACS-INC.com> 11/12/02 09:14AM >>>

WARNING: rateup died from Signal 0
 with Exit Value 1 when doing router 'txchip4006_8'
 Signal was 0, Returncode was 1
ERROR: Skipping webupdates because rateup did not return anything sensible

Example of config file:

HtmlDir: ..\www
ImageDir: ..\images
IconDir: ..\images
LogDir: ..\log
ThreshDir: ..\thresh

Target[TXCHIP4006_1]: 1:public at pr.o.tec.ted: 
directory[TXCHIP4006_1]: TXCHIP4006
Options[TXCHIP4006_1]: growright, bits, nolegend, nobanner
UnScaled[TXCHIP4006_1]: dwmy
WithPeak[TXCHIP4006_1]: wmy
MaxBytes[TXCHIP4006_1]: 125000000
Title[TXCHIP4006_1]: TXCHIP4006 -- GigabitEthernet1/1 -- Network Utilization
PageTop[TXCHIP4006_1]: <H1><font color="#0000FF">GigabitEthernet1/1
</font></H1>
 <TABLE>
   <TR><TD><font
color="#800000"><b>System:</b></font></TD><TD><fontcolor="#800000"><b>TXCHIP
4006</b></font></TD></TR>
   <TR><TD>Description:</TD><TD>GigabitEthernet1/1  </TD></TR>
   <TR><TD>Interface Name:</TD><TD>Gi1/1</TD></TR>
   <TR><TD>Interface Type:</TD><TD>ethernetCsmacd (6)</TD></TR>
   <TR><TD>Interface Speed:</TD><TD><font color="#0000FF">125.0
MBytes/s</font></TD></TR>
 </TABLE>

If I take out or comment out the directory[] line, it works just fine but
puts everything in the specified dirs.  At initial run time it says that it
can't find the directory and creates it - and it does create the
subdirectories correctly under the respective dirs.
Win2k, MRTG 2.9.25

TIA,

Eric

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

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