zabbix-helpers/es-monitoring
svk 0b5b1c59f1 Elasticsearch indices monitoring 2021-04-06 20:25:03 +03:00
..
zabbix_templates Elasticsearch indices monitoring 2021-04-06 20:25:03 +03:00
.gitignore Elasticsearch indices monitoring 2021-04-06 20:25:03 +03:00
Dockerfile Elasticsearch indices monitoring 2021-04-06 20:25:03 +03:00
README.md Elasticsearch indices monitoring 2021-04-06 20:25:03 +03:00
cronjobs Elasticsearch indices monitoring 2021-04-06 20:25:03 +03:00
docker-compose.yml Elasticsearch indices monitoring 2021-04-06 20:25:03 +03:00
es-monitoring.go Elasticsearch indices monitoring 2021-04-06 20:25:03 +03:00
go.mod Elasticsearch indices monitoring 2021-04-06 20:25:03 +03:00
go.sum Elasticsearch indices monitoring 2021-04-06 20:25:03 +03:00

README.md

Es Monitoring

Мониторинг индексов Elasticsearch

использование

export ELASTICSEARCH_URL="https://USER:PASSWORD@elastic:200" export ZABBIX_SERVER=https://zabbix2 export ZABBIX_HOST=elastic export ZABBIX_USERNAME=zabbix_helpers export ZABBIX_PASSWORD=

Usage of ./es-monitor:
  -indexname string
        Elasticsearch index name pattern, (like "filebeat")
  -operation string
        Opertation type, must be:
                es-cluster-info - ES Cluster information (version e.t.c)
                es-get-indices - geting all index
                es-indices-discover - getting es index pattern list
                es-records-count - getting the number of records for a time range for all index pattern
                es-index-records-count - getting records count for one index (used with -indexname option (default "es-cluster-info")
  -timerange int
        Elasticsearch time range for records count into hours (default 6)
  -zabbix-send
        Send metrics or discovery data into zabbix