[mrtg] Monitor 2 Interfaces on a router

Wm. Josiah Erikson wjerikson at hampshire.edu
Thu Aug 30 14:41:06 CEST 2018


I would point cfgmaker at it and see what you get

cfgmaker public at 10.0.0.1

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:public at 10.0.0.1 <mailto:45%3Apublic 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
> <mailto:95%3Apublic 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
> <mailto: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
>     <mailto:mrtg-bounces%2Bwharms>=deltapolice.ca at lists.oetiker.ch
>     <mailto: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 <mailto: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.
>
>
>
> _______________________________________________
> mrtg mailing list
> mrtg at lists.oetiker.ch
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/mrtg/attachments/20180830/7ff86e7e/attachment-0001.html>


More information about the mrtg mailing list