This is a discussion on [mrtg] Problem with Cisco 2924 Switch within the MRTG forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. --===============0252278151== Content-class: urn:content-classes:message Content-Type: multipart/alternative; ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
This is a multi-part message in MIME format.
--===============0252278151== Content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C8AD88.B7B491AD" This is a multi-part message in MIME format. ------_=_NextPart_001_01C8AD88.B7B491AD Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I am having problems reporting on a Cisco 2924 switch. I had MRTG setup and running on a previous Cisco switch, but it died and now I can't get this one working correctly. =20 I have SNMP configured on the switch with the following config line: snmp-server community ninthbrain RO =20 I used the following command to generate my mrtg.cfg file: cfgmaker --output=3Dmrtg.cfg ninthbrain@{IP ADDRESS OF SWITCH} =20 I then updated the WorkDir line manually. I also setup cron to run the mrtg command on the cfg file with a 5 minute interval. =20 At this point, MRTG seems to working correctly. There are no errors and the log files are collecting data. =20 The problem however, is the data the log files are collecting. All of my ports are reporting the same data and all of my graphs are a flat line at about 35 b/s. An example from one of my log files is: 1209865204 102168435 1664983983 1209865204 0 35 0 35 1209864905 0 35 0 35 1209864900 0 35 0 35 ..... (the rest of the lines are all 0 35 0 35) =20 =20 Has anyone had this problem??? Any ideas on how to fix it? I only found one other post with a similar problem, but no solution mentioned. ------_=_NextPart_001_01C8AD88.B7B491AD Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <META content=3D"MSHTML 6.00.6000.16640" name=3DGENERATOR></HEAD> <BODY> <DIV><SPAN class=3D015183601-04052008><FONT face=3DArial size=3D2>I am = having problems=20 reporting on a Cisco 2924 switch. I had MRTG setup and running on = a=20 previous Cisco switch, but it died and now I can't get this one working=20 correctly.</FONT></SPAN></DIV> <DIV><SPAN class=3D015183601-04052008><FONT face=3DArial=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D015183601-04052008><FONT face=3DArial size=3D2>I have = SNMP=20 configured on the switch with the following config = line:</FONT></SPAN></DIV> <DIV><SPAN class=3D015183601-04052008><FONT face=3DArial = size=3D2>snmp-server=20 community ninthbrain RO</FONT></SPAN></DIV> <DIV><SPAN class=3D015183601-04052008><FONT face=3DArial=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D015183601-04052008><FONT face=3DArial size=3D2>I used = the following=20 command to generate my mrtg.cfg file:</FONT></SPAN></DIV> <DIV><SPAN class=3D015183601-04052008><FONT face=3DArial = size=3D2>cfgmaker=20 --output=3Dmrtg.cfg <A href=3D"mailto:ninthbrain@{IP">ninthbrain@{IP</A> = ADDRESS OF=20 SWITCH}</FONT></SPAN></DIV> <DIV><SPAN class=3D015183601-04052008><FONT face=3DArial=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D015183601-04052008><FONT face=3DArial size=3D2>I then = updated the=20 WorkDir line manually. I also setup cron to run the mrtg command = on the=20 cfg file with a 5 minute interval.</FONT></SPAN></DIV> <DIV><SPAN class=3D015183601-04052008><FONT face=3DArial=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D015183601-04052008><FONT face=3DArial size=3D2>At = this point, MRTG=20 seems to working correctly. There are no errors and the log files = are=20 collecting data.</FONT></SPAN></DIV> <DIV><SPAN class=3D015183601-04052008><FONT face=3DArial=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D015183601-04052008><FONT face=3DArial size=3D2>The = problem however,=20 is the data the log files are collecting. All of my ports are = reporting=20 the same data and all of my graphs are a flat line at about 35=20 b/s.</FONT></SPAN></DIV> <DIV><SPAN class=3D015183601-04052008><FONT face=3DArial size=3D2>An = example from one=20 of my log files is:</FONT></SPAN></DIV> <DIV><SPAN class=3D015183601-04052008><FONT face=3DArial = size=3D2>1209865204 102168435=20 1664983983<BR>1209865204 0 35 0 35<BR>1209864905 0 35 0 35<BR>1209864900 = 0 35 0=20 35<BR>.... (the rest of the lines are all 0 35 0 35)</FONT></SPAN></DIV> <DIV><SPAN class=3D015183601-04052008><FONT face=3DArial=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D015183601-04052008><FONT face=3DArial=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D015183601-04052008><FONT face=3DArial size=3D2>Has = anyone had this=20 problem??? Any ideas on how to fix it? I only found one other post = with a=20 similar problem, but no solution = mentioned.</FONT></SPAN></DIV></BODY></HTML> ------_=_NextPart_001_01C8AD88.B7B491AD-- --===============0252278151== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ mrtg mailing list mrtg@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/mrtg --===============0252278151==-- |
![]() |
| Thread Tools | |
| Display Modes | |
|
|