[mrtg] Re: Cant continue CONFIG FILE INCLUDED
Ikechukwu Anyanwu
ian at emperion.net
Tue May 30 13:51:20 MEST 2006
Hi Find the file included.
# Created by
# cfgmaker ********** -global 'workdir: c: \wwwroot' --output nbnib.cfg
### Global Config Options
# for UNIX
# WorkDir: /home/http/mrtg
# or for NT
# WorkDir: c:\mrtgdata
### Global Defaults
# to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits
WorkDir: C:\mrtg-2.14.2\bin\wwwroot
EnableIPv6: no
######################################################################
# System: NBN-IBADAN
# Description: Cisco Internetwork Operating System Software
# IOS (tm) C805 Software (C805-Y6-MW), Version 12.2(15)T16,
RELEASE SOFTWARE (fc2)
# Technical Support: http://www.cisco.com/techsupport
# Copyright (c) 1986-2005 by cisco Systems, Inc.
# Compiled Tue 19-Apr-05 15
# Contact:
# Location:
######################################################################
### Interface 1 >> Descr: 'Ethernet0' | Name: 'Et0' | Ip: '**********' |
Eth: '00-12-43-10-7e-c4' ###
Target[**********_1]: 1:public@**********:
SetEnv[**********_1]: MRTG_INT_IP="**********"
MRTG_INT_DESCR="Ethernet0"
MaxBytes[**********_1]: 1250000
Title[**********_1]: Traffic Analysis for 1 -- NBN-IBADAN
PageTop[**********_1]: <h1>Traffic Analysis for 1 -- NBN-IBADAN</h1>
<div id="sysdetails">
<table>
<tr>
<td>System:</td>
<td>NBN-IBADAN in </td>
</tr>
<tr>
<td>Maintainer:</td>
<td></td>
</tr>
<tr>
<td>Description:</td>
<td>Ethernet0 connected to UBA
Asaba SPACE LINK </td>
</tr>
<tr>
<td>ifType:</td>
<td>ethernetCsmacd (6)</td>
</tr>
<tr>
<td>ifName:</td>
<td>Et0</td>
</tr>
<tr>
<td>Max Speed:</td>
<td>1250.0 kBytes/s</td>
</tr>
<tr>
<td>Ip:</td>
<td>********** ()</td>
</tr>
</table>
</div>
### Interface 2 >> Descr: 'Serial0' | Name: 'Se0' | Ip: '' | Eth: '' ###
Target[**********_2]: 2:public@**********:
SetEnv[**********_2]: MRTG_INT_IP="" MRTG_INT_DESCR="Serial0"
MaxBytes[**********_2]: 64000
Title[**********_2]: Traffic Analysis for 2 -- NBN-IBADAN
PageTop[**********_2]: <h1>Traffic Analysis for 2 -- NBN-IBADAN</h1>
<div id="sysdetails">
<table>
<tr>
<td>System:</td>
<td>NBN-IBADAN in </td>
</tr>
<tr>
<td>Maintainer:</td>
<td></td>
</tr>
<tr>
<td>Description:</td>
<td>Serial0 connected to Lekki
Hub </td>
</tr>
<tr>
<td>ifType:</td>
<td>propPointToPointSerial
(22)</td>
</tr>
<tr>
<td>ifName:</td>
<td>Se0</td>
</tr>
<tr>
<td>Max Speed:</td>
<td>64.0 kBytes/s</td>
</tr>
</table>
</div>
### Interface 3 >> Descr: 'Null0' | Name: 'Nu0' | Ip: '' | Eth: '' ###
### The following interface is commented out because:
### * it is a cisco Null0 interface
#
# Target[**********_3]: 3:public@**********:
# SetEnv[**********_3]: MRTG_INT_IP="" MRTG_INT_DESCR="Null0"
# MaxBytes[**********_3]: 536870911
# Title[**********_3]: Traffic Analysis for 3 -- NBN-IBADAN
# PageTop[**********_3]: <h1>Traffic Analysis for 3 -- NBN-IBADAN</h1>
# <div id="sysdetails">
# <table>
# <tr>
# <td>System:</td>
# <td>NBN-IBADAN in </td>
# </tr>
# <tr>
# <td>Maintainer:</td>
# <td></td>
# </tr>
# <tr>
# <td>Description:</td>
# <td>Null0 </td>
# </tr>
# <tr>
# <td>ifType:</td>
# <td>Other (1)</td>
# </tr>
# <tr>
# <td>ifName:</td>
# <td>Nu0</td>
# </tr>
# <tr>
# <td>Max Speed:</td>
# <td>536.9 MBytes/s</td>
# </tr>
#
# </table>
# </div>
C:\mrtg-2.14.2\bin>perl mrtg nbnib.cfg
Tuesday, 30 May 2006 at 12:46: WARNING: rateup
(C:/mrtg-2.14.2/bin\rateup C:\mrt
g-2.14.2\bin\wwwroot\ **********_1 1148989572 -Z u 123000864 46901031
1250000
c #00cc00 #0000ff #006600 #ff00ff k 1000 i
C:\mrtg-2.14.2\bin\wwwroot\80.88.146.
49_1-day.png -1250000 -1250000 400 100 1 1 0 300 0 4 1 "%Y-%m-%d %H:%M"
0 i C:\m
rtg-2.14.2\bin\wwwroot\**********_1-week.png -1250000 -1250000 400 100 1
1 0 1
800 0 4 1 "%Y-%m-%d %H:%M" 0 i
C:\mrtg-2.14.2\bin\wwwroot\**********_1-month.p
ng -1250000 -1250000 400 100 1 1 0 7200 0 4 1 "%Y-%m-%d %H:%M" 0 i
C:\mrtg-2.14.
2\bin\wwwroot\**********_1-year.png -1250000 -1250000 400 100 1 1 0
86400 0 4
1 "%Y-%m-%d %H:%M" 0) did not work: Bad file descriptor
Tuesday, 30 May 2006 at 12:46: WARNING: rateup
(C:/mrtg-2.14.2/bin\rateup C:\mrt
g-2.14.2\bin\wwwroot\ **********_2 1148989572 -Z u 0 65020658 64000 c
#00cc00
#0000ff #006600 #ff00ff k 1000 i
C:\mrtg-2.14.2\bin\wwwroot\**********_2-day.p
ng -64000 -64000 400 100 1 1 0 300 0 4 1 "%Y-%m-%d %H:%M" 0 i
C:\mrtg-2.14.2\bin
\wwwroot\**********_2-week.png -64000 -64000 400 100 1 1 0 1800 0 4 1
"%Y-%m-%
d %H:%M" 0 i C:\mrtg-2.14.2\bin\wwwroot\**********_2-month.png -64000
-64000 4
00 100 1 1 0 7200 0 4 1 "%Y-%m-%d %H:%M" 0 i
C:\mrtg-2.14.2\bin\wwwroot\80.88.14
6.49_2-year.png -64000 -64000 400 100 1 1 0 86400 0 4 1 "%Y-%m-%d %H:%M"
0) did
not work: Bad file descriptorf
-----Original Message-----
From: MrPaul [mailto:mrpaular at gmail.com]
Sent: Saturday, May 27, 2006 6:30 AM
To: Ikechukwu Anyanwu
Cc: mrtg at list.ee.ethz.ch
Subject: Re: [mrtg] Cant continue
Without a copy of your config file I'm only guessing but I would check
to make sure that any files/folders/paths that have a space in them
are wrapped by quotes (" ").
Paul
On 5/26/06, Ikechukwu Anyanwu <ian at emperion.net> wrote:
>
> Hi ,
>
> After creating the cfg fil and typing
>
> C:\mrtg-2.14.0\bin>perl mrtg mik.cfg
>
>
>
> I get the following output.
>
>
>
> What could be the problem, I am going mad.
>
>
>
> Regards,
<snip>your words</snip>
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://lists.ee.ethz.ch/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the mrtg
mailing list