[mrtg] HP Interface A1 (Alex Paradissis)

Edwin A. Epstein III ed at rhinobee.com
Tue Aug 22 02:29:27 CEST 2017


Hi Alex,

Have you tried referencing it differently, and did you use cfgmaker to create the configuration?

Referencing by numbers is the default, but other methods are available. The default, referencing by number, looks like this:

Target[10.0.0.1_1]: 1:mycommunity at 10.0.0.1

Referencing by interface description will look like this:

Target[10.0.0.2_ath0]: \ath0:mycommunity at 10.0.0.1

The "\" is what apparently changes the mode of operation. You can use cfgmaker to generate it by providing --ifref=option in the command. We use --ifref=descr quite a bit. That way it references it by a friendlier name like eth0, eth1, em0, etc. and should handle a character just fine. Labels can be switched out to use a different system in the same way.  --ifdesc=descr will have labels replaced with the descriptive name (ath0) instead of just the number. 

We have a similar problem with hyphens inside of a name (Port-1) not being monitored correctly until we change them back to referencing by numbers instead. You can find the different values for --ifref and --ifdesc in the manual online. Here is a short list:

nr  Interface Number
ip  IP Address
eth Ethernet Number
descr Interface Description
name Interface Name
type Interface Type





Sincerely, 

Edwin A Epstein, III 
Rhinobee Internet Services 
707.237.7504 ext 209 
707.737.0288 Mobile

----- Original Message -----
From: "mrtg-request" <mrtg-request at lists.oetiker.ch>
To: "mrtg" <mrtg at lists.oetiker.ch>
Sent: Saturday, August 19, 2017 3:00:03 AM
Subject: mrtg Digest, Vol 121, Issue 1

Send mrtg mailing list submissions to
	mrtg at lists.oetiker.ch

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
or, via email, send a message with subject or body 'help' to
	mrtg-request at lists.oetiker.ch

You can reach the person managing the list at
	mrtg-owner at lists.oetiker.ch

When replying, please edit your Subject line so it is more specific
than "Re: Contents of mrtg digest..."


Today's Topics:

   1. HP Interface A1 (Alex Paradissis)


----------------------------------------------------------------------

Message: 1
Date: Fri, 18 Aug 2017 15:11:39 -0500
From: Alex Paradissis <aparadissis at micds.org>
To: mrtg at lists.oetiker.ch
Subject: [mrtg] HP Interface A1
Message-ID:
	<CAA02z-MVemYR7_qOe_yhdq8L0om7zbh-2BTgzF62ZrsdRp3DdA at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

When I monitor a numbered port on a switch it works, but when I use the
uplink, or trunk, port for HP switching and routing; there is a letter.  It
seems as if any letter before the number will generate a error.  Is there a
work around for this?

Tx,

Alex Paradissis
System and Network Administrator
MICDS

(314)995-7479
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/mrtg/attachments/20170818/72d426d8/attachment-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
mrtg mailing list
mrtg at lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg


------------------------------

End of mrtg Digest, Vol 121, Issue 1
************************************
(null)



More information about the mrtg mailing list