nhDeleteElements does not delete elements on the first execution (Legacy KB ID CNC TS14361 )

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

The nhDeleteElements command is working properly for the lanWan/routerSwitch elements. 

If an element is polling for both lanWan and routerSwitch statistics, the first execution of the nhDeleteElements command will only disable the polling of the lanWan statistics (storeInDb is set to no).

The element will still be polled for the routerSwitch statistics (does not use a license), as the statistics are aggregated to the Parent RH element.

If the nhDeleteElements command is run a second time, the element will be removed from the poller configuration.

Related Issues/Questions:
nhDeleteElements does not delete elements on the first execution
To delete elements via command line, nhDeleteElements has to be executed twice
The nhDeleteElements command is not working properly
Unable to delete an element from the command line on the first try
This only occurs for elements that are being polled for both lanWan and routerSwitch statistics
 Error: "nhModifyElements fails with: Error: Invocation of command 'nhiConfig' failed"

Problem Environment:
The elements being deleted have the "Record Detail Data" button checked off in the poller UI.
eHealth

Additional Information:
For any element that does not have the "Record Detail Data" button checked, the nhDeleteElements command will remove the element on the first execution.


(Legacy KB ID CNC TS14361 )