# NGON Miner Management (NMM)

This directory contains tools for managing mining operations and equipment.

## Tools Available

### 🔧 **Site Manager** (`site_manager.py`)
- Comprehensive site and pod configuration management
- Drag-and-drop interface for organizing sites, groups, and pods
- Generator assignments and network configuration
- **Authentication Required**: Username `ngon`, Password `ngonpeplink`

### ⚡ **NGON Miner Tool (NMT)** (`nmt.py`) 
- Individual miner management and control
- Sleep/wake operations, reboots, and status monitoring
- Zero hashrate analysis and troubleshooting
- **Authentication Required**: Username `ngon`, Password `ngonpeplink`

### 📊 **Zero Hash Analysis** (`zero_hash.py`)
- Specialized tool for analyzing miners with zero hashrate
- Performance trending and diagnostic capabilities

### 🤖 **Miner Monitor** (`miner_monitor.py`)
- Automated background monitoring and recovery system
- Handles zero hashrate detection and automated responses

## Shared Resources

- **`ngon-modals.css`** - Shared modal styling across all tools
- **`site_manager.css/js`** - Site Manager specific styling and functionality

## Access

All tools are accessible via web browser:
- Site Manager: `/ngon/nmm/site_manager.py`
- NMT: `/ngon/nmm/nmt.py` 
- Zero Hash: `/ngon/nmm/zero_hash.py`

## Authentication

Site Manager and NMT now require authentication for security. Use the credentials configured in `/opt/ngon/config/credentials/`.