Keeping tabs on your systems..
Project description
Snitch
Keeping tabs on your systems..
Description
Snitch is a tool designed to provide a common interface for monitoring system activity. It uses a plugin-based system to check for signs of life, such as file modifications or the output of custom functions. This allows you to get a quick and simple "active" or "inactive" status for a machine.
CLI Usage
Snitch offers a few simple commands to manage activity checks and view status.
Checking for Activity
To run a new activity check, use the check command. This will execute all configured plugins, update the local state file with the results, and print the current status.
Note: You'll likely want to run this with a user that has root permissions to make sure it has access to each file.
snitch check
Displaying the Current Status
To view the most recent activity status without running a new check, use the status command.
snitch status
Example output:
--- System Activity Status ---
Status: ACTIVE (within last 5 days)
Confidence: 100.0%
Last File Activity: 2025-09-19 10:30:00
Last Checked: 2025-09-19 10:30:00
Serving the Status via API
Snitch can run as a simple HTTP server to expose the latest activity status via a JSON API. Use the serve command for this.
snitch serve --port 8000
This will start a server on port 8000. You can then query the API to get the status:
curl http://localhost:8000/
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file snitch-0.1.0.tar.gz.
File metadata
- Download URL: snitch-0.1.0.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e62579c7a5462a9df065634d5f657b236b580669e31faf05e754038e193275fc
|
|
| MD5 |
92e35d9db71df4e4cda2395842b5a813
|
|
| BLAKE2b-256 |
860d1c78902f24bf14b949679a1a80369d15c34d5286a9943b31480ef2fc8996
|
File details
Details for the file snitch-0.1.0-py3-none-any.whl.
File metadata
- Download URL: snitch-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
910484d1a399d652fedb01715b4a69fc6d71a46ea291bc6b32554bfc392a2c00
|
|
| MD5 |
024a32106ea8ab22a1f836764bad9189
|
|
| BLAKE2b-256 |
bd2d54aff4c72baf17a512ffa3efd45115e93ed3a01f640c4ff580cdf833ebf3
|