OK, So we have Switch A.
Switch A is already monitored and is monitoring interfaces Eth1, eth2 and eth3. Eth4 doesnt exist yet.
Someone comes along and ADDs interface Eth4 to the switch.
After the default 30 min "rediscovery" interval, If we go to SwitchA and "list resouces" it shows a cached version, with Eth4 in the list (not selected). Its been discovered, but its not been Added to Orion/NPM for Monitoring.
It does not seem to appear as an "interface added" event in the Audit/Event tables, this only happens once its been selected for monitoring (Unless Im wrong, or we have a bug?).
So my question is
a) how do we know the device has had a new interface appear (Via the API, or in an SWQL table).
b) Where are the "Cached" results stored? the interface appears in the cached "list resouces" element on the Web Gui, but does not appear against the NodeID in the Orion.NPM.Interfaces table in SWQL.
We use an External platform and the API to track changes, and update monitored interfaces. But it can only do that by knowing if an interface has been added.
For example, our API sees an Audit event for "interface changed" and then the API takes the nodeID and does a re-discovery, selecting which interfaces we want.When we add a new interface like in the above example, because that interface is not monitored, we dont get an "interface added" event.
Any help greatly appreciated!