Closed Tontonitch closed 1 year ago
Hi, the default host is localhost port 9600 if you don't specify any parameters.
Can you confirm the Logstash API is running on that host and port?
We haven't tested the version 0.8.0 against Logstash 6 since it is in end of support. So I assume that is the issue.
You would have to use the older version of the Check Plugin or use more current Logstash version
Hi, I added some basic backwards compatibility in the Plugin. It should now also work with Logstash 6 after the PR is merged.
Works, thanks.
[root@xxxxx]# ./check_logstash_0.8.2_Linux_x86_64 health
WARNING - Logstash may not be healthy
\_[WARNING] Heap usage at 79.00%
\_[OK] Open file descriptors at 2.24%
\_[OK] CPU usage at 26.00% | status=green process.cpu.percent=26%;100;100;0;100 jvm.mem.heap_used_percent=79%;70;80;0;100 jvm.threads.count=120;;;;0 process.open_file_descriptors=367;100;100;0;16384
[root@xxxx]#
logstash: 6.8.23 check_logstash: 0.8.0