I wanted to share with you one of my recent project on ELK (Elasticsearch/Logstash/Kibana).
I've been asked to interface AIX and ELK, as metricbeat daemon only exists for Linux and Windows.
So I wrote a Python3 daemon script called "Metraixbeat".
I've created an IBM Github project where you can find daemon script, dashboards and configuration files for download.
I cannot upload screenshot of the "Main LPAR Dashboard" (11 specialized Dashboards available) to show you how it looks like but please go on Github, there is a directory called "Dashboards" with all screenshots available.
You will also find a wiki with detailed informations around "Metraixbeat" daemon:
(ELK install HowTo, "filebeat functionality" description, and much more...)
I hope you will enjoy this project and will be very glad if any of you take some time to test it, submit bugs, propose improvements, or maybe help me developing it !
Who knows
Should you have any problem while using it, you can contact me directly.
This daemon only send data to Elastic Search, like metricbeat for Linux and Windows.
Metrics does not have to be parsed by logstash as it is directly inserted in Elasticsearch and usable in dashboards.
But you can disable some metricsets in configuration file if not required for you...
There are available dashboards ready to use in Github which use those metrics.
I tried to run metraixbeat, and there was an error..
Exception in thread Thread-44:
Traceback (most recent call last):
File "/opt/freeware/lib64/python3.7/threading.py", line 926, in _bootstrap_inner
self.run()
File "/opt/freeware/lib64/python3.7/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/opt/freeware/sbin/metraixbeat", line 1896, in PingPlotter
transmitter.destination = PingTarget
File "/home/monitor/.local/lib/python3.7/site-packages/pingparsing/_pingtransmitter.py", line 91, in destination
raise ValueError("empty destination")
ValueError: empty destination
/bin/sh: /etc/metraixbeat/who.sh: 0403-006 Execute permission denied.
Exception in thread Thread-45:
Traceback (most recent call last):
File "/opt/freeware/lib64/python3.7/threading.py", line 926, in _bootstrap_inner
self.run()
File "/opt/freeware/lib64/python3.7/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/opt/freeware/sbin/metraixbeat", line 3199, in SystemHPMStat
S5hrd = str(float(SystemHPMMpStat[18]) / 100)
IndexError: list index out of range
For "who" error:
Do you execute the daemon as root ?
For HPM stat:
It is working only on Power8 for now.. and as root
For ping ploter error I think it is a bug not to accept no destination.
Can you tell me who is set the parameter "PingPlotterTargets" in "Parameters.conf" ?
Example : "PingPlotterTargets": "google.com"