Link Status Updating
Subscribe

From OpenNMS

Jump to: navigation, search

For the specification look here.

Contents

Link Status Updating

Link status will display the current status of a link between maps or elements. A green link will mean that the status is 'Normal' or 'Good' and a red link will mean that the status is 'Failed' or 'Bad'. Map link status is updated on refresh. The map has an automatic timer that will refresh every five minutes you can trigger a refresh before that if you click the 'Reload' button then click the 'Refresh' drop down, this will force a refresh of the map.

This feature has a prerequisite. See below.

Prerequisites

Automatic_Map_Creation

Examples

Once you have provisioned the map, as describer in Automatic_Map_Creation, a link between 'site-a-site-b-link' and 'site-b-site-a-link' will be established and shown as a green line between map 'Site A' and 'Site B', showing a 'Normal' or 'Green' status.

Simulate Link Status Failed

To simulate a monitor detection of a link failure you can send a 'dataLinkFailed' event. For instance if there was a link between site-a-site-b-link and site-b-site-a-link. To send a dataLinkFailed event use the send-event.pl command as follows:

send-event.pl uei.opennms.org/internal/linkd/dataLinkFailed localhost \ 
      --parm 'endPoint1 site-a-site-b-link' \ 
      --parm 'endPoint2 site-b-site-a-link'

View the map in the web ui and, after the refresh, the link between "Site A" and "Site B" should display a 'Failed' or 'Bad' status.

Simulating Link Status Restored

To simulate the restoration of a link you can sending a 'dataLinkRestored' event for the link between site-a-site-b-link and site-b-site-a-link. To send a dataLinkRestored event use the send-event.pl command as follows:

send-event.pl uei.opennms.org/internal/linkd/dataLinkRestored localhost \ 
      --parm 'endPoint1 site-a-site-b-link' \ 
      --parm 'endPoint2 site-b-site-a-link' 

View the map in the web ui and verify that once the map refreshes, the link between "Site A" and "Site B" now displays a 'Normal' or 'Good' status.

Version History/Availability