Skip to content

Mostly a test of AutoGPT. Simple server and agent for monitoring linux machines.

Notifications You must be signed in to change notification settings

zwatkins15/dbts-mon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

NOTE: This project is partially a test of ChatGPT+AutoGPT.

DBTS-Mon

The DBTS (Deer Brook Technical Services) Agent is a simple Python-based client-server system that enables the execution of tasks on connected clients. The server keeps track of clients' check-ins and task statuses, while the clients check in periodically to receive tasks.

Features

  • Centralized server for managing client check-ins and tasks
  • SQLite3 database for storing client and task information
  • Simple JSON-based messaging system for communication between clients and the server
  • Lightweight and easy-to-understand codebase

Future Features

  • Expand data sent by clients to include hostname, most recent apt update/apt upgrade, external IP, IP of eth0, IP of eth1, users on system
  • Expand web interface to look nicer, and have a tasks queue page that allows creation, deletion, editing, and status of tasks
  • Encrypt communication between server and client
  • Modular system for tasks that can be assigned to clients

Prerequisites

  • Python 3.9+

Installation

  1. Clone the repository:
git clone https://github.com/zwatkins15/dbts-mon.git
cd dbts-mon
  1. (Optional) Set up a virtual environment to isolate dependencies:
python -m venv venv
source venv/bin/activate # On Windows, use venv\Scripts\activate

Usage

  1. Run the server script:
python server.py

This will start the server and create an SQLite3 database file if it doesn't already exist.

  1. In a separate terminal, run the client script:
python client.py

This will make the client check in with the server and receive any pending tasks.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

About

Mostly a test of AutoGPT. Simple server and agent for monitoring linux machines.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages