module.snmp-trap¶
Snmp-trap module¶
type |
object |
||
properties |
|||
|
The id of the template to use for this file |
||
type |
string |
||
|
The variables and their values to be replaced from the template |
||
type |
object |
||
additionalProperties |
|||
|
The variables files to use to replace the variables. The first file of the list will take precedence over the following one. Template variables take precedence over the contents of the files. |
||
type |
array |
||
items |
type |
string |
|
|
If the value is set to true, manual editing of this file should be avoided, as the composer will override the value in the next generation. |
||
type |
boolean |
||
|
The configuration of the Rabbit MQ used for communication |
||
|
The configuration of module’s logging |
||
default |
moduleLogLevel |
INFO |
|
externalLogLevel |
WARN |
||
|
The configuration to record the incoming TRAP (used for by example : replay) |
||
default |
enabled |
False |
|
maxTrapPerFile |
5000 |
||
maxSizeMo |
1000 |
||
|
The SNMP configuration |
||
additionalProperties |
False |
MessagingConfigurationEntity¶
type |
object |
|
properties |
||
|
The ID of the client, must be different for each module instance. |
|
type |
string |
|
|
The host of the rabbit MQ provider |
|
type |
string |
|
|
The size of the buffer to use when the broker is disconnected (default: 60000). |
|
type |
integer |
|
minimum |
1 |
|
default |
60000 |
|
|
Flag to indicate to store the message (The path /osp/messages must be mount to a volume). |
|
type |
boolean |
|
default |
False |
|
additionalProperties |
False |
LoggingConfigurationEntity¶
type |
object |
|
properties |
||
|
The log level for module’s behavior logging |
|
type |
string |
|
enum |
TRACE, DEBUG, INFO, WARN, ERROR |
|
default |
INFO |
|
|
The log level for module’s internal script behavior logging (if not set the moduleLogLevel will be used) |
|
type |
string |
|
enum |
TRACE, DEBUG, INFO, WARN, ERROR |
|
|
The log level for external libraries logging |
|
type |
string |
|
enum |
TRACE, DEBUG, INFO, WARN, ERROR |
|
default |
WARN |
|
additionalProperties |
False |
SerializationConfigurationEntity¶
type |
object |
|
properties |
||
|
The path where the trap will be saved |
|
type |
boolean |
|
default |
False |
|
|
The maximum of trap inside the file. |
|
type |
integer |
|
default |
5000 |
|
|
The maximum size of the SNMP trap folder, this value is only evaluated when the maxTrapPerFile number is reached for a file, so this is a rule of thumb. |
|
type |
integer |
|
default |
1000 |
|
additionalProperties |
False |
SnmpConfigurationEntity¶
type |
object |
properties |
|
|
The configuration for V3 notifications |
additionalProperties |
False |
V3FileConfiguration¶
type |
object |
|
properties |
||
|
The EngineId of the connector (osp-snmp-trap) the attempt format is hex-string in uppercase like 0A0A0A0A0A0A |
|
type |
string |
|
maxLength |
64 |
|
minLength |
10 |
|
|
Enable the EngineID discovery compatibility mode to send the engineBoots and engineTime on the same response as the engineID. |
|
type |
boolean |
|
default |
False |
|
additionalProperties |
False |