-
Notifications
You must be signed in to change notification settings - Fork 33
Home
I'd like to collect some examples of how check_http_json
is being used. Please feel free add your use cases so that everybody can improve their monitoring strategy !
Thanks to this great plugin, I'm able to monitor ElasticSearch metrics, here are some of my examples:
#ElasticSearch Checks
check_http_json-string!9200!_cluster/health!status!green
check_http_json!9200!_cluster/nodes/_local/stats!-e cluster_name -R NameofYourCluster
check_http_json!9200!_cluster/nodes/_local/stats!-E indices.cache.field_size_in_bytes -w 1000000 -c 2000000
check_http_json!9200!_cluster/nodes/_local/stats!-E indices.cache.filter_size_in_bytes -w 200000 -c 400000
check_http_json!9200!_cluster/nodes/_local/stats!-E indices.docs.count -w 50000 -c 100000
check_http_json!9200!_cluster/nodes/_local/stats!-E indices.docs.deleted -w 500 -c 1000
check_http_json!9200!_cluster/nodes/_local/stats!-E indices.flush.total -w 10000 -c 20000
check_http_json!9200!_cluster/nodes/_local/stats!-E indices.flush.total_time_in_millis -w 10000 -c 20000
check_http_json!9200!_cluster/nodes/_local/stats!-E indices.store.size_in_bytes -w 100000000 -c 200000000
check_http_json!9200!_cluster/nodes/_local/stats!-E indices.search.fetch_time_in_millis -w 20000 -c 40000
check_http_json!9200!_cluster/nodes/_local/stats!-E indices.search.query_time_in_millis -w 50000 -c 1000000
check_http_json-int!9200!_cluster/health!number_of_nodes!2:!1:
#ElasticSearch Command Definitions
define command {
command_name check_http_json-string
command_line
define command {
command_name check_http_json
command_line
define command{
command_name check_http_json-int
command_line
Thanks again, Aled