Santa Is Watching: ZFS Aware Network Monitor
Project description
"Santa Is Watching" (aka Santa_IW) is a network monitoring tool with an emphasis on ZFS and network attached storage in a homelab environment. Santa_IW can automatically discover hardware on your intranet and build up a list of appropriate tests which will run periodically to monitor your network. Santa_IW runs on a single Linux computer which needs ssh keys to run diagnostic commands on other computers in your system.
If Santa_IW can make an ssh connection to the node, it schedules tests, which include:
- monitor status and free space on zfs pools
- monitor age of most recent snapshot on zfs volumes
- detects failures in periodic snapshot or send/receive pipelines
- monitor NFS and SMB volume shares
- monitor drive health as reported by smartctl
- monitor drives listed in /etc/fstab for disk free space
- monitor temperature and other data reported by lm-sensors
- monitor for failed services reported by systemctl --failed
Santa_IW is written entirely in Python (3.11 or later) and its configuration files are all editable json. It ships with 21 built in test types and can load additional user written tests or plugins from user directories. An example plugin is provided to use a Philips Hue color changing light bulb to provide a GREEN/YELLOW/RED system status light.
A web based interface lets the user navigate up and down the hierarchy of node groups, nodes and tests to see various levels of detail. Tests can record numeric data where appropriate. Running averages are displayed and values over time can be graphed in the GUI or extracted for offline processing.
Santa_IW is hosted on GitLab and has been developed and tested on a Linux platform. It has been installed and run on RHEL, Fedora, Ubuntu and Debian platforms (including Raspberry Pi 3). It is written in pure Python, but calls out to many Linux/Posix command line utilities. It is plausible that it might someday work on other Posix compliant platforms (macOS or BSD), but that is out of scope for the current effort. For windows support...
Santa_IW is intended for homelab use on an internal network. It does not yet have any robust authentication system and should not be exposed on the open internet.
A Reddit group has been setup for beta test participants at https://www.reddit.com/r/Santa_IW/
Santa_IW (Code and Documentation) is published under an MIT License, Copyright (c) 2024 Steven Goncalo
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file santa_iw-0.9.0.tar.gz
.
File metadata
- Download URL: santa_iw-0.9.0.tar.gz
- Upload date:
- Size: 3.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.9.18 Linux/5.14.0-427.16.1.el9_4.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdc3c5cba89907c8cc4902954670524214fc151e89d32ff9b57391f225ade52d |
|
MD5 | f58bbb42872d7ae3d8d140e985303237 |
|
BLAKE2b-256 | d38eeae7d733e22cfa9f66be511e0774b1afc921c2d95ff27c1bb41c690d50da |
File details
Details for the file santa_iw-0.9.0-py3-none-any.whl
.
File metadata
- Download URL: santa_iw-0.9.0-py3-none-any.whl
- Upload date:
- Size: 3.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.9.18 Linux/5.14.0-427.16.1.el9_4.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4afccbdec4c7e3ad3c11d1ca0206463d945805e3a60a963828daccc72066bf85 |
|
MD5 | 5803a8dfa2610a8b381eab73b6037deb |
|
BLAKE2b-256 | 198640aefe2a2a629a79f9de57a431bf4c86fee0af52086125bc756d0a6d3b80 |