The latest development version of this page may be more current than this released 2.5.0 version.
CONFIG_NET_MGMT_EVENT_MONITOR

Monitor network events from net shell

Type: bool

Help

Allow user to monitor network events from net shell using “net events [on|off]” command. The monitoring is disabled by default. Note that you should probably increase the value of NET_MGMT_EVENT_QUEUE_SIZE from the default in order not to miss any events.

Direct dependencies

NET_SHELL && NET_MGMT_EVENT_INFO && NET_MGMT_EVENT && NETWORKING

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At subsys/net/ip/Kconfig.mgmt:56

Included via Kconfig:8Kconfig.zephyr:34subsys/Kconfig:37subsys/net/Kconfig:87subsys/net/ip/Kconfig:828

Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → IP stack → Network Management API → Add support for runtime network event notifications → Enable passing information along with an event

config NET_MGMT_EVENT_MONITOR
    bool "Monitor network events from net shell"
    depends on NET_SHELL && NET_MGMT_EVENT_INFO && NET_MGMT_EVENT && NETWORKING
    help
      Allow user to monitor network events from net shell using
      "net events [on|off]" command. The monitoring is disabled by
      default. Note that you should probably increase the value of
      NET_MGMT_EVENT_QUEUE_SIZE from the default in order not to miss
      any events.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)