tatter / agents
Service analysis and assessment for CodeIgniter 4
Fund package maintenance!
tattersoftware
paypal.me/tatter
Installs: 4 796
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 1
Open Issues: 4
Requires
- php: ^7.3 || ^8.0
- tatter/handlers: ^2.0
- tatter/reports: ^1.1
Requires (Dev)
- codeigniter4/codeigniter4: dev-develop
- tatter/tools: ^1.5
This package is auto-updated.
Last update: 2024-12-14 11:48:21 UTC
README
Service analysis and assessment for CodeIgniter 4
Quick Start
- Install with Composer:
> composer require tatter/agents
- Check all agent statuses:
> php spark agents:check
Features
The Agents library defines a number of individual Agents that gather status information from the server, framework, and various services and modules into a streamlined data store.
Installation
Install easily via Composer to take advantage of CodeIgniter 4's autoloading capabilities and always be up-to-date:
> composer require tatter/agents
Or, install manually by downloading the source files and adding the directory to
app/Config/Autoload.php
.
Configuration (optional)
The library's default behavior can be altered by extending its config file. Copy examples/Agents.php to app/Config/ and follow the instructions in the comments. If no config file is found in app/Config the library will use its own.
Usage
After installing Agents can be loaded individually from the model, or run centrally with
the provided CLI command: php spark agents:check
. Most likely you will want to create a
cron job to run this at periodic intervals.
Agent results are stored in the agents_results
table with its corresponding model
Tatter\Agents\Models\ResultModel
. Large data objects are serialized and hashed into a
separate table that checks for duplicate data to cut down on storage sizes.