All Projects → WaterByWind → monitoring-utilities

WaterByWind / monitoring-utilities

Licence: MIT license
Miscellaneous tools and utilities for collection, manipulation, and logging of various metrics

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to monitoring-utilities

EdgeOS-API
An API for Ubiquiti EdgeOS, the operating system used by Ubiquiti Inc's EdgeRouter & UFiber OLT products (part of the EdgeMax product range).
Stars: ✭ 27 (+68.75%)
Mutual labels:  ubiquiti, edgerouter, edgeos
edgerouter-ansible
Ansible automation of home EdgeRouter Lite
Stars: ✭ 28 (+75%)
Mutual labels:  ubiquiti, edgerouter, edgeos
ubnt-cloudflared
Install Cloudflare's DNS proxy on UBNT gateways
Stars: ✭ 22 (+37.5%)
Mutual labels:  ubiquiti, edgerouter, edgeos
erx-shadowsocks-libev
GFWList Mode
Stars: ✭ 39 (+143.75%)
Mutual labels:  edgerouter, edgeos
vyatta-cjdns
A cjdns package for Ubiquiti EdgeOS and VyOS, allowing cjdns to be used on EdgeRouters
Stars: ✭ 39 (+143.75%)
Mutual labels:  ubiquiti, edgerouter
Edgeos setup
sensible defaults for EdgeOS based routers
Stars: ✭ 51 (+218.75%)
Mutual labels:  ubiquiti
Terraform Provider Unifi
Terraform provider for Unifi 📡
Stars: ✭ 239 (+1393.75%)
Mutual labels:  ubiquiti
Aws Unifi Controller
Example of a Ubiquiti Unifi Controller in AWS using Network Load Balancer for TLS termination
Stars: ✭ 37 (+131.25%)
Mutual labels:  ubiquiti
Grafana Dashboards
Grafana Dashboards
Stars: ✭ 228 (+1325%)
Mutual labels:  ubiquiti
Unifi Hotspot Manager
A HotSpot Manager for Ubiquiti UniFi Hardware
Stars: ✭ 28 (+75%)
Mutual labels:  ubiquiti
Ubnt Edgerouter Example Configs
Example config.boot files for UBNT EdgeRouters with Google, Comcast, and Charter
Stars: ✭ 175 (+993.75%)
Mutual labels:  ubiquiti
Unifi Poller
Application: Collect ALL UniFi Controller, Site, Device & Client Data - Export to InfluxDB or Prometheus
Stars: ✭ 1,050 (+6462.5%)
Mutual labels:  ubiquiti
wireguard-kmod
WireGuard for UDM series routers
Stars: ✭ 328 (+1950%)
Mutual labels:  ubiquiti
Udm Utilities
A collection of things I have made to make the Unifi Dream Machine more useful
Stars: ✭ 987 (+6068.75%)
Mutual labels:  ubiquiti
pyunifiprotect
Unofficial UniFi Protect Python API and CLI
Stars: ✭ 57 (+256.25%)
Mutual labels:  ubiquiti
Edgeos Blacklist
Automatically updates IP blacklist for EdgeOS (supports IPv4 & IPv6)
Stars: ✭ 34 (+112.5%)
Mutual labels:  ubiquiti
Udm Le
Let's Encrypt support for Ubiquiti UbiOS firmwares
Stars: ✭ 170 (+962.5%)
Mutual labels:  ubiquiti
ntopng-udm
ntopng Docker image for the UDM base and UDM pro
Stars: ✭ 147 (+818.75%)
Mutual labels:  ubiquiti
Homebridge Unifi Protect Camera Motion
Camera & Motion sensor support for Unifi Protect cameras in Homekit via Homebridge
Stars: ✭ 79 (+393.75%)
Mutual labels:  ubiquiti
Go Unifi
Unifi Controller API SDK for Go
Stars: ✭ 71 (+343.75%)
Mutual labels:  ubiquiti

Monitoring/logging utilities

Miscellaneous utilities and tools for collection, manipulation, and logging of arbitrary metrics

LICENSE

The standard license under which these tools, utilities, and files here are released.

README.md

This file (the one being read).

Contents

A list of tools and utilities provided here.

stats-er.py

Periodic monitoring of UBNT EdgeRouter metrics not otherwise available via SNMP. Supports publishing to remote InfluxDB and/or writing to local log files.

Currently this script will collect temperatures, fan speeds, and power usage from those units that include such sensors. To determine if a given EdgeRouter supports these use show hardware temperature, show hardware fan, and show hardware power from a shell prompt on the ER.

The script as-configured will not actually perform any logging of data. At minimum one of the two options for logging should be enabled by editing the configuration at the beginning of the script. Additionally details such as database host, etc should be configured as appropriate.

This is a quick interim tool created for a specific use but may be useful to others.

Note

Publishing to InfluxDB requires additional support libraries that are not part of the EdgeOS distribution. These are easily obtained however.

The primary dependency is on InfluxDB-Python, which in turn has a few dependencies.

The current EdgeOS distribution is based upon Debian Wheezy, which does not itself include influxdb-python. All of the required dependencies are, however, platform-independent. The quickest solution would be to copy the few dependent python libraries from a standard Debian Jessie distribution:

  1. On Debian 8 (Jessie) OS:
    1. sudo apt install python-influxdb This will ensure all dependencies are included.
    2. cd /usr/lib/python2.7/dist-packages
    3. tar zcf /tmp/pdepend.tgz chardet pytz six.py six.pyc urllib3 dateutil influxdb requests
    4. scp /tmp/pdepend.tgz <edgerouter>:/tmp
  2. On <edgerouter>:
    1. mkdir /config/scripts/stats-er
    2. cd /config/scripts/stats-er
    3. tar xpf /tmp/pdepend.tgz
  3. Copy the stats-er.py into /config/scripts/stats-er and edit appropriately. The script will find the dependent libraries from within the directory where it is located.

ubnt-edgerouter-extend-dashboard.json

Sample Grafana dashboard for use with the above stats-er.py publishing to InfluxDB.

To use, configure the database used by stats-er.py as a new datasource in your local Grafana instance, then import the .json into that same instance.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].