The fake ganglia data generator is now installed. The installed source code is patched to remove things that (1) are better done by the ansible playbook; or (2) are specific to the old way of doing things, e.g., shutting down daemons via monit.
In order to have the metrics recognised by the appliance, the meryl daemon needs to be installed too. meryl runs periodic metric parsing and caching. That is it periodically parses the metrics from gmetad and caches them into memcache using Ruby marshal to serialize them.
Much of meryl is written as a C++ library using the Ruby API. This is known as MerylNumberCruncher. Previously, the number cruncher was packaged into a .deb file and installed when the meryl daemon was installed too. Unfortunately, using the previous .deb did not work as it was compiled for i486 not amd64.
MerylNumberCruncher has been compiled for amd64, packaged into a .deb and uploaded to S3. The playbook has been updated to download and install that .deb.
Compiling MerylNumberCruncher exposed some bugs/issues, which are probably due to using a newer compiler. Those issues have been addressed. A future PR will contain a new playbook to automate building our assets and will include the patch.
What works:
Devices, e.g., racks, servers, switches, sensors, pdus, etc. have metrics.
Graphs of those metrics can be viewed.
Limitations:
In-band metrics (in addition to out-of-band metrics) are generated.
Group metrics do not work as the group metric aggregation daemon is not yet installed.
User metrics do not work as the user metrics aggregation daemon is not yet installed.
Threshold states are not calculated as the threshold state calculation daemon is not yet installed.
Metrics are not generated for MIA itself. Previously, the local gmond was used to get real in-band metrics. FSR, gmond isn't working at the moment.
The exact demo data is dependant on the name of the devices. When the demo/default data is added, we probably want to look at the data generated for those devices and see if anything is to be adjusted.
Add fake ganglia data generator.
The fake ganglia data generator is now installed. The installed source code is patched to remove things that (1) are better done by the ansible playbook; or (2) are specific to the old way of doing things, e.g., shutting down daemons via
monit
.In order to have the metrics recognised by the appliance, the
meryl
daemon needs to be installed too.meryl
runs periodic metric parsing and caching. That is it periodically parses the metrics fromgmetad
and caches them into memcache using Ruby marshal to serialize them.Much of
meryl
is written as a C++ library using the Ruby API. This is known asMerylNumberCruncher
. Previously, the number cruncher was packaged into a.deb
file and installed when themeryl
daemon was installed too. Unfortunately, using the previous.deb
did not work as it was compiled fori486
notamd64
.MerylNumberCruncher
has been compiled foramd64
, packaged into a.deb
and uploaded to S3. The playbook has been updated to download and install that.deb
.Compiling
MerylNumberCruncher
exposed some bugs/issues, which are probably due to using a newer compiler. Those issues have been addressed. A future PR will contain a new playbook to automate building our assets and will include the patch.What works:
Limitations:
gmond
was used to get real in-band metrics. FSR,gmond
isn't working at the moment.