librenms / docker

LibreNMS Docker image
MIT License
693 stars 281 forks source link

Include jq - for config dump #434

Closed ds-04 closed 5 months ago

ds-04 commented 6 months ago

Description

It might be worth including jq in the dockerfile

Then this will work in the container

lnms config:get --dump | jq

murrant commented 6 months ago

? if you run docker exec -it librenms lnms config:get --dump|jq you need jq outside of the container.

Also, this doesn't seem like a very common use case. You can also view the entire config in the web ui.