Re: Monitor 2 Interfaces on a router
"Wm. Josiah Erikson" <[email protected]> Thu, 30 Aug 2018 08:41:06 -0400
| Newsgroups | gmane.network.mrtg.user |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --===============2103770732153333982== Content-Type: multipart/alternative; boundary="------------1B6260D830CB1AB60687FA66" Content-Language: en-US This is a multi-part message in MIME format. --------------1B6260D830CB1AB60687FA66 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit I would point cfgmaker at it and see what you get cfgmaker [email protected] That'll tell you how to specify the interfaces. You need an underscore and then interface label for each target. -Josiah On 8/30/18 8:26 AM, Alex Paradissis wrote: > The last two entries are the same devices. I am using different vlan > gateways currently, but there are errors with the log pull for the > vlan interface that I do not get with the mgmt vlan ip. > > #--------------------------------------------------------------- > Target[10.0.0.1]: 45:[email protected] <mailto:45%[email protected]> > > MaxBytes[10.0.0.1]: 12500000 > > Title[10.0.0.1]: HP 8212zl(10.0.0.1): ether0 > PageTop[10.0.0.1]: <H1>Traffic Analysis for Port B22</H1> > <TABLE> > <TR><TD>System:</TD><TD> MS Core </TD></TR> > <TR><TD>Maintainer:</TD><TD>L2 to STEM</TD></TR> > <TR><TD>Interface:</TD><TD>SFP A1</TD></TR> > <TR><TD>IP:</TD><TD>sample-device(10.0.0.1)</TD></TR> > <TR><TD>Max Speed:</TD> > <TD>1250.0 kBytes/s (ethernetCsmacd)</TD></TR> > </TABLE> > > #--------------------------------------------------------------- > Target[172.31.254.254]: 95:[email protected] > <mailto:95%[email protected]> > > MaxBytes[172.31.254.254]: 12500000 > > Title[172.31.254.254]: HP 8212zl(172.31.254.254): ether0 > PageTop[172.31.254.254]: <H1>Traffic Analysis for Port D23</H1> > <TABLE> > <TR><TD>System:</TD><TD> MS Core </TD></TR> > <TR><TD>Maintainer:</TD><TD>Physical Phone</TD></TR> > <TR><TD>Interface:</TD><TD>D23</TD></TR> > <TR><TD>IP:</TD><TD>MS Core(172.31.254.254)</TD></TR> > <TR><TD>Max Speed:</TD> > <TD>1250.0 kBytes/s (ethernetCsmacd)</TD></TR> > </TABLE> > > #--------------------------------------------------------------- > > Tx, > > Alex Paradissis > System and Network Administrator > MICDS > > (314)995-7479 > > > On Wed, Aug 29, 2018 at 3:55 PM Walter Harms <[email protected] > <mailto:[email protected]>> wrote: > > Do you have different names like this example for ports 1 and 2? > These have to be different. > > > > Target[switch_port_01_in]: > > Target[switch_port_02_in]: > > > > Maybe you can post your config file? > > > > Walter > > > > *From:*mrtg [mailto:mrtg-bounces+wharms > <mailto:mrtg-bounces%2Bwharms>[email protected] > <mailto:[email protected]>] *On Behalf Of *Alex > Paradissis > *Sent:* Wednesday, August 29, 2018 1:29 PM > *To:* [email protected] <mailto:[email protected]> > *Subject:* [mrtg] Monitor 2 Interfaces on a router > > > > All, > > I want to monitor 2 different interfaces on the same router. > When I added a second section in the MRTG config file, and ran > mrtg.cfg, I got a error saying duplicate definition found for > target. Any suggestions on a way around that? > > > Tx, > > Alex Paradissis > > System and Network Administrator > > MICDS > > (314)995-7479 > > This transmission may contain confidential or privileged > communications and the sender does not waive any related rights > and obligations. If you have any reason to believe that you are > not the intended recipient or that you have received this in > error, you must immediately destroy it. Unauthorized copying or > distribution of any information herein is strictly prohibited and > may constitute a criminal offence, a breach of Provincial or > Federal privacy laws, or may otherwise result in legal sanctions. > We ask that you notify the Delta Police Department immediately of > any transmission received in error, by reply email to the sender. > Thank you. > > > > _______________________________________________ > mrtg mailing list > [email protected] > https://lists.oetiker.ch/cgi-bin/listinfo/mrtg -- Wm. Josiah Erikson Associate Director of IT, Infrastructure Group Network Engineer System Administrator, School of CS Hampshire College Amherst, MA 01002 (413) 559-6091 pronouns: he/him/his --------------1B6260D830CB1AB60687FA66 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head> <body text="#000000" bgcolor="#FFFFFF"> <p>I would point cfgmaker at it and see what you get</p> <p>cfgmaker <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a></p> <p>That'll tell you how to specify the interfaces. You need an underscore and then interface label for each target.</p> <p> -Josiah</p> <p><br> </p> <br> <div class="moz-cite-prefix">On 8/30/18 8:26 AM, Alex Paradissis wrote:<br> </div> <blockquote type="cite" cite="mid:CAA02z-OUdR+kyyUwgYpr6Ga6C636q4dfr+4RY5eqWy9v0FqpHA@mail.gmail.com"> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <div dir="ltr"> <div dir="ltr">The last two entries are the same devices. I am using different vlan gateways currently, but there are errors with the log pull for the vlan interface that I do not get with the mgmt vlan ip. <div><br> </div> <div> <div>#---------------------------------------------------------------</div> <div>Target[10.0.0.1]: <a href="mailto:45%[email protected]" moz-do-not-send="true">45:[email protected]</a></div> <div><br> </div> <div>MaxBytes[10.0.0.1]: 12500000</div> <div><br> </div> <div>Title[10.0.0.1]: HP 8212zl(10.0.0.1): ether0</div> <div>PageTop[10.0.0.1]: <H1>Traffic Analysis for Port B22</H1></div> <div> <TABLE></div> <div> <TR><TD>System:</TD><TD> MS Core </TD></TR></div> <div> <TR><TD>Maintainer:</TD><TD>L2 to STEM</TD></TR></div> <div> <TR><TD>Interface:</TD><TD>SFP A1</TD></TR></div> <div> <TR><TD>IP:</TD><TD>sample-device(10.0.0.1)</TD></TR></div> <div> <TR><TD>Max Speed:</TD></div> <div> <TD>1250.0 kBytes/s (ethernetCsmacd)</TD></TR></div> <div> </TABLE></div> <div><br> </div> <div>#---------------------------------------------------------------</div> <div>Target[172.31.254.254]: <a href="mailto:95%[email protected]" moz-do-not-send="true">95:[email protected]</a></div> <div><br> </div> <div>MaxBytes[172.31.254.254]: 12500000</div> <div><br> </div> <div>Title[172.31.254.254]: HP 8212zl(172.31.254.254): ether0</div> <div>PageTop[172.31.254.254]: <H1>Traffic Analysis for Port D23</H1></div> <div> <TABLE></div> <div> <TR><TD>System:</TD><TD> MS Core </TD></TR></div> <div> <TR><TD>Maintainer:</TD><TD>Physical Phone</TD></TR></div> <div> <TR><TD>Interface:</TD><TD>D23</TD></TR></div> <div> <TR><TD>IP:</TD><TD>MS Core(172.31.254.254)</TD></TR></div> <div> <TR><TD>Max Speed:</TD></div> <div> <TD>1250.0 kBytes/s (ethernetCsmacd)</TD></TR></div> <div> </TABLE></div> <div><br> </div> <div>#---------------------------------------------------------------</div> <div><br> </div> <div> <div dir="ltr" class="gmail_signature"> <div dir="ltr"> <div> <div><font face="comic sans ms, sans-serif">Tx,<br> <br> Alex Paradissis<br> </font></div> <font face="comic sans ms, sans-serif">System and Network Administrator<br> </font></div> <font face="comic sans ms, sans-serif">MICDS<br> <br> (314)995-7479</font><br> </div> </div> </div> <br> </div> </div> </div> <br> <div class="gmail_quote"> <div dir="ltr">On Wed, Aug 29, 2018 at 3:55 PM Walter Harms <<a href="mailto:[email protected]" moz-do-not-send="true">[email protected]</a>> wrote:<br> </div> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div link="#0563C1" vlink="#954F72" lang="EN-US"> <div class="m_7049803686687151694WordSection1"> <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Do you have different names like this example for ports 1 and 2? These have to be different.</span></p> <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span></p> <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Target[switch_port_01_in]:</span></p> <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Target[switch_port_02_in]:</span></p> <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span></p> <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Maybe you can post your config file?</span></p> <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span></p> <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Walter</span></p> <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span></p> <p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> mrtg [mailto:<a href="mailto:mrtg-bounces%2Bwharms" target="_blank" moz-do-not-send="true">mrtg-bounces+wharms</a>=<a href="mailto:[email protected]" target="_blank" moz-do-not-send="true">[email protected]</a>] <b>On Behalf Of </b>Alex Paradissis<br> <b>Sent:</b> Wednesday, August 29, 2018 1:29 PM<br> <b>To:</b> <a href="mailto:[email protected]" target="_blank" moz-do-not-send="true">[email protected]</a><br> <b>Subject:</b> [mrtg] Monitor 2 Interfaces on a router</span></p> <p class="MsoNormal"> </p> <div> <p class="MsoNormal">All,</p> <div> <p class="MsoNormal"> I want to monitor 2 different interfaces on the same router. When I added a second section in the MRTG config file, and ran mrtg.cfg, I got a error saying duplicate definition found for target. Any suggestions on a way around that?</p> </div> <div> <p class="MsoNormal"><br clear="all"> </p> <div> <div> <div> <div> <div> <p class="MsoNormal"><span style="font-family:"Comic Sans MS"">Tx,<br> <br> Alex Paradissis</span></p> </div> <p class="MsoNormal"><span style="font-family:"Comic Sans MS"">System and Network Administrator</span></p> </div> <p class="MsoNormal"><span style="font-family:"Comic Sans MS"">MICDS<br> <br> (314)995-7479</span></p> </div> </div> </div> </div> </div> </div> <div style="font-size:7.5pt;font-family:"Arial",sans-serif;color:gray">This transmission may contain confidential or privileged communications and the sender does not waive any related rights and obligations. If you have any reason to believe that you are not the intended recipient or that you have received this in error, you must immediately destroy it. Unauthorized copying or distribution of any information herein is strictly prohibited and may constitute a criminal offence, a breach of Provincial or Federal privacy laws, or may otherwise result in legal sanctions. We ask that you notify the Delta Police Department immediately of any transmission received in error, by reply email to the sender. Thank you.</div> </div> </blockquote> </div> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">_______________________________________________ mrtg mailing list <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> <a class="moz-txt-link-freetext" href="https://lists.oetiker.ch/cgi-bin/listinfo/mrtg">https://lists.oetiker.ch/cgi-bin/listinfo/mrtg</a> </pre> </blockquote> <br> <pre class="moz-signature" cols="72">-- Wm. Josiah Erikson Associate Director of IT, Infrastructure Group Network Engineer System Administrator, School of CS Hampshire College Amherst, MA 01002 (413) 559-6091 pronouns: he/him/his</pre> </body> </html> --------------1B6260D830CB1AB60687FA66-- --===============2103770732153333982== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg --===============2103770732153333982==--