zabbix-super-vision/README.md

65 lines
2.0 KiB
Markdown
Raw Permalink Normal View History

2023-01-16 15:08:14 +01:00
# Super-Vision :eyeglasses:
2023-02-08 15:49:20 +01:00
[![Project Incubating](https://docs.outscale.com/fr/userguide/_images/Project-Incubating-blue.svg)](https://docs.outscale.com/en/userguide/Open-Source-Projects.html)
2023-01-16 10:08:14 +01:00
2023-01-16 14:31:57 +01:00
## Description
Super-Vision is a monitoring dashboard for Zabbix.
2023-01-16 10:08:14 +01:00
2023-02-08 11:34:41 +01:00
Tested for Zabbix 4.4.10 and 6.2
2023-01-20 11:56:54 +01:00
2023-01-16 15:28:12 +01:00
![](super-vision-example.png)
2023-02-28 09:52:23 +01:00
## Prerequisites
2023-02-28 09:56:31 +01:00
You will need [Python 3.6+](https://www.python.org/) or later.
2023-02-28 09:52:23 +01:00
- gcc
- python3-devel
2023-01-16 14:31:57 +01:00
## Installation
It is a good practice to create a dedicated virtualenv first. Even if it usually won't harm to install Python libraries directly on the system, better to contain dependencies in a virtual environment.
2023-01-16 10:08:14 +01:00
2023-01-16 14:31:57 +01:00
- Clone this repository
- Change directory
2023-01-16 14:32:45 +01:00
```
cd super-vision
```
2023-01-16 14:31:57 +01:00
- Create a virtualenv
2023-01-16 10:08:14 +01:00
```
2023-01-16 14:31:57 +01:00
python3 -m venv .venv
source .venv/bin/activate
```
- Install Python packages
```
pip3 install -r requirements.txt
2023-01-16 10:08:14 +01:00
```
## Usage
2023-01-19 19:35:08 +01:00
Fill the settings.py file with your informations about Zabbix server IP, severity ...
```
cd zabbix_super_vision
uvicorn --host 0.0.0.0 --port 8003 super_server:app
```
2023-01-16 14:31:57 +01:00
2023-01-19 19:52:32 +01:00
### TV Mode
2023-01-19 19:35:08 +01:00
You can use the TV Mode :tv: to remove the menu from the page by adding /tv/ in your URL.
2023-01-16 10:08:14 +01:00
2023-01-19 19:35:08 +01:00
_Example:_ http://127.0.0.1:8080/tv/
2023-01-16 14:40:53 +01:00
2023-01-19 19:52:32 +01:00
### MOTD
You can write a message which will be displayed for ALL host groups or only one with a different severity (Info, Warning, Disaster) by clicking on the button
:speech_balloon:
2023-01-16 14:40:53 +01:00
2023-02-08 11:50:00 +01:00
### Multi Team
You can display multi host groups on the same page by adding a "+" between them.
_Example:_ http://127.0.0.1:8080/Zabbix%20proxies+Zabbix%20servers
2023-01-16 10:08:14 +01:00
## Contributing
2023-01-16 14:31:57 +01:00
- If you think you've found a bug in the code or you have a question regarding the usage of this software, please reach out to us by opening an issue in this GitHub repository.
- Contributions to this project are welcome: if you want to add a feature or a fix a bug, please do so by opening a Pull Request in this GitHub repository. In case of feature contribution, we kindly ask you to open an issue to discuss it beforehand.
2023-01-16 10:08:14 +01:00
## License
2023-01-16 14:31:57 +01:00
> Copyright Outscale SAS
>
> BSD-3-Clause