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.
Metadata
Release files for monitor-summer-snapshots 0.7.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| monitor_summer_snapshots-0.7.2.tar.gz | 24.2 kB | Without provenance | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| monitor_summer_snapshots-0.7.2-py3-none-any.whl | Python 3 | none | any | Details |
| monitor_summer_snapshots-0.7.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 76.6 kB
Release files / monitor_summer_snapshots-0.7.2.tar.gz
| Download URL | monitor_summer_snapshots-0.7.2.tar.gz |
|---|---|
| Size | 24.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
49d2190c71fb45b1015546c5ce6298428f52a4ccf224b745ec14e0898419bf3c
|
|
BLAKE2b-256 checksum How to use checksums |
9944723a7409d5add90d37d4de3d9ca2111a66224f758fe172e289d319bbb9dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.1 CPython/3.10.10 Linux/6.0.12-arch1-1
|
Release files / monitor_summer_snapshots-0.7.2-py3-none-any.whl
| Download URL | monitor_summer_snapshots-0.7.2-py3-none-any.whl |
|---|---|
| Size | 26.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f6be1b529d0a9f8b710ea87d0641ae8127dd2f2a1dba6003ecbe6839f0f49d26
|
|
BLAKE2b-256 checksum How to use checksums |
129cc5f6ecb7fcd62b0bf9e3e05eac485e55bf421b5c21f3c4b485cf0266277a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.1 CPython/3.10.10 Linux/6.0.12-arch1-1
|
Release files / monitor_summer_snapshots-0.7.2-py2.py3-none-any.whl
| Download URL | monitor_summer_snapshots-0.7.2-py2.py3-none-any.whl |
|---|---|
| Size | 25.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
19b4b03e017d50ae35f54b206e737218094a77988c6b90fa84597cf6fb8bb45c
|
|
BLAKE2b-256 checksum How to use checksums |
5e5e36c34ed9bb09222c9cd9760f81665e65e87d918e4dd73346060c13637d90
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.1 CPython/3.10.10 Linux/6.0.12-arch1-1
|
Security for monitor-summer-snapshots 0.7.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.