[mrtg] Re: MRTG bug?

David Mohorn dm4714 at cox.net
Wed Apr 30 14:52:28 MEST 2003


Hello, I'm curious to know how you can do this.   I have a Toshiba PCX2200
Cable Modem along with a Linksys 802.11b wireless router.  My cable modem
does not have an IP address and is not connected to my computer directly.
Thanks

...david
http://micro-mess.com/forum/


 -----Original Message-----
From: 	mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]  On
Behalf Of Nuno Costa
Sent:	Wednesday, April 30, 2003 5:54 AM
To:	mrtg at list.ee.ethz.ch
Subject:	[mrtg] MRTG bug?

Hello,
I am trying to read several parameters of about 20 DOCSIS cable modems. MRTG
is not saving the TX Power correctly of a couple of the cable modems. The
problem is that MRTG will read the correct values and then write it to the
log file *always on the first line*. This means the first line always
contains the latest reading and the rest of the file only has zeros.

Is this some configuration error or an MRTG bug? Below is the debug file,
the configuration file and the log file.

Thanks a lot,

Nuno

----------------------------------------------------------------------------
-------------------------
test.cfg
----------------------------------------------------------------------------
-------------------------
RunAsDaemon:Yes
Interval:5
WorkDir: C:\mrtg\vyyo
Options[_]: bits

Target[192.168.8.28_8]:
1.3.6.1.2.1.10.127.1.1.4.1.5.3&1.3.6.1.2.1.10.127.1.1.4.1.5.3:public at 192.168
.8.28
YLegend[192.168.8.28_8]: Signal/Noise
ShortLegend[192.168.8.28_8]: dB
MaxBytes[192.168.8.28_8]: 300
Options[192.168.8.28_8]: gauge, unknaszero, nopercent
WithPeak[192.168.8.28_8]: wmy
Colours[192.168.8.28_8]: GREEN#00eb0c,BLUE#0000ff,VIOLET#FF00FF,GRAY#eeeeee
Legend1[192.168.8.28_8]: Avg Signal to Noise Ratio
Legend2[192.168.8.28_8]:
Legend3[192.168.8.28_8]: Peak Signal to Noise Ratio
Legend4[192.168.8.28_8]:
LegendI[192.168.8.28_8]: Ratio:
LegendO[192.168.8.28_8]:
Xsize[192.168.8.28_8]: 600
Ysize[192.168.8.28_8]: 150
Title[192.168.8.28_8]: Modem 192.168.8.28
PageTop[192.168.8.28_8]: <H1>Modem SAG - Signal to Noise Ratio</H1>

----------------------------------------------------------------------------
-------------------------
192.168.8.28_8.log
----------------------------------------------------------------------------
-------------------------
1051699226 311 312
1051699226 0 0 0 0
1051698926 0 0 0 0
1051698900 0 0 0 0
1051698600 0 0 0 0
1051698300 0 0 0 0
1051698000 0 0 0 0
1051697700 0 0 0 0
1051697400 0 0 0 0
1051697100 0 0 0 0
1051696800 0 0 0 0
1051696500 0 0 0 0
1051696200 0 0 0 0
1051695900 0 0 0 0
1051695600 0 0 0 0
1051695300 0 0 0 0
1051695000 0 0 0 0
1051694700 0 0 0 0
1051694400 0 0 0 0
1051694100 0 0 0 0
1051693800 0 0 0 0
1051693500 0 0 0 0
1051693200 0 0 0 0
1051692900 0 0 0 0
...

