Hi Alex, The target "ID" if you will, is in the brackets []. This has to be unique for the whole config file, and determines the file names of the output.
In my experience, you can make it what you want. I'm experimenting with custom IDs out of a database. I bring this up because if the 172.31.254.254 graph works, then use that IP address instead. Try changing "Target[10.0.0.1]: 45:[email protected]" to "Target[172.31.254.254_45]: 45:[email protected]". You can also take the working graph and add _95 to the target ID. So "Target[172.31.254.254_95]: 95:[email protected]" Sincerely, Edwin A Epstein, III Rhinobee Internet Services 707.237.7504 ext 209 707.737.0288 Mobile ----- Original Message ----- From: "mrtg-request" <[email protected]> To: "mrtg" <[email protected]> Sent: Thursday, August 30, 2018 5:41:13 AM Subject: mrtg Digest, Vol 131, Issue 2 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. > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.oetiker.ch/pipermail/mrtg/attachments/20180830/02d54f0e/attachment-0001.html> ------------------------------ Message: 3 Date: Thu, 30 Aug 2018 08:41:06 -0400 From: "Wm. Josiah Erikson" <[email protected]> To: [email protected] Subject: Re: [mrtg] Monitor 2 Interfaces on a router Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.oetiker.ch/pipermail/mrtg/attachments/20180830/7ff86e7e/attachment.html> ------------------------------ Subject: Digest Footer _______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg ------------------------------ End of mrtg Digest, Vol 131, Issue 2 ************************************ (null) _______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
