ai-monitor
Proactive system monitoring daemon with anomaly detection and suggestions
Version: 9.0.1 | Size: 2.6MB | Author: Warith Al Maawali
License: Proprietary | Website: https://www.digi77.com
File Information
| Property | Value |
|---|---|
| Binary Name | ai-monitor |
| Version | 9.0.1 |
| Build Date | 2026-02-14T07:59:32.807442993Z |
| Rust Version | 1.82.0 |
| File Size | 2.6MB |
| JSON Data | View Raw JSON |
SHA256 Checksum
Features
| Feature | Description |
|---|---|
| Core | Advanced functionality for Kodachi OS |
Security Features
| Feature | Description |
|---|---|
| Inputvalidation | All inputs are validated and sanitized |
| Ratelimiting | Built-in rate limiting for network operations |
| Authentication | Secure authentication with certificate pinning |
| Encryption | TLS 1.3 for all network communications |
System Requirements
| Requirement | Value |
|---|---|
| OS | Linux (Debian-based) |
| Privileges | root/sudo for system operations |
| Dependencies | OpenSSL, libcurl |
Global Options
| Flag | Description |
|---|---|
-h, --help |
Print help information |
-v, --version |
Print version information |
-n, --info |
Display detailed information |
-e, --examples |
Show usage examples |
--json |
Output in JSON format |
--json-pretty |
Pretty-print JSON output with indentation |
--json-human |
Enhanced JSON output with improved formatting (like jq) |
--verbose |
Enable verbose output |
--quiet |
Suppress non-essential output |
--no-color |
Disable colored output |
--config <FILE> |
Use custom configuration file |
--timeout <SECS> |
Set timeout (default: 30) |
--retry <COUNT> |
Retry attempts (default: 3) |
Commands
Commands
start
Start the system monitoring daemon
Usage:
Options:
- --interval: Check interval in seconds
- --threshold: Security score threshold
- --daemon: Run as background daemon
Examples:
status
Show current monitor status and statistics
Usage:
Options:
- --verbose: Show detailed status
Examples:
suggestions
List and manage proactive suggestions
Usage:
Options:
- --category: Filter by category
- --resolve: Resolve suggestion by ID
- --dismiss: Dismiss suggestion by ID
- --cleanup: Cleanup old suggestions
Examples:
service
Manage the ai-monitor systemd service lifecycle
Usage:
Options:
- <ACTION>: install | uninstall | enable | disable | status
Examples:
Examples
Basic Usage
Basic monitoring operations
Start the monitoring daemon with default settings
Expected Output: Monitor daemon started successfullyShow current monitor status
Expected Output: Monitor status with active suggestions countList all active suggestions
Expected Output: List of proactive suggestionsStart daemon with JSON status output
Expected Output: JSON response with daemon process infoNote
Useful for automated service management
Get monitor status as JSON
Expected Output: JSON with monitor state and suggestion countsNote
Structured output for monitoring dashboards
List all suggestions as JSON
Expected Output: JSON array of active suggestions with metadataNote
Structured output for programmatic consumption
Advanced Configuration
Advanced monitoring and suggestion management
Start with custom interval and security threshold
Expected Output: Monitor started with custom configurationNote
Interval in seconds, threshold 1-100
Start monitor as background daemon
Expected Output: Monitor daemon started in backgroundList security-related suggestions only
Expected Output: Filtered suggestions by categoryShow network-related suggestions
Expected Output: Network category suggestionsMark suggestion as resolved
Expected Output: Suggestion marked as resolvedGet detailed status in JSON format
Expected Output: Comprehensive monitor status in JSONStart with all parameters and JSON output
Expected Output: JSON with custom interval and threshold configurationNote
60-second interval, 80% security threshold, structured output
Security suggestions as JSON
Expected Output: JSON array of security-category suggestionsNote
Filter and format combined for automation
Service Management
Manage the systemd daemon lifecycle
Install service (if needed) and start as systemd daemon
Expected Output: ai-monitor daemon started via systemdNote
Requires root. Auto-installs the service file.
Install the systemd service file
Expected Output: Service installed successfullyCheck the daemon status
Expected Output: Service status with active/enabled stateNote
Does not require root
Check daemon status as JSON
Expected Output: JSON with service active/enabled stateNote
Structured output for monitoring scripts
Stop, disable, and remove the service
Expected Output: Service uninstalled successfullyAI Tier Health Monitoring
Monitor health status of all 6 AI engine tiers
Show health status of all AI tiers
Expected Output: JSON with per-tier availability and healthNote
Covers TF-IDF, ONNX, Mistral.rs, GenAI/Ollama, Legacy LLM, Claude tiers
Security suggestions including AI tier recommendations
Expected Output: JSON with AI-informed security suggestionsNote
AI tiers can generate security recommendations via tool calling
Monitor with AI tier health checks every 2 minutes
Expected Output: Daemon started with AI tier monitoring enabledNote
Periodically checks Ollama, GGUF model, and Claude CLI availability
Maintenance Operations
Cleanup and maintenance commands
Cleanup old inactive suggestions
Expected Output: Count of cleaned up suggestionsNote
Removes suggestions older than 30 days
Dismiss a suggestion without resolving
Expected Output: Suggestion marked as dismissedShow optimization suggestions
Expected Output: Performance and optimization suggestionsShow recovery suggestions
Expected Output: System recovery and repair suggestionsONNX Classifier & Policy Monitoring
Monitor ONNX intent classifier and AI policy file health
Check ONNX intent classifier health
Expected Output: JSON including ONNX classifier model statusNote
Verifies kodachi-intent-classifier.onnx is loadable
Check AI policy file integrity
Expected Output: JSON including policy file signature verificationNote
Verifies ai-policy.json exists and signature is valid
Show ONNX vs LLM routing statistics
Expected Output: JSON with fast-path (ONNX) vs slow-path (LLM) breakdownNote
Shows percentage of queries routed via fast path
Environment Variables
| Variable | Description | Default | Values |
|---|---|---|---|
RUST_LOG |
Set logging level | info | error |
NO_COLOR |
Disable all colored output when set | unset | 1 |
Exit Codes
| Code | Description |
|---|---|
| 3 | Permission denied |
| 4 | Network error |
| 2 | Invalid arguments |
| 0 | Success |
| 5 | File not found |
| 1 | General error |