{"id":13745586,"url":"https://github.com/ejimz/Elasticsearch-zabbix","last_synced_at":"2025-05-09T06:30:54.353Z","repository":{"id":7591674,"uuid":"8948062","full_name":"ejimz/Elasticsearch-zabbix","owner":"ejimz","description":"Elasticsearch template and script for zabbix","archived":false,"fork":false,"pushed_at":"2017-10-02T14:16:33.000Z","size":20,"stargazers_count":83,"open_issues_count":5,"forks_count":73,"subscribers_count":20,"default_branch":"master","last_synced_at":"2024-11-15T19:36:28.034Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ejimz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-03-22T08:43:02.000Z","updated_at":"2024-01-29T11:03:07.000Z","dependencies_parsed_at":"2022-08-30T13:31:40.848Z","dependency_job_id":null,"html_url":"https://github.com/ejimz/Elasticsearch-zabbix","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ejimz%2FElasticsearch-zabbix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ejimz%2FElasticsearch-zabbix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ejimz%2FElasticsearch-zabbix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ejimz%2FElasticsearch-zabbix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ejimz","download_url":"https://codeload.github.com/ejimz/Elasticsearch-zabbix/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253205916,"owners_count":21871158,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T06:00:28.356Z","updated_at":"2025-05-09T06:30:54.039Z","avatar_url":"https://github.com/ejimz.png","language":"Python","funding_links":[],"categories":["Templates","Elasticsearch"],"sub_categories":["Tools"],"readme":"Elasticsearch-zabbix\n====================\n\nElasticsearch template and script for zabbix 2.0\n\nThis project is a fork of Elasticsearch template from zabbix-grab-bag\n\nhttps://github.com/untergeek/zabbix-grab-bag\n\nThese are made available by me under an Apache 2.0 license.\n\nhttp://www.apache.org/licenses/LICENSE-2.0.html\n\nContributing\n=============\n\nFeel free to add improvements, just send me your pull request :D\n\n\nHow it works\n=============\n\n- Put ESzabbix.py in /opt/zabbix/externalscripts/ in the zabbix node\n\n- Put ESzabbix.userparm in the zabbix include parameters dir, in this case \"/opt/zabbix/agent_include\"\n\n- Import ESzabbix_templates.xml to zabbix server\n\n- requires 'pyes' to run this script\n\nSpecs\n=====\n\n\nThe items here are for monitoring Elasticsearch (presumably for logstash).\n\nThe template xml file actually contains three templates:\n\n1. Elasticsearch Node \u0026 Cache (which is for node-level monitoring)\n\n2. Elasticsearch Cluster (cluster state, shard-level monitoring, record count, storage sizes, etc.)\n\n3. Elasticsearch Service (ES service status)\n\nThe node name is expected as a host-level macro {$NODENAME}\n\nThere are triggers assigned for the cluster state:\n\n0 = Green (OK)\n\n1 = Yellow (Average, depends on \"red\")\n\n2 = Red (High)\n\n\nYou will likely want to assign a value mapping for the ElasticSearch Cluster Status item.\nOn Zabbix 3.0 it can be incrusted on export templates files\n\nIn any event, the current list of included items is:\n\n* ES Cluster (11 Items)\n\t- Cluster-wide records indexed per second\n\t- Cluster-wide storage size\n\t- ElasticSearch Cluster Status\n\t- Number of active primary shards\n\t- Number of active shards\n\t- Number of data nodes\n\t- Number of initializing shards\n\t- Number of nodes\n\t- Number of relocating shards\n\t- Number of unassigned shards\n\t- Total number of records\n* ES Cache (2 Items)\n\t- Node Field Cache Size\n\t- Node Filter Cache Size\n* ES Node (2 Items)\n\t- Node Storage Size\n\t- Records indexed per second\n* ES Service (1 Item)\n\t- Elasticsearch service status\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fejimz%2FElasticsearch-zabbix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fejimz%2FElasticsearch-zabbix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fejimz%2FElasticsearch-zabbix/lists"}