Skip to content
This repository has been archived by the owner on Oct 11, 2020. It is now read-only.

Healthbot building blocks

Khelil Sator edited this page Feb 10, 2019 · 9 revisions

Healthbot is installed in the directory /var/local/healthbot

$ ls /var/local/healthbot 

Healthbot parameters such as port numbers are indicated in the file /var/local/healthbot/healthbot.sys

$ more /var/local/healthbot/healthbot.sys

Check version

$ healthbot version
HealthBot 1.0.1

Check components version

healthbot version --detail
HealthBot 1.0.1
COMPONENT                     VERSION
healthbot_alerta              1.0.1
healthbot_analytical_engine   1.0.1
healthbot_api_server          1.0.1
healthbot_fluentd             1.0.1
healthbot_gateway             1.0.1
healthbot_grafana             1.0.1
healthbot_gui                 1.0.1
healthbot_hbmon               1.0.1
healthbot_iagent              1.0.1
healthbot_influxdb            1.0.1
healthbot_jtimon              1.0.1
healthbot_kapacitor           1.0.1
healthbot_lfa                 1.2.4
healthbot_mgd                 1.0.1
healthbot_postgres            1.0.1
healthbot_redis               1.0.1
healthbot_telegraf            1.0.1
jfit_core                     1.0.1
ml                            1.0.1

Healthbot uses several docker containers.
Run this command to list docker images

 docker images
REPOSITORY                    TAG                 IMAGE ID            CREATED             SIZE
healthbot_kapacitor           1.0.1               14fce4515b73        2 weeks ago         1.27GB
healthbot_api_server          1.0.1               73c305f998e7        2 weeks ago         700MB
healthbot_gateway             1.0.1               ea9cc7ec46e5        2 weeks ago         184MB
healthbot_alerta              1.0.1               fcce25010ea7        2 weeks ago         604MB
healthbot_iagent              1.0.1               aa6fc63d492b        2 weeks ago         857MB
healthbot_jtimon              1.0.1               c686fd7c14f6        2 weeks ago         906MB
healthbot_mgd                 1.0.1               31fdb3c8ba1b        2 weeks ago         695MB
healthbot_analytical_engine   1.0.1               987182db902f        2 weeks ago         1.29GB
healthbot_fluentd             1.0.1               92eaa868ecb6        2 weeks ago         372MB
healthbot_influxdb            1.0.1               77fb21a0c798        2 weeks ago         211MB
healthbot_hbmon               1.0.1               48b7c9050372        2 weeks ago         806MB
healthbot_grafana             1.0.1               17a2287c2941        2 weeks ago         301MB
healthbot_lfa                 1.2.4               cc501ac7cfb9        3 weeks ago         2.47GB
healthbot_postgres            1.0.1               c84d60f08a71        3 months ago        244MB
healthbot_redis               1.0.1               508467f0faae        3 months ago        144MB
healthbot_telegraf            1.0.1               596d9fe391a0        3 months ago        207MB

Display healthbot status

$ healthbot status
Name of service     Status
------------------------------
lfa                 Up
gateway             Up
grafana             Up
redis               Up
influxdb            Up
alerta              Up
hbmon               Up
postgres            Up
api_server          Up
mgd                 Up

run this command to list docker containers running:

$ docker ps

The list of running containers depends on HB configuration

  • jtimon is used to collect data from junos devices using telemetry
  • telegraf is used to collect data using SNMP
  • iagent is used to collect data using Netconf
  • influxdb is the database to store the data collected
  • Kapacitor is used to process the data collected
  • mgd is Juniper management daemon (netconf server, cli) ...
Clone this wiki locally