zombah / librenms-api-scripts

Various LibreNMS api scripts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LibreNMS API scripts

Various Python3 scripts to manipulate data received
from LibreNMS API.

How to

Copy enviroment example and edit it:

$ cp .env.example .env
$ vim .env
LIBRENMS_TOKEN="token"
LIBRENMS_URL="https://librenms.mydomain.local"

Then create virtual eviroment and run script:

$ python3 -m venv ./venv
$ source ./venv/bin/activate
$ pip install -r requirements.txt
$ python3 librenms-api-example.py

License

See LICENSE.

About

Various LibreNMS api scripts

License:GNU General Public License v3.0


Languages

Language:Python 99.7%Language:Shell 0.3%