diff --git a/README.md b/README.md new file mode 100644 index 0000000..3c6c5d7 --- /dev/null +++ b/README.md @@ -0,0 +1,15 @@ +# snmp_exporter custom + +Customised snmp_exporter, mainly focussed on Junos and DOM, FRU, warnings and alarms initially. + +## Generate + +```script +./generate.sh +``` + +## Test locally + +```script +docker compose up --build +``` diff --git a/compose.yaml b/compose.yaml new file mode 100644 index 0000000..830698e --- /dev/null +++ b/compose.yaml @@ -0,0 +1,11 @@ +--- +services: + snmp_exporter: + command: [ "--config.expand-environment-variables", "--config.file=/etc/snmp_exporter/snmp.yml"] + ports: + - 9116:9116 + environment: + - SNMP_USERNAME=snmpuser + - SNMP_PASSWORD=librenmsdocker + - SNMP_PRIV_PASSWORD=librenmsdocker + build: . \ No newline at end of file