Skip to content

Monitors

Monitors let you save search filters as persistent, reusable alert conditions. This is useful for modeling custom alerts that Nzyme does not support out of the box.

A user must have the Manage Monitoring permission of a subsystem to configure related monitors. Any user can manually load monitors as filters and perform manual searches.

How Monitors Work

Every minute, Nzyme checks whether any monitor is due to run, based on its configured Interval. The default Interval is 1 minute, meaning the monitor executes every minute.

When a monitor runs, Nzyme performs a search using the configured filters and triggers a detection event when the result count exceeds the configured Trigger Condition.

A monitor that is still marked as pending or executing after 15 minutes, or after three times its Interval if that is longer, is considered stuck, for example because a node restarted while it was running. Nzyme resets such a monitor automatically and logs a warning. It then runs again on the next scheduling check.

Creating a Monitor

You can create a monitor from any supported search page by clicking Save as new Monitor, provided your user has the required permissions.

Location

A monitor can be assigned to a location when it is created. Its alerts are then raised at that location. The location is not derived from the taps of the monitor, because a monitor counts results across all of its taps. A monitor without a location raises its alerts at No Location.

Editing Monitors

There are two ways to edit a monitor, depending on what you want to change.

Editing the Filter and Tap Selection

To change a monitor's filters or tap selection, open the search page and click Load Existing Monitor. Adjust the filters using the standard filter configuration and the taps using the standard tap selector, then click Save Monitor to overwrite the loaded monitor.

Editing the Monitor Configuration

To change monitor parameters such as name, description, location, interval, lookback, or trigger condition, open the monitor from the subsystem's monitors page and click Edit Monitor.

After the location of a monitor was changed, the monitor raises a new alert at the new location. The alert at the previous location is kept and becomes inactive. The alert timeline on the monitor details page covers the alerts of all locations the monitor was assigned to.

Alert and Event Generation

Monitors generate a detection event when the search result count exceeds the configured Trigger Condition. The event type depends on the subsystem the monitor belongs to, so that subscriptions can be scoped to a subsystem:

Subsystem Event Type
Ethernet MONITOR_TRIGGERED_ETHERNET
WiFi MONITOR_TRIGGERED_DOT11
Bluetooth MONITOR_TRIGGERED_BLUETOOTH

The event carries the name, type and UUID of the monitor, the configured trigger condition and the result count that caused the trigger. Notifications also carry the location of the monitor.