Hi All,
I’ve observed that volumes are automatically imported during API interface discovery. Is there a way to disable or prevent this volume discovery behavior?
# Code to Discover Interfaces - Appears there is a bug because the interface filter doesn't work
int_results = swis.invoke('Orion.NPM.Interfaces', 'DiscoverInterfacesOnNode', node_id)
ge_only = [x for x in int_results['DiscoveredInterfaces'] if x['Caption'].startswith('G')]
int_results2 = swis.invoke('Orion.NPM.Interfaces', 'AddInterfacesOnNode', node_id, ge_only, 'AddNoPollers')
# Options:
# 'AddDefaultPollers' - applies the default pollers for the interface type.
# 'AddAllPollers' - applies all available pollers.
# 'AddNoPollers' - does not apply any pollers.
List of Volumes I would like to remove:
Virtual memory |
Memory buffers |
Cached memory |
Shared memory |
Swap space |