[prev in list] [next in list] [prev in thread] [next in thread]
List: mrtg
Subject: Re: [mrtg] Auto-Discovering IPs of Switch Ports
From: "McDonald, Dan" <Dan.McDonald () austinenergy ! com>
Date: 2009-10-20 21:31:44
Message-ID: 1256074304.29590.43.camel () mcdonalddj-dc ! austin-energy ! net
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Wed, 2009-10-21 at 10:22 +1300, Steve Shipway wrote:
> MRTG just queries what its been told to graph, so it wont get anything
> like this.
>
>
>
> Cfgmaker (the utility that generates the .cfg files for MRTG to use)
> will not do this by default, but with a bit of work
More than a bit. the BRIDGE-MIB was implemented sub-optimally, so it's
a huge endeavor to make it go right. The problem is that you have to
determine what vlan is associated with the port, then the BRIDGE-MIB
instance associated with the vlan, then you can start to hunt down mac
addresses. And every instance of the BRIDGE-MIB has a separate snmp
community string or snmpv3 context-id...
> it might be possible to make an interface template for your devices
> that pulls out the last MAC address seen on a port. Mapping this to
> an IP would be a bit more work but not impossible,
Actually, that's easier, since ipNetToMedia is a mib that is laid out in
a sane fashion.
> though you'd probably need something running constantly creating a
> mapping database?
>
>
>
> The way we get around this here is that our Network people set the
> port description to be the hostname or IP of the device that is
> attached when they set up the port. This way I can use the standard
> settings of cfgmaker to pull out the port description and use that for
> linking to the required host.
Yes, much easier...
--
Daniel J McDonald, CCIE # 2495, CISSP # 78281, CNX
www.austinenergy.com
["signature.asc" (application/pgp-signature)]
_______________________________________________
mrtg mailing list
mrtg@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic