In a previous post we discussed how to improve the performance of BerkeleyDB by tuning the cache size. Let’s see how Monitis can help you keep tabs on the cache hit rate and other critical database metrics. We use a custom monitor created by a perl script, monitor_bdb.pl, which can be downloaded from our repository on GitHub. To familiarize yourself with its parameters, run ‘moniror_dbd --help‘. As always, we encourage you to look at the source code to understand its inner workings.