Re: Monitor 2 Interfaces on a router

Alex Paradissis <[email protected]> Thu, 30 Aug 2018 07:26:11 -0500
Newsgroups gmane.network.mrtg.user
Message-ID <CAA02z-OUdR+kyyUwgYpr6Ga6C636q4dfr+4RY5eqWy9v0FqpHA@mail.gmail.com>
--===============4220053365448858159==
Content-Type: multipart/alternative; boundary="000000000000d5b1520574a62eb4"

--000000000000d5b1520574a62eb4
Content-Type: text/plain; charset="UTF-8"

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]

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]

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]> 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:[email protected]] *On
> Behalf Of *Alex Paradissis
> *Sent:* Wednesday, August 29, 2018 1:29 PM
> *To:* [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.
>

--000000000000d5b1520574a62eb4
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr">The last two entries are the same devices=
.=C2=A0 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 vl=
an ip.<div><br></div><div><div>#-------------------------------------------=
--------------------</div><div>Target[10.0.0.1]: <a href=3D"mailto:45%3Apub=
[email protected]">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]: &lt;H1&gt;Traffic Analysis for Port=
 B22&lt;/H1&gt;</div><div>=C2=A0 &lt;TABLE&gt;</div><div>=C2=A0&lt;TR&gt;&l=
t;TD&gt;System:&lt;/TD&gt;&lt;TD&gt; MS Core &lt;/TD&gt;&lt;/TR&gt;</div><d=
iv>=C2=A0&lt;TR&gt;&lt;TD&gt;Maintainer:&lt;/TD&gt;&lt;TD&gt;L2 to STEM&lt;=
/TD&gt;&lt;/TR&gt;</div><div>=C2=A0&lt;TR&gt;&lt;TD&gt;Interface:&lt;/TD&gt=
;&lt;TD&gt;SFP A1&lt;/TD&gt;&lt;/TR&gt;</div><div>=C2=A0&lt;TR&gt;&lt;TD&gt=
;IP:&lt;/TD&gt;&lt;TD&gt;sample-device(10.0.0.1)&lt;/TD&gt;&lt;/TR&gt;</div=
><div>=C2=A0&lt;TR&gt;&lt;TD&gt;Max Speed:&lt;/TD&gt;</div><div>=C2=A0&lt;T=
D&gt;1250.0 kBytes/s (ethernetCsmacd)&lt;/TD&gt;&lt;/TR&gt;</div><div>=C2=
=A0&lt;/TABLE&gt;</div><div><br></div><div>#-------------------------------=
--------------------------------</div><div>Target[172.31.254.254]: <a href=
=3D"mailto:95%[email protected]">95:[email protected]</a></div><d=
iv><br></div><div>MaxBytes[172.31.254.254]: 12500000</div><div><br></div><d=
iv>Title[172.31.254.254]: HP 8212zl(172.31.254.254): ether0</div><div>PageT=
op[172.31.254.254]: &lt;H1&gt;Traffic Analysis for Port D23&lt;/H1&gt;</div=
><div>=C2=A0 &lt;TABLE&gt;</div><div>=C2=A0&lt;TR&gt;&lt;TD&gt;System:&lt;/=
TD&gt;&lt;TD&gt; MS Core &lt;/TD&gt;&lt;/TR&gt;</div><div>=C2=A0&lt;TR&gt;&=
lt;TD&gt;Maintainer:&lt;/TD&gt;&lt;TD&gt;Physical Phone&lt;/TD&gt;&lt;/TR&g=
t;</div><div>=C2=A0&lt;TR&gt;&lt;TD&gt;Interface:&lt;/TD&gt;&lt;TD&gt;D23&l=
t;/TD&gt;&lt;/TR&gt;</div><div>=C2=A0&lt;TR&gt;&lt;TD&gt;IP:&lt;/TD&gt;&lt;=
TD&gt;MS Core(172.31.254.254)&lt;/TD&gt;&lt;/TR&gt;</div><div>=C2=A0&lt;TR&=
gt;&lt;TD&gt;Max Speed:&lt;/TD&gt;</div><div>=C2=A0&lt;TD&gt;1250.0 kBytes/=
s (ethernetCsmacd)&lt;/TD&gt;&lt;/TR&gt;</div><div>=C2=A0&lt;/TABLE&gt;</di=
v><div><br></div><div>#----------------------------------------------------=
-----------</div><div><br></div><div><div dir=3D"ltr" class=3D"gmail_signat=
ure"><div dir=3D"ltr"><div><div><font face=3D"comic sans ms, sans-serif">Tx=
,<br><br>Alex Paradissis<br></font></div><font face=3D"comic sans ms, sans-=
serif">System and Network Administrator<br></font></div><font face=3D"comic=
 sans ms, sans-serif">MICDS<br><br>(314)995-7479</font><br></div></div></di=
v><br></div></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr">On =
Wed, Aug 29, 2018 at 3:55 PM Walter Harms &lt;<a href=3D"mailto:wharms@delt=
apolice.ca">[email protected]</a>&gt; wrote:<br></div><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">





<div lang=3D"EN-US" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"m_7049803686687151694WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d">Do you have different names like this=
 example for ports 1 and 2? These have to be different.<u></u><u></u></span=
></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d"><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d">Target[switch_port_01_in]:<u></u><u><=
/u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d">Target[switch_port_02_in]:<u></u><u><=
/u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d"><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d">Maybe you can post your config file?<=
u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d"><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d">Walter<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d"><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:11.0pt;font-family:&quot=
;Calibri&quot;,sans-serif">From:</span></b><span style=3D"font-size:11.0pt;=
font-family:&quot;Calibri&quot;,sans-serif"> mrtg [mailto:<a href=3D"mailto=
:mrtg-bounces%2Bwharms" target=3D"_blank">mrtg-bounces+wharms</a>=3D<a href=
=3D"mailto:[email protected]" target=3D"_blank">deltapolice.c=
[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=3D"mailto:[email protected]" target=3D"_blank">mrtg@=
lists.oetiker.ch</a><br>
<b>Subject:</b> [mrtg] Monitor 2 Interfaces on a router<u></u><u></u></span=
></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<p class=3D"MsoNormal">All,<u></u><u></u></p>
<div>
<p class=3D"MsoNormal">=C2=A0 I want to monitor 2 different interfaces on t=
he same router.=C2=A0 When I added a second section in the MRTG config file=
, and ran mrtg.cfg, I got a error saying duplicate definition found for tar=
get.=C2=A0 Any suggestions on a way around that?<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><br clear=3D"all">
<u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Comic Sans MS&quot;=
">Tx,<br>
<br>
Alex Paradissis</span><u></u><u></u></p>
</div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Comic Sans MS&quot;=
">System and Network Administrator</span><u></u><u></u></p>
</div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Comic Sans MS&quot;=
">MICDS<br>
<br>
(314)995-7479</span><u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
<div style=3D"font-size:7.5pt;font-family:&quot;Arial&quot;,sans-serif;colo=
r: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 h=
ave received this in error, you
 must immediately destroy it. Unauthorized copying or distribution of any i=
nformation herein is strictly prohibited and may constitute a criminal offe=
nce, a breach of Provincial or Federal privacy laws, or may otherwise resul=
t in legal sanctions. We ask that
 you notify the Delta Police Department immediately of any transmission rec=
eived in error, by reply email to the sender. Thank you.</div>
</div>

</blockquote></div>

--000000000000d5b1520574a62eb4--


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

--===============4220053365448858159==--