SNMP Notifier Environment Variables
Use the SNMP notifier environment variables for configuring snmp-notifier for SNMP V2c or V3.
SNMP Notifier Environment Variables describes the snmp-notifier
environment variables.
Environment Variable | Description | Default | Required |
---|---|---|---|
SNMP_VERSION | The SNMP version to use. Either V2c or V3 | V2c | Optional |
SNMP_DESTINATION | The destination host address and port for the external SNMP
client. For example:
zabbix-snmptraps-service.monitoring.svc.cluster.local:1162 |
127.0.0.1:1162 | Required |
SNMP_TRAP_DEFAULT_OID | The default MTX TRAP OID. Defaults to the OID for the sysGenericErrorMessage. | 1.3.6.1.4.1.35838.1. 4.2.1.9 |
Optional |
SNMP_RETRIES | The number of SNMP retries. Must be a +ve integer. | 1 | Optional |
SNMP_NOTIFIER_COMMUNITY | public | Optional | |
SNMP_AUTHENTICATION_ENABLED | (V3 only) When set to true, enables SNMP authentication. | false | Required |
SNMP_AUTHENTICATION_PROTOCOL | (V3 only) The SNMP authentication to use. Set to MD5 or SHA. | MD5 | Required |
SNMP_AUTHENTICATION_USERNAME | (V3 only) String. The SNMP authentication username. | adm1 | Required |
SNMP_AUTHENTICATION_PASSWORD | (V3 only) String. The password for the SNMP authentication user. | adm1pass | Required |
SNMP_PRIVATE_ENABLED | (V3 only) When set to true, enables SNMP privacy protocol. | false | Required |
SNMP_PRIVATE_PROTOCOL | (V3 only) The SNMP privacy protocol to use. Set to DES or AES (. | DES | Optional. Required if SNMP_PRIVATE_ENABLED is set to true. |
SNMP_PRIVATE_PASSWORD | (V3 only) String. The SNMP privacy password. | admpvt1 | Optional. Required if SNMP_PRIVATE_ENABLED is set to true. |
SNMP_SECURITY_ENGINE_ID | (V3 only) String. The SNMP security engine ID. | eSecId1 | Required |
SNMP_CONTEXT_ENGINE_ID | (V3 only) Hexadecimal number for the SNMP context engine ID, for example: 0x00102030405. To determine the ID of the engine, refer to your device SNMP settings. | - | Required |
SNMP_CONTEXT_NAME | (V3 only) String. the SNMP context name. | eCtxName | Required |
SNMP_LOGLEVEL | The SNMP log level. One of:
|
error | Optional |