Skip to main content

No project description provided

Project description

monitor-summer-snapshots

Installation

monitor-summer-snapshots is distributed on PyPI as a universal wheel and is available on Linux/macOS and Windows and supports Python 3.7.

$ pip install monitor-summer-snapshots

To see the list of installed files :

$ pip show -f monitoring-summer-snapshots}

License

monitor-summer-snapshots is distributed under the terms of the GPLv3, see LICENSE file.

Description

Configuration

Monitoring

Copier le fichier config.yml.example en config.yml et l'éditer :

influxdb:                        # Paramétrage de l'envoi à influxdb
  active: true                   # placer à false pour désactiver l'envoi à influxdb
  server: plop.u-ga.fr           # le serveur influxdb
  port: 8086                     # le port
  database: plop                 # le nom de la base de donnée
  measurement: summer_snapshot   # le nom de la mesure
zabbix:
  active: true                   # placer à false pour désactiver l'envoi à zabbix
  server: plop.u-ga.fr           # serveur zabbix
  host: thisone                  # nom de l'hote qui envoie la métrique
  key: summer.snapshot.size      # la clé de l'item telle qu'elle est configurée dans zabbix

lifs:                            # liste des LIF SUMMER
  - name: resif                  # un nom pour cette LIF
    sshserver:                   # le serveur SSH d'administration
    login:                       # le login SSH
    password:                    # devine
    volumes:                     # une liste des volumes à monitorer
      - name:                    # nom du volume dans la LIF
        mountpoint:              # un nom logique du volume pour le monitoring

Les logs se configurent dans le fichier de logs logger.conf.

Zabbix

Il faut configurer zabbix pour qu'il accueille les métriques remontées par le script

Discovery

Après le déploiement de l'application, configurer l'agent zabbix, par exemple /etc/zabbix/zabbix_agent.d/summer-snapshots-discovery.conf

UserParameter=summer\_snapshots\_mount.discovery,/home/sysop/.virtualenv/monitoring/bin/python
    /home/sysop/monitoring/monitoring-summer-snapshot/zabbix-discovery.py

Et redémarrer l'agent.

systemctl restart zabbix-agent

Template

Ensuite, il faut importer importer le template proposé dans ce dépôt (https://gricad-gitlab.univ-grenoble-alpes.fr/schaeffj/monitoring-summer-snapshot/blob/master/monitor_summer_snapshots/zabbix_template.xml) et éventuellement l'adapter à vos besoin.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

monitor_summer_snapshots-0.7.2.tar.gz (24.2 kB view details)

Uploaded Source

Built Distributions

monitor_summer_snapshots-0.7.2-py3-none-any.whl (26.7 kB view details)

Uploaded Python 3

monitor_summer_snapshots-0.7.2-py2.py3-none-any.whl (25.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file monitor_summer_snapshots-0.7.2.tar.gz.

File metadata

  • Download URL: monitor_summer_snapshots-0.7.2.tar.gz
  • Upload date:
  • Size: 24.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.1 CPython/3.10.10 Linux/6.0.12-arch1-1

File hashes

Hashes for monitor_summer_snapshots-0.7.2.tar.gz
Algorithm Hash digest
SHA256 49d2190c71fb45b1015546c5ce6298428f52a4ccf224b745ec14e0898419bf3c
MD5 e4631ec0f228c4477b5894e175d725c2
BLAKE2b-256 9944723a7409d5add90d37d4de3d9ca2111a66224f758fe172e289d319bbb9dd

See more details on using hashes here.

File details

Details for the file monitor_summer_snapshots-0.7.2-py3-none-any.whl.

File metadata

File hashes

Hashes for monitor_summer_snapshots-0.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f6be1b529d0a9f8b710ea87d0641ae8127dd2f2a1dba6003ecbe6839f0f49d26
MD5 e6cfd50cb1883d0d62bfb87edb1ab80a
BLAKE2b-256 129cc5f6ecb7fcd62b0bf9e3e05eac485e55bf421b5c21f3c4b485cf0266277a

See more details on using hashes here.

File details

Details for the file monitor_summer_snapshots-0.7.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for monitor_summer_snapshots-0.7.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 19b4b03e017d50ae35f54b206e737218094a77988c6b90fa84597cf6fb8bb45c
MD5 14061fe4a379c15847a05082d260cf1a
BLAKE2b-256 5e5e36c34ed9bb09222c9cd9760f81665e65e87d918e4dd73346060c13637d90

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page