Issue:
nhConfig:nh75ip01 rest:Fatal Error: Assertion for 'Bad' failed, exiting (Attempt to insert duplicate hashKey 5490d4a10008aa70 into device lookup. in file ../dccDevice.C, line 456).
Error: Invocation of command 'nhiDciMerge' failed.
Environment:
6.3.2.x
Resolution:
With the above hashKey 5490d4a10008aa70 being used as an example, run the following command as the ehealth user:
$NH_HOME/bin/sys/nhisql "select distinct name, element_id from nh_element where DEVICE_HASH_KEY='5490d4a10008aa70'"
Then based on the output results, delete and re-discover the elements that are showing the duplicate hashKey. You should now be able to discover new elements successfully