-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Ilya Kheifets <[email protected]>
- Loading branch information
1 parent
7022b3c
commit 269bf9d
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# PYSNP debug mode (internal) | ||
|
||
During the on-calls and escalations, it might be helpful to understand low-levels details that are happening on SNMP protocol side. For that we are using `debug logger` from `pysnmp lib`. | ||
|
||
|
||
List of available debug modes: | ||
* io | ||
* dsp | ||
* msgproc | ||
* secmod | ||
* mibbuild | ||
* mibview | ||
* mibinstrum | ||
* acl | ||
* proxy | ||
* app | ||
* all | ||
|
||
|
||
## docker-compose | ||
|
||
Add on `.env` file `PYSNMP_DEBUG` variable and specify debug modes in comma-separated format: | ||
|
||
``` | ||
PYSNMP_DEBUG=dsp,msgproc,io | ||
``` | ||
|
||
## k8s | ||
|
||
Add on top level of `values.yaml` file `pysnmpDebug` variable and specify debug modes (using comma-separated format): | ||
|
||
``` | ||
pysnmpDebug: "dsp,msgproc,io" | ||
``` |