My graphics are having problems because information is being truncated by check_nrpe.
Calling the command locally is returning correctly.
Code: Select all
[root@datalog-ugt-log1 libexec]# /usr/bin/check_elasticsearch
Monitoring cluster 'a5726a09-769e-4f2b-be91-d786c8165c6f' | cluster_nodes=4;;;;; cluster_master_eligible_nodes=4;;;;; cluster_data_nodes=4;;;;; cluster_active_shards=1038;;;;; cluster_relocating_shards=0;;;;; cluster_initialising_shards=0;;;;; cluster_unassigned_shards=0;;;;; cluster_total_shards=1038;;;;; cluster_total_indices=70;;;;; cluster_closed_indices=0;;;;; storesize=2124557370946B;;;;; documents=1920168754c;;;;; index_ops=737278752c;;;;; index_time=322062338ms;;;;; flush_ops=9641c;;;;; flush_time=1228456ms;;;;; throttle_time=217690564ms;;;;; index_ops=737278752c;;;;; index_time=322062338ms;;;;; delete_ops=198c;;;;; delete_time=57ms;;;;; get_ops=630539c;;;;; get_time=106761ms;;;;; exists_ops=630536c;;;;; exists_time=106761ms;;;;; missing_ops=3c;;;;; missing_time=0ms;;;;; query_ops=1418392c;;;;; query_time=86096168ms;;;;; fetch_ops=1158580c;;;;; fetch_time=575445ms;;;;; merge_ops=362208c;;;;; refresh_ops=1825688c;;;;; refresh_time=60179314ms;;;;; gc_old_count=21995c;;;;; gc_young_count=185113c;;;;; heap_used=74%;;;;;
Code: Select all
[root@datalog-ugt-log1 libexec]# ./check_nrpe -H 127.0.0.1 -t 90 -c check_elasticsearch
Monitoring cluster 'a5726a09-769e-4f2b-be91-d786c8165c6f' | cluster_nodes=4;;;;; cluster_master_eligible_nodes=4;;;;; cluster_data_nodes=4;;;;; cluster_active_shards=1038;;;;; cluster_relocating_shards=0;;;;; cluster_initialising_shards=0;;;;; cluster_unassigned_shards=0;;;;; cluster_total_shards=1038;;;;; cluster_total_indices=70;;;;; cluster_closed_indices=0;;;;; storesize=2124552989529B;;;;; documents=1920159721c;;;;; index_ops=737269359c;;;;; index_time=322057667ms;;;;; flush_ops=9641c;;;;; flush_time=1228456ms;;;;; throttle_time=217688412ms;;;;; index_ops=737269359c;;;;; index_time=322057667ms;;;;; delete_ops=198c;;;;; delete_time=57ms;;;;; get_ops=630518c;;;;; get_time=106757ms;;;;; exists_ops=630515c;;;;; exists_time=106757ms;;;;; missing_ops=3c;;;;; missing_time=0ms;;;;; query_ops=1418362c;;;;; query_time=86087807ms;;;;; fetch_ops=1158557c;;;;; fetch_time=575429ms;;;;; merge_ops=362199c;;;;; refresh_ops=1825662c;;;;; refresh_time=60177868ms;;;;; gc_old_count=21992c;;;;; gc_young_count=185110c;;;;; he
How can I configure NRPE to return the complete string?
[root@datalog-ugt-log1 libexec]# ./check_nrpe
Incorrect command line arguments supplied
NRPE Plugin for Nagios
Copyright (c) 1999-2008 Ethan Galstad (nagios@nagios.org)
Version: 2.15
Last Modified: 09-06-2013
License: GPL v2 with exemptions (-l for more info)
SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required