Skip to content

CLI based tool for system admin to monitor system and network with few extra functions.

Notifications You must be signed in to change notification settings

ranacse05/DC2LI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 

Repository files navigation

DC2LI - Data Center CLI Toolkit

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.


πŸš€ Features

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

πŸ“₯ Installation

Clone the repository:

git clone https://github.com/ranacse05/DC2LI.git
cd dc2li

Install dependencies:

pip install click psutil paramiko

Usage

Run the tool with python3 DC2LI.py followed by a command. Use --help for details on each command.

Examples

MONITORING

python3 DC2LI.py monitor                                    # Local system
python3 DC2LI.py monitor --host IP --user USER --password PASS  # Remote

NETWORK

python3 DC2LI.py netcheck HOST1 HOST2                      # Multiple hosts
python3 DC2LI.py netcheck HOST --ports 80,443,3306         # Custom ports

LOGS

python3 DC2LI.py logs /path/to/logfile                     # View logs
python3 DC2LI.py logs /path/to/logfile --errors-only       # Errors only

HELP

python3 DC2LI.py --help                                    # All commands

Built with ❀️ for data center professionals

About

CLI based tool for system admin to monitor system and network with few extra functions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages