Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Zabbix template and sample ini #15

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 19 additions & 19 deletions Elasticsearch/es_stats_zabbix.ini.sample
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[elasticsearch]
host = 127.0.0.1
host = HOST_TO_REPORT_UNDER
port = 9200

; Whether or not to use SSL
Expand Down Expand Up @@ -33,13 +33,13 @@ logformat = default

[batch]
; Zabbix server address
server = 127.0.0.1
server = ZABBIX_SERVER_OR_PROXY

; Zabbix server port
port = 10051

; Zabbix host (where the items will go)
host = zabbix_host
host = HOST_TO_REPORT_UNDER

; Keys can be of any label other than the above
key1 = health[status]
Expand All @@ -62,30 +62,20 @@ key16 = clusterstats[indices.filter_cache.memory_size_in_bytes]

key17 = clusterstate[master_node]

key18 = nodeinfo[YOUR_NODE_NAME,jvm.mem.heap_init_in_bytes]
key19 = nodeinfo[YOUR_NODE_NAME,process.max_file_descriptors]

key20 = nodestats[YOUR_NODE_NAME,process.open_file_descriptors]
key21 = nodestats[YOUR_NODE_NAME,jvm.mem.heap_max_in_bytes]
key22 = nodestats[YOUR_NODE_NAME,jvm.mem.heap_used_in_bytes]
key23 = nodestats[YOUR_NODE_NAME,jvm.mem.heap_used_percent]
key24 = nodestats[YOUR_NODE_NAME,jvm.gc.collectors.old.collection_count]
key25 = nodestats[YOUR_NODE_NAME,jvm.gc.collectors.old.collection_time_in_millis]

[thirty_seconds]
server = 127.0.0.1
server = ZABBIX_SERVER_OR_PROXY
port = 10051
host = zabbix_host
host = HOST_TO_REPORT_UNDER

key1 = health[unassigned_shards]
key2 = health[relocating_shards]
key3 = health[initializing_shards]
key4 = health[delayed_unassigned_shards]

[sixty_seconds]
server = 127.0.0.1
server = ZABBIX_SERVER_OR_PROXY
port = 10051
host = zabbix_host
host = HOST_TO_REPORT_UNDER

key1 = clusterstats[indices.docs.count]
key2 = clusterstats[indices.fielddata.evictions]
Expand All @@ -94,13 +84,23 @@ key4 = clusterstats[indices.filter_cache.evictions]
key5 = clusterstats[indices.filter_cache.memory_size_in_bytes]

[five_minutes]
server = 127.0.0.1
server = ZABBIX_SERVER_OR_PROXY
port = 10051
host = zabbix_host
host = HOST_TO_REPORT_UNDER

key1 = health[number_of_nodes]
key2 = health[active_primary_shards]
key3 = health[active_shards]
key4 = health[number_of_data_nodes]
key5 = clusterstats[indices.store.size_in_bytes]
key6 = clusterstats[indices.count]

key7 = nodeinfo[_local,jvm.mem.heap_init_in_bytes]
key8 = nodeinfo[_local,process.max_file_descriptors]

key9 = nodestats[_local,process.open_file_descriptors]
key10 = nodestats[_local,jvm.mem.heap_max_in_bytes]
key11 = nodestats[_local,jvm.mem.heap_used_in_bytes]
key12 = nodestats[_local,jvm.mem.heap_used_percent]
key13 = nodestats[_local,jvm.gc.collectors.old.collection_count]
key14 = nodestats[_local,jvm.gc.collectors.old.collection_time_in_millis]
Loading