With IPHost Network Monitor you can run simple snmp requests against a D-Link device in your network.
linePortOperStatus
line Port Operation Status
1.3.6.1.4.1.3646.1300.2.1.12.1.1.2
This object indicates the line port's operational status. The notPresent(3) status indicates the line port is physically removed (note this may or may not be possible depending on the type of port). The operational(1) status indicates that the port is enabled (see rptrPortAdminStatus) and working, even though it might be auto-partitioned (see rptrPortAutoPartitionState). If this object has the value operational(1) and rptrPortAdminStatus is set to disabled(2), it is expected that this object's value will soon change to notOperational(2).
Back to ASKEY-SYSTEM-MIB MIB page.
IPHost Network monitor allows you to monitor linePortOperStatus on D-Link device via the SNMP protocol. Download IPHost Network Monitor (500 monitors for 30 days, 50 monitors free forever) to start monitoring D-Link switches right now.