[mrtg] Monitor 2 Interfaces on a router

Alex Paradissis aparadissis at micds.org
Thu Aug 30 14:26:11 CEST 2018


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:public at 10.0.0.1

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:public at 172.31.254.254

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 <wharms at deltapolice.ca> 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=deltapolice.ca at lists.oetiker.ch] *On
> Behalf Of *Alex Paradissis
> *Sent:* Wednesday, August 29, 2018 1:29 PM
> *To:* mrtg at lists.oetiker.ch
> *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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/mrtg/attachments/20180830/02d54f0e/attachment.html>


More information about the mrtg mailing list