jarischaefer / docker-librenms

Docker image for LibreNMS
MIT License
115 stars 37 forks source link

modifying polling interval #103

Closed nertwork closed 5 years ago

nertwork commented 5 years ago

Hello! I'm wondering if there's a way to modify the polling interval on the cron. Right now it's running every five minutes but I was hoping to get it down to every two minutes. Let me know what I would need to do here.

Thanks!

jarischaefer commented 5 years ago

You may use the POLLERS_CRON environment variable once the latest build is available on Docker Hub.

jarischaefer commented 5 years ago

@nertwork Please test the new feature by downloading the latest build (latest tag) and specifying POLLERS_CRON="*/2 * * * *". Documentation is available here.

nertwork commented 5 years ago

Can confirm this is working in our distributed deployment with the latest build.

Thank you!