Skip to content

Commit

Permalink
chore: pysnmp debug docs
Browse files Browse the repository at this point in the history
Signed-off-by: Ilya Kheifets <[email protected]>
  • Loading branch information
ikheifets-splunk committed Dec 19, 2024
1 parent 7022b3c commit 269bf9d
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions docs/internal/pysnmp_debug.md
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"
```

0 comments on commit 269bf9d

Please sign in to comment.