On Mon, 25 Mar 2019 10:59:58 +0000 Daniel Gryzbon Daniel.Gryzbon@hyundai-motor.cz wrote:
We are now testing your product and we want to know, if is possible to track or be informed if some interface is not used for some time - e.q. no MAC address visible for long time or interface is down and not administrative down for long time.
For example i try to configure alert profile with matchfield value.id cam.end_time with filter not equals 9999-12-31 23:59:59.999999 and added to filter group G01:All alerts with Add operation but no alert appeared on status tab.
Is possible to somehow monitor it?
Hi Daniel,
you can get a report on this in the web ui, but there is currently no way to monitor and send notifications in the way you are attempting.
Individually per switch, in the ipdevinfo ports listing, you can click to enable the "Last used" column, and sort by this.
The new interface browser has the same option, to add a last-used column, but, unfortunately, it seems you cannot sort the results based on this value (probably because the "last used" value is a request-per-interface in the API).
Usually, these UIs are used to find ports that can safely be re-allocated when needed on individual switches.
However, the data needed to create a monitoring process, or a more concise report, exists in the database. Querying it across all switch ports in the database may be a very high-load request for PostgreSQL to handle, though.
(BTW: Match fields can only be used to control which data from a generated alert can be matched against in an alert profile. It does not help you to generate the actual alerts)