A Python-based command-line tool designed to automate routine system and network tasks
Ideal for data center administrators managing servers, performing security checks, and handling backups. Tailored to enhance efficiency in data center operations.
| Feature | Description |
|---|---|
| System Monitoring | Check CPU, memory, disk usage, and uptime with customizable alert thresholds |
| Network Diagnostics | Ping hosts and scan common ports (22, 80, 443 by default) |
| Log Analysis | Tail and filter logs for errors or anomalies |
| Security Audit | Perform basic checks for outdated packages or weak configurations |
| Backup Management | Sync files or directories to a destination |
| Patch Verification | Simulate package updates for verification |
| User Management | Add, remove, or list users on the system |
| Forensics Quick-Scan | Generate file hashes and modification timestamps |
git clone https://github.com/ranacse05/DC2LI.git
cd dc2li
pip install click psutil paramiko
Run the tool with python3 DC2LI.py followed by a command. Use --help for details on each command.
python3 DC2LI.py monitor # Local system
python3 DC2LI.py monitor --host IP --user USER --password PASS # Remote
python3 DC2LI.py netcheck HOST1 HOST2 # Multiple hosts
python3 DC2LI.py netcheck HOST --ports 80,443,3306 # Custom ports
python3 DC2LI.py logs /path/to/logfile # View logs
python3 DC2LI.py logs /path/to/logfile --errors-only # Errors only
python3 DC2LI.py --help # All commands
Built with β€οΈ for data center professionals