A new version of check_es_system, a monitoring plugin to monitor Elasticsearch nodes and clusters, is available!
Version 1.8 enhances the plugin with a new parameter -X to define which json parser should be used in the background. The plugin now supports both jshon and jq as parsers. Previously check_es_system required the jshon command. As jq is more widely installed and jshon sometimes difficult to find (especially on SuSE systems), this will allow more distributions to run this plugin.
Many thanks to "NotAProfessionalDeveloper" for his pull request on Github. I also want to thank Juan Mancebo who invested time on a parallel pull request which would replace the jshon command with jq. For reasons of backward compatibility (don't break existing plugin usage) the PR from NotAProfessionalDeveloper was chosen.
On systems where jshon is not installed, the plugin can now be executed with the new -X parameter to select jq as parser:
$ ./check_es_system.sh -H myescluster.example.com -P 9243 -S -t status -u user -p secret -X jq
ES SYSTEM OK - Elasticsearch Cluster is green (1 nodes, 1 data nodes, 2 shards, 16 docs)|total_nodes=1;;;; data_nodes=1;;;; total_shards=2;;;; relocating_shards=0;;;; initializing_shards=0;;;; unassigned_shards=0;;;; docs=16;;;;
No comments yet.
AWS Android Ansible Apache Apple Atlassian BSD Backup Bash Bluecoat CMS Chef Cloud Coding Consul Containers CouchDB DB DNS Database Databases Docker ELK Elasticsearch Filebeat FreeBSD Galera GlusterFS Grafana Graphics HAProxy HTML Hacks Hardware Icinga Icingaweb Icingaweb2 Influx Internet Java KVM Kibana Kodi Kubernetes LXC Linux Logstash Mac Macintosh Mail MariaDB Minio MongoDB Monitoring Multimedia MySQL NFS Nagios Network Nginx OSSEC OTRS Office PGSQL PHP Perl Personal PostgreSQL Postgres PowerDNS Proxmox Proxy Python Rancher Rant Redis Roundcube SSL Samba Seafile Security Shell SmartOS Solaris Surveillance Systemd TLS Tomcat Ubuntu Unix VMWare VMware Varnish Virtualization Windows Wireless Wordpress Wyse ZFS Zoneminder