How to make eHealth assign unique discover keys if the ifDescr field is the same for multiple elements on a device

Document ID : KB000023265
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:

How to make eHealth assign unique discover keys if the ifDescr field is the same for multiple elements on a device

 

Answer:

Crea a new Environment key: NH_DISCOVER_UNIQ_KEY. 

The value of this variable will determine what additional information eHealth appends to the discover key in order to avoid duplicate discovery key problems.

 

Valid Values for NH_DISCOVER_UNIQ_KEY:

 

 NH_DISCOVER_UNIQ_KEY = 1 : append ifIndex to nmsID
 NH_DISCOVER_UNIQ_KEY = 2 : append ifDescr to nmsID
 NH_DISCOVER_UNIQ_KEY = 3 : append ifName ($IFX_TABLE.1.1) to nmsID
 NH_DISCOVER_UNIQ_KEY = 4 : append ifAlias to nmsID


How to Set or Change eHealth Environment Variables-NT
How to Set or Change eHealth Environment Variables-Unix