Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To perform subnet caching in the background you can use a cron job to call the opCharts CLI and perform a subnet cache caching manually, the interevile to run this is a period in which this is run is balance between not caching stale data and processing time it takes taken to generate subnets with performance considerations included, we would reccomend calculate subnets. We would recommend to run the cron job every hour. If you have implemented this method you should  change nmisx_subnet_cache_time to 86400 so it will not be performed in a web request.which will stop the web thread from calculating subnets . An example cron job .provided

Code Block
languagebash
title/cron.d/opcharts-example
*/59 * * * * /usr/local/omk/bin/opcharts-cli.exe act=refresh-subnet-cache >/dev/null 2>&1

...