Determine Local IPAddress on Minion/OpenNMS system

Description

In order to fetch device config, ssh script need to configure Monitoring system (OpenNMS/Minion) IPAddress.

For this determination, we used following snippet.

 

This works fine on linux/Mac development systems.

Need to ensure if this works with Docker and any other systems that users can deploy Minion/OpenNMS

 

May need to configure this IP on Minion ?

Acceptance / Success Criteria

  • IP address can be determined for IPv4 or IPv6 connections

  • IP addresses can be specified by properties

Lucidchart Diagrams

Activity

Christian Pape March 10, 2022 at 2:18 PM

Merged.

Christian Pape March 9, 2022 at 9:40 AM

Fixed

Details

Assignee

Reporter

Labels

Story Points

Sprint

Fix versions

Priority

PagerDuty

Created February 28, 2022 at 11:51 PM
Updated June 7, 2022 at 4:51 PM
Resolved March 10, 2022 at 2:18 PM