1. Solr Monitor

In Data Collection, we introduced the common data sources. As a monitor framework, Open-Falcon can collect the monitor index data of any system as long as they are converted to the standard format of Open-Falcon.

The data collection of solr can be done through the script solr_monitor.

1.1. Working Principle

Solr-monitor is a cron that runs the script solr_monitor.py every minute. It mainly collects the information of solr instance memory, cache hit and etc. Next it encapsulates them in the format that is suitable for Open-Falcon and post them to the local falcon-agent.

The script can be deployed in each Solr instance with a cron that collects the data reguarly. Therefore, Solr instance and cron matches one-to-one.

If a server has multiple solr instances, user can change the servers property in solr_monitor.py to add the address of Solr instance to realize the local one-to-many data collection.

Copyright 2015 - 2018 Xiaomi Inc. all right reserved,powered by Gitbook该文件修订时间: 2018-11-20 15:12:29