maxwo / snmp_notifier

A webhook to relay Prometheus alerts as SNMP traps, because sometimes, you have to deal with legacy
Apache License 2.0
55 stars 33 forks source link

How to configure the SNMP destination during runtime? Is there any REST API provided by SNMP Notifier? #157

Closed bsomani closed 1 month ago

bsomani commented 1 year ago

What did you do? I want to configure the snmp server destination during runtime of pod in K8s What did you expect to see? Is there any restapi provided ? or any other way to configure during runtime What did you see instead? Under which circumstances? I did not find any documentation to achieve this Environment K8s, started snmp_notifier through helm

maxwo commented 1 year ago

Hello, These is no way right now to update configuration during runtime. Given the image relies on environment variables & command-line, your deployment/pods should be updated as soon as there is a configuration change. Is there any problem with pod regeneration on configuration update?