https://github.com/cesnet/nemea-dashboard
https://github.com/cesnet/nemea-dashboard
liberouter nemea
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cesnet/nemea-dashboard
- Owner: CESNET
- Created: 2015-03-16T19:51:08.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2023-02-02T06:24:17.000Z (about 3 years ago)
- Last Synced: 2023-04-05T23:36:15.829Z (almost 3 years ago)
- Topics: liberouter, nemea
- Language: HTML
- Size: 22.2 MB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nemea Dashboard
Nemea Dashboard is a graphical user interface to interact with Nemea alerts dabatase. It features multiple dashboards with beautiful graphs showing current state of servers monitored by Nemea system
Nemea Dashboard's main developer is Petr Stehlík (stehlik[you-know-what]cesnet.cz). If you have any questions please contact Petr or create a new issue here on GitHub
##Installing Nemea-Dashboard
###Prequisites
You'll need `python` (tested on python 3.5), `pip` (in case of python3 pip3), `mongoDB` (~3.2.1) and any HTTP server (tested and run on `httpd`)
###Installing
1. Clone this repository
2. Configure front-end (js/config.js) and back-end (config.json) accordingly
2. (Optional) create python virtual environment (`virtualenv `) and activate it
3. Run `pip3 install -r requirements.txt`
5. Start mongoDB (demo database TBD)
6. Start web server
7. Start Python API (`python3 apiv2.py`)
8. Navigate to the web server
Default user login : `default`
Password: `test`
##API Endpoints
The API is versioned in the URL and every endpoint starts with the version number (currently `/v2`)
###User Management
Starts with prefix `/users`
User authorization
```
/auth
```
User logout
```
/logout
```
###Events
Starts with prefix `/events`
Create indexes in MongoDB and return all created indexes
```
/indexes
```
View on aggregated events
```
/agg
```
Get last `n` events in DB
```
/
```
Specific query
```
/query
```
Get top event in each category
```
/top
```
Get one specified event
```
/id/
```