Skip to main content

"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

Metadata

Release files for Santa_IW 0.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Santa_IW 0.9.0
File Size Uploaded
santa_iw-0.9.0.tar.gz 3.8 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for Santa_IW 0.9.0
File Interpreter ABI Platform
santa_iw-0.9.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.7 MB

Release files / santa_iw-0.9.0.tar.gz

Download URL santa_iw-0.9.0.tar.gz
Size 3.8 MB
Tags Source
SHA-256 checksum
How to use checksums
cdc3c5cba89907c8cc4902954670524214fc151e89d32ff9b57391f225ade52d
BLAKE2b-256 checksum
How to use checksums
d38eeae7d733e22cfa9f66be511e0774b1afc921c2d95ff27c1bb41c690d50da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.9.18 Linux/5.14.0-427.16.1.el9_4.x86_64

Release files / santa_iw-0.9.0-py3-none-any.whl

Download URL santa_iw-0.9.0-py3-none-any.whl
Size 3.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
4afccbdec4c7e3ad3c11d1ca0206463d945805e3a60a963828daccc72066bf85
BLAKE2b-256 checksum
How to use checksums
198640aefe2a2a629a79f9de57a431bf4c86fee0af52086125bc756d0a6d3b80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.9.18 Linux/5.14.0-427.16.1.el9_4.x86_64

Release history Release notifications | RSS feed

This release

0.9.0 This release

2 release files

0.7.4

2 release files

0.6.1

2 release files

0.6.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page