snmpm_user
snmpm_user
Module
snmpm_user
Module summary
Behaviour module for the SNMP manager user.
Description
This module defines the behaviour of the manager user. A snmpm_user
compliant module must export the following functions:
-
handle_error/3
-
handle_agent/4
-
handle_pdu/4
-
handle_trap/3
-
handle_inform/3
-
handle_report/3
-
handle_invalid_result/2
The semantics of them and their exact signatures are explained below.
Some of the function has no defined return value (void()
), they can of course return anything. But the functions that do have specified return value(s) must adhere to this. None of the functions can use exit of throw to return.
If the manager is not configured to