----------------------------------------------------------------------------
-------------------------
test.log
----------------------------------------------------------------------------
-------------------------
2003-04-30 11:10:25 -- Started mrtg
2003-04-30 11:10:25 -- --base: Creating Lockfiles
teste.cfg_l,teste.cfg_l_1200
2003-04-30 11:10:25 -- --base: Reading Config File: teste.cfg
2003-04-30 11:10:25 -- --cfg: teste.cfg[1]: RunAsDaemon:Yes
2003-04-30 11:10:25 -- --cfg: teste.cfg[2]: Interval:5
2003-04-30 11:10:25 -- --cfg: teste.cfg[3]: WorkDir: C:\mrtg\vyyo
2003-04-30 11:10:25 -- --cfg: teste.cfg[4]: Options[_]: bits
2003-04-30 11:10:25 -- --cfg: teste.cfg[5]:
2003-04-30 11:10:25 -- --cfg: teste.cfg[6]: Target[192.168.8.28_8]:
1.3.6.1.2.1.10.127.1.1.4.1.5.3&1.3.6.1.2.1.10.127.1.1.4.1.5.3:public at 192.168
.8.28
2003-04-30 11:10:25 -- --cfg: teste.cfg[7]: YLegend[192.168.8.28_8]:
Signal/Noise
2003-04-30 11:10:25 -- --cfg: teste.cfg[8]: ShortLegend[192.168.8.28_8]: dB
2003-04-30 11:10:25 -- --cfg: teste.cfg[9]: MaxBytes[192.168.8.28_8]: 300
2003-04-30 11:10:25 -- --cfg: teste.cfg[10]: Options[192.168.8.28_8]: gauge,
unknaszero, nopercent
2003-04-30 11:10:25 -- --cfg: teste.cfg[11]: WithPeak[192.168.8.28_8]: wmy
2003-04-30 11:10:25 -- --cfg: teste.cfg[12]: Colours[192.168.8.28_8]:
GREEN#00eb0c,BLUE#0000ff,VIOLET#FF00FF,GRAY#eeeeee
2003-04-30 11:10:25 -- --cfg: teste.cfg[13]: Legend1[192.168.8.28_8]: Avg
Signal to Noise Ratio
2003-04-30 11:10:25 -- --cfg: teste.cfg[14]: Legend2[192.168.8.28_8]:
2003-04-30 11:10:25 -- --cfg: teste.cfg[15]: Legend3[192.168.8.28_8]: Peak
Signal to Noise Ratio
2003-04-30 11:10:25 -- --cfg: teste.cfg[16]: Legend4[192.168.8.28_8]:
2003-04-30 11:10:25 -- --cfg: teste.cfg[17]: LegendI[192.168.8.28_8]: Ratio:
2003-04-30 11:10:25 -- --cfg: teste.cfg[18]: LegendO[192.168.8.28_8]:
2003-04-30 11:10:25 -- --cfg: teste.cfg[19]: Xsize[192.168.8.28_8]: 600
2003-04-30 11:10:25 -- --cfg: teste.cfg[20]: Ysize[192.168.8.28_8]: 150
2003-04-30 11:10:25 -- --cfg: teste.cfg[21]: Title[192.168.8.28_8]: Modem
192.168.8.28
2003-04-30 11:10:25 -- --cfg: teste.cfg[22]: PageTop[192.168.8.28_8]:
<H1>Modem - Signal to Noise Ratio</H1>
2003-04-30 11:10:25 -- --base: Reading Interface Config cache
2003-04-30 11:10:25 -- --base: Checking Config File
2003-04-30 11:10:25 -- --dir: ensure path IN:  'C:\mrtg\vyyo'
2003-04-30 11:10:25 -- --dir: ensure path OUT: 'C:\mrtg\vyyo\'
2003-04-30 11:10:25 -- --dir: imagehtml =
2003-04-30 11:10:25 -- --tarp: Starting 192.168.8.28_8 ->
1.3.6.1.2.1.10.127.1.1.4.1.5.3&1.3.6.1.2.1.10.127.1.1.4.1.5.3:public at 192.168
.8.28
2003-04-30 11:10:25 -- --tarp: Found (0) Complex: Comu:public
Host:192.168.8.28 Opt:
                IfS0:If Key0:3 OID0:1.3.6.1.2.1.10.127.1.1.4.1.5
                IfS1:If Key1:3 OID1:1.3.6.1.2.1.10.127.1.1.4.1.5
