Skip to content

This script could be used for local execution or for monitoring checks (Zabbix,Nagios, etc...)

License

Notifications You must be signed in to change notification settings

ochirkov/ElasticSearch_Metrics_Collector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ElasticSearch_Metrics_Collector

Usage:

elasticsearch_metrics <option> <metric>

Supported options:

- cluster
- node

Supported metrics by options:

Cluster:
    - active_primary_shards
    - active_shards
    - number_of_pending_tasks
    - relocating_shards
    - status
    - unassigned_shards
    - number_of_nodes
    - heap_max_in_bytes
    - heap_used_in_bytes
Node:
    - heap_pool_young_gen_mem
    - heap_pool_old_gen_mem
    - heap_pool_survivor_gen_mem
    - heap_max_in_bytes
    - heap_used_in_bytes
    - heap_used_percent
    - total_filter_cache_mem
    - total_field_data_mem
    - total_merges_mem

Example:

    Get cluster status:

    $ elasticsearch_metrics cluster status

    Get heap_used_in_bytes on current node:

    $ elasticsearch_metrics node heap_used_in_bytes

About

This script could be used for local execution or for monitoring checks (Zabbix,Nagios, etc...)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages