Metadata overhead alerting
Hi, I was wondering if it's possible to programmatically access the warning and error below, so that I can set up alerting on them. These messages appear in the log in the web console. I looked at mbstats but can't tell if that has all of the necessary information.
Metadata overhead warning. Over 75% of RAM allocated to bucket "membase" on node "xxx.xxx.xxx.xxx" is taken up by keys and metadata. (repeated 79 times)
Hard Out Of Memory Error. Bucket "membase" on node xxx.xxx.xxx.xxx is full. All memory allocated to this bucket is used for metadata. (repeated 85 times)