Name

atmport or etherport — check operating status of specific ports

Synopsis

[ fooswitch switch=192.168.0.4 port=3A2 vpi=0 ]atmport

[fooswitch switch=192.168.0.4 port=5 ]etherport

Description

The atmport monitor is configured to work with Marconi ATM gear. It has been tested with the ASX200BX, ASX1000, LE25, LE155, and ESX3000. It will use SNMP to query the switch specified for the status of the VPT given. It checks that signalling is up. The etherport module queries an ethernet switch for the link state of that port and reports accordingly.

switch the ip address of the host to SNMP query

community the SNMP community to use default: public

port (atmport) Symbolic name for port (Marconi convention) or the number used as the SNMP index (etherport) SNMP index number for the port.

vpi (atmport only) the Path number to monitor

To find numeric port numbers for the etherport module, use snmpwalk:

snmpwalk 10.100.101.61 public ifDescr
interfaces.ifTable.ifEntry.ifDescr.2 = FastEthernet0/1
interfaces.ifTable.ifEntry.ifDescr.3 = FastEthernet0/2 

For FastEthernet0/1, I would use port 2. ifName or ifAlias may yield the desired result depending on the switch manufacturer.