Source: factory.core/extend.monitor/ObjMonitorCollector.py
Collector mixin for Monitor.
| Method | Signature | Description |
|---|---|---|
| get_docker_containers | get_docker_containers() -> List[Dict[str, Any]] |
Get list of Docker containers and their status. |
| get_network_io | get_network_io() -> dict |
Get network I/O statistics. |
| get_process_memory | get_process_memory() -> dict |
Get memory usage of the current Python process. |
| collect_pending_updates | collect_pending_updates() -> Dict[str, Any] |
Scan for pending apt package updates. |
| read_pending_updates | read_pending_updates() -> List[Dict[str, Any]] |
Read stored pending updates. |
| count_pending_updates | count_pending_updates() -> Dict[str, int] |
Get pending update counts. |
| collect_disk_latency | collect_disk_latency() -> List[Dict[str, Any]] |
Sample disk I/O latency via iostat. |
| read_disk_latency | read_disk_latency(limit: int = 20) -> List[Dict[str, Any]] |
Read recent disk latency samples. |
| collect_axion_processes | collect_axion_processes() -> List[Dict[str, Any]] |
Return running Serve* Python processes with PID and memory usage. |
| collect_git | collect_git() -> str |
Collects information about the current Git repository state. |
| get_wsl_host_ip | get_wsl_host_ip() -> Optional[str] |
Gets the Windows host IP address from /etc/resolv.conf in WSL. |
| get_host_ip | get_host_ip() -> Optional[str] |
Retrieves the host's IP address, differentiating |
| collect_system | collect_system(context: Dict[str, Any]) -> None |
Collects core system information and updates |
| collect_isp | collect_isp(context: dict) -> None |
Collects Internet Service Provider (ISP) related |
| collect_ports | collect_ports(context: Dict[str, Any]) -> None |
Collects information about open network ports on the host. |
| collect_drive | collect_drive(context: dict) -> None |
Collects disk usage and I/O statistics for all mounted drives. |
| collect_os | collect_os() -> List[Dict[str, Any]] |
Collects operating system-level metrics and supervisor service statuses. |
| collect_files | collect_files(context: dict) -> None |
Collects information about specified files, |
| collect_from_proxmox | collect_from_proxmox() -> None |
Initiates data collection from a Proxmox VE instance. |
| collect_https | collect_https(context: dict) -> Optional[str] |
Collects HTTPS certificate information for a configured domain. |
| collect_wireguard_peers | collect_wireguard_peers() -> List[Dict[str, Any]] |
Collect WireGuard peer status. |
| collect_crontab_diff | collect_crontab_diff() -> Dict[str, Any] |
Compare current crontabs with last scan. |
| collect_axion_health | collect_axion_health() -> List[Dict[str, Any]] |
Collect Axion Serve* process health |
| collect_cpu_hogs | collect_cpu_hogs() -> List[Dict[str, Any]] |
Top 10 processes by CPU usage. |
| collect_memory_trend | collect_memory_trend() -> Dict[str, Any] |
Memory and OOM status. |
| collect_disk_space_trend | collect_disk_space_trend() -> List[Dict[str, Any]] |
Disk usage with growth estimation. |
| collect_ollama | collect_ollama() -> Dict[str, Any] |
Collect Ollama models and GPU status. |
| collect_endpoint | collect_endpoint() -> List[Dict[str, Any]] |
Probe inbound webhook endpoints from |
Rich-based live TUI dashboard for ObjMonitor.