Comparaison des versions

Légende

  • Ces lignes ont été ajoutées. Ce mot a été ajouté.
  • Ces lignes ont été supprimées. Ce mot a été supprimé.
  • La mise en forme a été modifiée.
Sv translation
languagefr
Remarque

Cette page n'est plus actualisée. À partir de BlueMind 4.8, veuillez consulter la nouvelle documentation BlueMind

Présentation

La suite de supervision bm-tick est installée automatiquement et par défaut dans BlueMind 4.

Volet

Sur cette page :

Sommaire
maxLevel2

Installation

Les paquets logiciels sont pré-installés sur le serveur avec l'installation de BlueMind mais nécessitent néanmoins une phase de configuration :

  1. Se connecter à la console d'administration en tant que superutilisateur admin0 (ou administrateur délégué ayant les droits nécessaires) et se rendre dans Gestion du système > Serveurs de l'application > sélectionner le serveur > onglet Rôles du serveur
  2. Activer le rôle « Base de métriques (influxdb) » :
  3. Enregistrer
  4. Installer les derniers paquets nécessaires à l'accès à la console et redémarrer BlueMind :

    Bloc de code
    aptitude install bm-plugin-admin-console-monitoring bm-plugin-node-monitoring
    bmctl restart
  5. Lancer une génération initiale des alertes et tableaux de bord par défaut de l'application. Pour cela, toujours connecté root à la machine, lancer la commande suivante :

    Bloc de code
    bm-cli tick reconfigure
  6. Recharger le service Nginx :

    Bloc de code
    systemctl reload bm-nginx

    NB : cette commande est sans impact sur les utilisateurs, elle peut être exécutée sans risque de coupure

Accéder à l'application

Vous pouvez accéder à l'application en vous connectant à l'url https://<votre bluemind>.tld/tick

Astuce

L'identifiant et le mot de passe qui vous sont demandés sont ceux de l'assistant d'installation qui vous ont été fournis lors de l'installation de Bluemind et qui sont configurable dans l'administration de BlueMind.

Si vous les avez perdus, vous pouvez consulter la FAQ à ce sujet : J'ai perdu le mot de passe de l'assistant d'installation

L'accès à l'application est simplifié et soumis à un rôle :

  • Affecter le rôle "Console de monitoring" aux personnes souhaitées (via la gestion de chaque utilisateur ou via un groupe)
  • Les personnes ont dès lors (une reconnexion peut être nécessaire) un lien "Supervision" dans le bandeau leur permettant d'accéder à la console :
Sv translation
languageen
Remarque

This page is no longer being updated. From BlueMind 4.8, please refer to the new BlueMind documentation

Introduction

The bm-tick monitoring suite can be installed in addition to or instead of BlueMind's built-in Monitoring Console.Make sure you follow all installation steps closely, in particular for multi-server installationsis included by default in the BlueMind 4 installation.

Volet

On this page:

Sommaire
maxLevel2

Installation

Info
titleVersion information

The bm-tick monitoring tool is available from BlueMind 3.5.9.
To avoid possible version conflicts, make sure you update BlueMind before you install bm-tick packages.

On the BlueMind install

On the main server 

