Plugin to get mac address table of a port of a switch


#1

hello,

I would like to know the exact location of a machine giving a mac address: on which switch and on which port.

I was thinking of getting through a script the mac table of all ports, and defining a host for each one in nagios with the parents directive set to the switch.

Does anybody know if it’s possible and how to do that? I looked in the public MIBS like 1213, but we can’t access to the mac table in snmp.

Or what other solution do I have?