https://github.com/tattersoftware/codeigniter4-agents
Service analysis and assessment for CodeIgniter4
https://github.com/tattersoftware/codeigniter4-agents
Last synced: about 1 year ago
JSON representation
Service analysis and assessment for CodeIgniter4
- Host: GitHub
- URL: https://github.com/tattersoftware/codeigniter4-agents
- Owner: tattersoftware
- License: mit
- Created: 2019-08-25T01:44:41.000Z (almost 7 years ago)
- Default Branch: develop
- Last Pushed: 2022-10-14T07:02:59.000Z (over 3 years ago)
- Last Synced: 2025-04-12T00:15:03.316Z (about 1 year ago)
- Language: PHP
- Size: 58.6 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Tatter\Agents
Service analysis and assessment for CodeIgniter 4
## Quick Start
1. Install with Composer: `> composer require tatter/agents`
2. 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.