2003-04-30 11:10:25 -- --base: Loading default Locale
2003-04-30 11:10:25 -- --base: Starting main Loop
2003-04-30 11:10:25 -- --time: loop start Wed Apr 30 11:10:25 2003
2003-04-30 11:10:25 -- --base: Populate Target object by polling SNMP and
external Datasources
2003-04-30 11:10:25 -- --time: snmp read start Wed Apr 30 11:10:25 2003
2003-04-30 11:10:25 -- --snpo: run snmpget from
1.3.6.1.2.1.10.127.1.1.4.1.5&1.3.6.1.2.1.10.127.1.1.4.1.5:public at 192.168.8.2
8
2003-04-30 11:10:25 -- --snpo: simple If: .3
2003-04-30 11:10:25 -- --snpo: simple If: .3
2003-04-30 11:10:25 -- --snpo: SNMPGet from public at 192.168.8.28 --
1.3.6.1.2.1.10.127.1.1.4.1.5.3,1.3.6.1.2.1.10.127.1.1.4.1.5.3,sysUptime,sysN
ame
2003-04-30 11:10:25 -- --snpo: SNMPfound -- '312', '313', '8 days, 3:18:03',
'ICE200'
2003-04-30 11:10:25 -- --time: target loop start Wed Apr 30 11:10:25 2003
2003-04-30 11:10:25 -- --base: Act on Router/Target 192.168.8.28_8
2003-04-30 11:10:25 -- --base: Get Current values: 312, 313, 8 days,
3:18:03, ICE200, 1051697425)
2003-04-30 11:10:25 -- --base: Create Graphics
2003-04-30 11:10:25 -- --base: Check for Thresholds
2003-04-30 11:10:25 -- --base: Check for Write HTML Pages
2003-04-30 11:10:25 -- --time: loop start Wed Apr 30 11:10:25 2003
2003-04-30 11:10:25 -- --time: Sleep time 300 seconds
2003-04-30 11:15:25 -- --base: Populate Target object by polling SNMP and
external Datasources
2003-04-30 11:15:25 -- --time: snmp read start Wed Apr 30 11:15:25 2003
2003-04-30 11:15:25 -- --snpo: run snmpget from
1.3.6.1.2.1.10.127.1.1.4.1.5&1.3.6.1.2.1.10.127.1.1.4.1.5:public at 192.168.8.2
8
2003-04-30 11:15:25 -- --snpo: simple If: .3
2003-04-30 11:15:25 -- --snpo: simple If: .3
2003-04-30 11:15:25 -- --snpo: SNMPGet from public at 192.168.8.28 --
1.3.6.1.2.1.10.127.1.1.4.1.5.3,1.3.6.1.2.1.10.127.1.1.4.1.5.3,sysUptime,sysN
ame
2003-04-30 11:15:25 -- --snpo: SNMPfound -- '314', '313', '8 days, 3:23:03',
'ICE200'
2003-04-30 11:15:25 -- --time: target loop start Wed Apr 30 11:15:25 2003
2003-04-30 11:15:25 -- --base: Act on Router/Target 192.168.8.28_8
2003-04-30 11:15:25 -- --base: Get Current values: 314, 313, 8 days,
3:23:03, ICE200, 1051697725)
2003-04-30 11:15:25 -- --base: Create Graphics
2003-04-30 11:15:25 -- --base: Check for Thresholds
2003-04-30 11:15:25 -- --base: Check for Write HTML Pages
2003-04-30 11:15:25 -- --time: loop start Wed Apr 30 11:15:25 2003
2003-04-30 11:15:25 -- --time: Sleep time 300 seconds
2003-04-30 11:20:25 -- --base: Populate Target object by polling SNMP and
external Datasources
2003-04-30 11:20:25 -- --time: snmp read start Wed Apr 30 11:20:25 2003
2003-04-30 11:20:25 -- --snpo: run snmpget from
1.3.6.1.2.1.10.127.1.1.4.1.5&1.3.6.1.2.1.10.127.1.1.4.1.5:public at 192.168.8.2
8
2003-04-30 11:20:25 -- --snpo: simple If: .3
2003-04-30 11:20:25 -- --snpo: simple If: .3
2003-04-30 11:20:25 -- --snpo: SNMPGet from public at 192.168.8.28 --
1.3.6.1.2.1.10.127.1.1.4.1.5.3,1.3.6.1.2.1.10.127.1.1.4.1.5.3,sysUptime,sysN
ame
2003-04-30 11:20:25 -- --snpo: SNMPfound -- '313', '313', '8 days, 3:28:03',
'ICE200'
2003-04-30 11:20:25 -- --time: target loop start Wed Apr 30 11:20:25 2003
2003-04-30 11:20:25 -- --base: Act on Router/Target 192.168.8.28_8
2003-04-30 11:20:25 -- --base: Get Current values: 313, 313, 8 days,
3:28:03, ICE200, 1051698025)
2003-04-30 11:20:25 -- --base: Create Graphics
2003-04-30 11:20:26 -- --base: Check for Thresholds
2003-04-30 11:20:26 -- --base: Check for Write HTML Pages
2003-04-30 11:20:26 -- --time: loop start Wed Apr 30 11:20:26 2003
2003-04-30 11:20:26 -- --time: Sleep time 299 seconds
2003-04-30 11:25:25 -- --base: Populate Target object by polling SNMP and
external Datasources
2003-04-30 11:25:25 -- --time: snmp read start Wed Apr 30 11:25:25 2003
2003-04-30 11:25:25 -- --snpo: run snmpget from
1.3.6.1.2.1.10.127.1.1.4.1.5&1.3.6.1.2.1.10.127.1.1.4.1.5:public at 192.168.8.2
8
2003-04-30 11:25:25 -- --snpo: simple If: .3
2003-04-30 11:25:25 -- --snpo: simple If: .3
2003-04-30 11:25:25 -- --snpo: SNMPGet from public at 192.168.8.28 --
1.3.6.1.2.1.10.127.1.1.4.1.5.3,1.3.6.1.2.1.10.127.1.1.4.1.5.3,sysUptime,sysN
ame
2003-04-30 11:25:25 -- --snpo: SNMPfound -- '311', '311', '8 days, 3:33:02',
'ICE200'
2003-04-30 11:25:25 -- --time: target loop start Wed Apr 30 11:25:25 2003
2003-04-30 11:25:25 -- --base: Act on Router/Target 192.168.8.28_8
2003-04-30 11:25:25 -- --base: Get Current values: 311, 311, 8 days,
3:33:02, ICE200, 1051698325)
2003-04-30 11:25:25 -- --base: Create Graphics
2003-04-30 11:25:25 -- --base: Check for Thresholds
2003-04-30 11:25:25 -- --base: Check for Write HTML Pages
2003-04-30 11:25:25 -- --time: loop start Wed Apr 30 11:25:25 2003
2003-04-30 11:25:25 -- --time: Sleep time 300 seconds
2003-04-30 11:30:25 -- --base: Populate Target object by polling SNMP and
external Datasources
2003-04-30 11:30:25 -- --time: snmp read start Wed Apr 30 11:30:25 2003
2003-04-30 11:30:25 -- --snpo: run snmpget from
1.3.6.1.2.1.10.127.1.1.4.1.5&1.3.6.1.2.1.10.127.1.1.4.1.5:public at 192.168.8.2
8
2003-04-30 11:30:25 -- --snpo: simple If: .3
2003-04-30 11:30:25 -- --snpo: simple If: .3
2003-04-30 11:30:25 -- --snpo: SNMPGet from public at 192.168.8.28 --
1.3.6.1.2.1.10.127.1.1.4.1.5.3,1.3.6.1.2.1.10.127.1.1.4.1.5.3,sysUptime,sysN
ame
2003-04-30 11:30:25 -- --snpo: SNMPfound -- '309', '310', '8 days, 3:38:02',
'ICE200'
2003-04-30 11:30:25 -- --time: target loop start Wed Apr 30 11:30:25 2003
2003-04-30 11:30:25 -- --base: Act on Router/Target 192.168.8.28_8
2003-04-30 11:30:25 -- --base: Get Current values: 309, 310, 8 days,
3:38:02, ICE200, 1051698625)
2003-04-30 11:30:25 -- --base: Create Graphics
2003-04-30 11:30:25 -- --base: Check for Thresholds
2003-04-30 11:30:25 -- --base: Check for Write HTML Pages
2003-04-30 11:30:25 -- --time: loop start Wed Apr 30 11:30:25 2003
2003-04-30 11:30:25 -- --time: Sleep time 300 seconds
2003-04-30 11:35:26 -- --base: Populate Target object by polling SNMP and
external Datasources
2003-04-30 11:35:26 -- --time: snmp read start Wed Apr 30 11:35:26 2003
2003-04-30 11:35:26 -- --snpo: run snmpget from
1.3.6.1.2.1.10.127.1.1.4.1.5&1.3.6.1.2.1.10.127.1.1.4.1.5:public at 192.168.8.2
8
2003-04-30 11:35:26 -- --snpo: simple If: .3
2003-04-30 11:35:26 -- --snpo: simple If: .3
2003-04-30 11:35:26 -- --snpo: SNMPGet from public at 192.168.8.28 --
1.3.6.1.2.1.10.127.1.1.4.1.5.3,1.3.6.1.2.1.10.127.1.1.4.1.5.3,sysUptime,sysN
ame
2003-04-30 11:35:26 -- --snpo: SNMPfound -- '307', '307', '8 days, 3:43:04',
'ICE200'
2003-04-30 11:35:26 -- --time: target loop start Wed Apr 30 11:35:26 2003
2003-04-30 11:35:26 -- --base: Act on Router/Target 192.168.8.28_8
2003-04-30 11:35:26 -- --base: Get Current values: 307, 307, 8 days,
3:43:04, ICE200, 1051698926)
2003-04-30 11:35:26 -- --base: Create Graphics
2003-04-30 11:35:28 -- --base: Check for Thresholds
2003-04-30 11:35:28 -- --base: Check for Write HTML Pages
2003-04-30 11:35:28 -- --time: loop start Wed Apr 30 11:35:28 2003
2003-04-30 11:35:28 -- --time: Sleep time 298 seconds
2003-04-30 11:40:26 -- --base: Populate Target object by polling SNMP and
external Datasources
2003-04-30 11:40:26 -- --time: snmp read start Wed Apr 30 11:40:26 2003
2003-04-30 11:40:26 -- --snpo: run snmpget from
1.3.6.1.2.1.10.127.1.1.4.1.5&1.3.6.1.2.1.10.127.1.1.4.1.5:public at 192.168.8.2
8
2003-04-30 11:40:26 -- --snpo: simple If: .3
2003-04-30 11:40:26 -- --snpo: simple If: .3
2003-04-30 11:40:26 -- --snpo: SNMPGet from public at 192.168.8.28 --
1.3.6.1.2.1.10.127.1.1.4.1.5.3,1.3.6.1.2.1.10.127.1.1.4.1.5.3,sysUptime,sysN
ame
2003-04-30 11:40:26 -- --snpo: SNMPfound -- '311', '312', '8 days, 3:48:03',
'ICE200'
2003-04-30 11:40:26 -- --time: target loop start Wed Apr 30 11:40:26 2003
2003-04-30 11:40:26 -- --base: Act on Router/Target 192.168.8.28_8
2003-04-30 11:40:26 -- --base: Get Current values: 311, 312, 8 days,
3:48:03, ICE200, 1051699226)
2003-04-30 11:40:26 -- --base: Create Graphics
2003-04-30 11:40:27 -- --base: Check for Thresholds
2003-04-30 11:40:27 -- --base: Check for Write HTML Pages
2003-04-30 11:40:27 -- --time: loop start Wed Apr 30 11:40:27 2003
2003-04-30 11:40:27 -- --time: Sleep time 299 seconds


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