Netdata scripts.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Charles Reid f5a33b6e0d Update 'LICENSE' 7 years ago
LICENSE Update 'LICENSE' 7 years ago
README.md Add script to query Netdata and insert into MongoDB 7 years ago
netdata_mongo.py Add script to query Netdata and insert into MongoDB 7 years ago

README.md

Netdata

This repository contains scripts for ingesting and processing data from Netdata.

MongoDB

To ingest data from Netdata into a MongoDB database, the Netdata API can be used to obtain measurements and observations as JSON data.

See Netdata#Database Backends on the charlesreid1.com wiki.

The script netdata_mongo.py uses the requests library to extract Netdata data as JSON and turn it into a Python dictionary. The pymongo library is used to insert the data into MongoDB.