Software packages are pre-installed on the server along with the BlueMind installation, but they do need to be configured:

  1. Log into the BlueMind host server as root and install the required packages (main module and monitoring plugins if the Monitoring Console isn't already installed), and accept the installation of additional packages:

    Bloc de code
    root@mail:~# aptitude install bm-tick-full bm-plugin-admin-console-monitoring bm-plugin-node-monitoring bm-plugin-core-monitoring
    The following NEW packages will be installed:
      bm-chronograf{a} bm-influxdb{a} bm-kapacitor{a} bm-metrics-agent{a} bm-plugin-admin-console-monitoring bm-plugin-core-monitoring bm-plugin-node-monitoring bm-telegraf{a} bm-tick-full bm-tick-node{a} 
    0 packages upgraded, 10 newly installed, 0 to remove and 79 not upgraded.
    Need to get 87.7 MB of archives. After unpacking 301 MB will be used.
    Do you want to continue? [Y/n/?]
    ...

    Restart BlueMind once the installation is complete:

    Bloc de code
    bmctl restart
  2. Log into the admin console as superuser admin0 (or delegated administrator with the privileges required permissions) and go to System management Management > Application 's servers > select the server servers > Server roles tab
  3. Enable the role "metrics Metrics database":
    Image Modified
  4. Save
  5. Restart Add last packages and restart BlueMind:

    Bloc de code
    aptitude install bm-plugin-admin-console-monitoring bm-plugin-node-monitoring
    bmctl restart
  6. Run a first generation of the alerts' and the dashboards' default configuration. To do this, still logged in as root on the server, run the following command:

    Bloc de code
    # bm-cli tick reconfigure

    Note: if you want to add other servers for monitoring (see next paragraph), you don't need to run this command at this stage. You can just run it once at the end of the procedure, although running it several times doesn't interfere as it only applies to the default configuration and does not affect the data.

    Astuce

    When the bm-cli command line client is not installed, you can run the following command to roll out the configuration automatically on all nodes:

    Bloc de code
    curl -H "X-Bm-ApiKey: $(cat /etc/bm/bm-core.tok)" -XPOST http://localhost:8090/internal-api/tick/mgmt/_reconfigure
  7. Reload the Nginx service:

    Bloc de code
    systemctl reload bm-nginx

    Note: this command has no impact on users, you can run it without risking a service break.

On other servers

If the domain has other servers (e.g. edge server or archive server), the node and its plugin must be installed on each:

  1. connected to the server as root, run the following command:

    Bloc de code
    bm-cli tick 
  2. Log in as root on each server and install the bm-tick packages:

    Bloc de code
    root@edge:~# aptitude install bm-tick-node bm-plugin-node-monitoring
  3. Restart the service on every server:

    Bloc de code
    bmctl restart
  4. Regenerate the configuration: log into the main server as root and run the same command as during the first installation:

    Bloc de code
    # bm-cli tick reconfigure
    root@mail:~# curl -H "X-Bm-ApiKey: $(cat /etc/bm/bm-core.tok)" -XPOST http://localhost:8090/internal-api/tick/mgmt/_
    reconfigure
    Astuce

    When the bm-cli command line client is not installed, you can run the following command to roll out the configuration automatically on all nodes:

    Bloc de code
  5. Reload the Nginx service:

    Bloc de code
    systemctl reload bm-nginx

    Note: this command has no impact on users, you can run it without risking a service break.

On a dedicated server

To install bm-tick on a dedicated server, the packages must be installed according to the following distribution:

On the monitoring server

The main bm-tick package:

Bloc de code
# aptitude install bm-tick-full bm-plugin-node-monitoring

On the main BlueMind server

The connection node and its dedicated plugin:

Bloc de code
# aptitude install bm-tick-node bm-plugin-node-monitoring bm-plugin-core-monitoring bm-plugin-admin-console-monitoring

Then restart the service:

Bloc de code
# bmctl restart

Log into the BlueMind admin console:

  • go to the server management page: System management > Application's servers
  • add a new server pointing to the bm-tick-dedicated server's IP 
Finally, follow the instructions as outlined in the previous paragraph: enable the role on the new server, restart BlueMind (on the main server) again, generate the configuration via curl or bm-cli
  1. .

On other servers

Follow the instructions outlined in paragraph 2.1.b above:

  • install packages
  • restart service
  • configure regeneration, via curl or bm-cli

Nginx configuration

Finally, to make the url available in BlueMind links, you need to edit the nginx configuration in the file /etc/nginx/bm-local.d by adding:

Bloc de code
location /tick/ {
    gzip             on;
    gzip_min_length  1000;
    gzip_proxied     any;
    gzip_types       text/plain application/xml text/css text/javascript text/json application/json;
    gzip_disable     "MSIE [1-6]\.";
    gzip_comp_level 9;

    proxy_http_version 1.1;
    proxy_pass http://<DEDICATED.SERVER.IP>:8888/tick/;
}

Accessing the application

Once the installation is complete, you can access the application by logging into https://<your bluemind>.tld/tick

Astuce

The username and password requested are those for the setup wizard you were provided when you installed BlueMind, which you can configure in BlueMind's administration page.

If you've lost your log in credentials, please refer to our FAQ on this issue: I have lost my password for the setup wizard

From BlueMind 3.5.10, accessing Accessing the application is more straightforward but requires a role to be assigned:

  • Assign the "Monitoring Console" role to the people you want (through each individual user's management page or through a group)
  • These users then have a "Dashboards" link in their ribbon menu giving them access to the console (this may require them to log in again):
Info
titleKnown issue: error 404
Sv translation
languagede
Remarque

Diese Seite ist nicht mehr aktuell. Ab der Version BlueMind 4.8 finden Sie alle Infos in der neuen Dokumentation

Präsentation

Die bm-tick Monitoring Suite wird in BlueMind 4 automatisch und standardmäßig installiert.

Volet

Auf dieser Seite:

Sommaire
maxLevel2

Installation

Die Softwarepakete sind mit der BlueMind-Installation auf dem Server vorinstalliert, erfordern aber eine Konfigurationsphase:

  1. Melden Sie sich an der Administrationskonsole als Superuser admin0 (oder delegierter Administrator mit den erforderlichen Rechten) an und gehen Sie zu Systemadministration > Anwendungsserver > wählen Sie die Registerkarte Server > Server-Rollen
  2. Aktivieren Sie die Rolle "Metrics Base (influxdb)":
    Image Added
  3. Speichern
  4. Installieren Sie die letzten Pakete, die für den Zugriff auf die Konsole benötigt werden, und starten Sie BlueMind neu:

    Bloc de code
    aptitude install bm-plugin-admin-console-monitoring bm-plugin-node-monitoring
    bmctl restart
  5. Starten Sie eine erste Generierung der Standardwarnungen und -Dashboards der Anwendung. Führen Sie dazu – immer noch als root mit dem Rechner verbunden – den folgenden Befehl aus:

    Bloc de code
    bm-cli tick reconfigure
  6. Laden Sie den Nginx-Dienst neu

If you have an error 404 when accessing the application, you have to reload Nginx
  1. :

    Bloc de code
    systemctl reload bm-nginx

    Hinweis: Dieser Befehl wirkt sich nicht auf die Benutzer aus, er kann ohne Risiko einer Unterbrechung ausgeführt werden

Zugriff auf die Anwendung

Sie können auf die Anwendung zugreifen durch Verbindung mit der Url https://<ihr bluemind>.tld/tick

Astuce

Geben Sie als Benutzername und Passwort die des Installationsassistenten ein, die Ihnen bei der Installation von Bluemind mitgeteilt wurden und die in der BlueMind Administration konfigurierbar sind.

Wenn Sie diese verloren haben, beziehen Sie sich auf die FAQ zu diesem Thema: Ich habe das Passwort für den Installationsassistenten verloren

Der Zugriff auf die Anwendung ist vereinfacht und rollenabhängig:

  • Weisen Sie die Rolle "Monitoringkonsole" den gewünschten Personen zu (über die Verwaltung jedes Benutzers oder über eine Gruppe)
  • Die Personen haben dann (ggf. nach einer erneuten Verbindung) einen "Supervision"-Link im Banner, über den sie auf die Konsole zugreifen können:
    Image Added