AlternativesToInfluxDB

njmon Architecture alternatives for a stats database and graphing

njmon - I can't test everything.

  • Volunteers who know more about these tools are wanted.
  • Please get in touch if you can help.

Grafana covers many database tools and InfluxDB


% blue%Prometheus - open source with purchable support

  • Use InfluxData's tool called "telegraf"
  • njmon can send Telegraf the line protocol data and forward it to Prometheus
  • nimon operates a push data system, but Prometheus is a pull system - Telegraf can work with both

VictoriaMetrics

  • Website: https://victoriametrics.com/
  • nimon works on the open source tools VictoriaMetrics.
  • Changes have been made to support VictoriaMetrics due to its poor handling of the InfluxDB Line Protocol format.
  • Check the -S option and the nimon -h output for more details.

Elastic

Another popular toolset is Elastic: Elasticsearch, Logstash and Kibana (ELK):

  • Open source and popular for people first wanting to save and analyse/graph log file data
  • From what I have read, logstash actually stores its data as JSON
  • Use Elastic Filebeat to load your njmon JSON
    • I found this surprisingly easy to set up and use
  • Use filebeat to monitor a file for extra data and send that too
  • As JSON is already structured, it is easy to then graph with the integrated Kibana (or Grafana!)

If you are an "elastic" expert, please share your experience and hints & tips.


Splunk

I tested Splunk (harder to install and get going as it has lots of functions for log file analysis, not needed for njmon stats

  • I hacked out a njmon fo injector to add the njmon stats to the Splunk database and found the data in Splunk OK
  • I then got a bit lost getting the stat graphable
  • It does seem to work.