Managing Linux servers requires a diverse set of tools — from checking system resources and parsing logs to scanning networks and auditing security configurations. While powerful tools like Nagios, Zabbix, and Datadog exist, they require complex setup, agents, and often expensive licenses.
dargslan-toolkit takes a different approach. It bundles 15 lightweight, dependency-free Python tools that you can install with a single command and use immediately. No agents, no configuration files, no external services — just practical CLI tools and Python APIs for everyday sysadmin tasks.
Install Everything with One Command
pip install dargslan-toolkit
This single command installs all 15 tools. Each tool is also available individually if you only need specific functionality. Every tool has zero external dependencies — they use only Python's standard library, making them safe to install on production servers.
The Complete Tool List
1. dargslan-sysinfo — System Information
Get comprehensive system information including CPU architecture, memory usage, disk space, network interfaces, kernel version, and uptime.
dargslan-sysinfo
dargslan-sysinfo cpu
dargslan-sysinfo memory
2. dargslan-log-parser — Log File Analyzer
Parse and analyze syslog, auth.log, nginx, and Apache log files. Filter by severity level, find failed logins, and extract statistics.
dargslan-logparse /var/log/syslog
dargslan-logparse /var/log/auth.log --level error
3. dargslan-net-scanner — Network Scanner
Perform ping sweeps and port scans across your network. Discover live hosts and open services without installing nmap.
dargslan-netscan ping 192.168.1.0/24
dargslan-netscan ports 192.168.1.1 -p 22,80,443
4. dargslan-firewall-audit — Firewall Auditor
Audit iptables and nftables rules. Detect overly permissive configurations, missing default deny policies, and conflicting rules.
dargslan-fwaudit report
dargslan-fwaudit issues
5. dargslan-docker-health — Docker Health Checker
Monitor Docker container health status, resource usage, and detect unhealthy or restarting containers.
dargslan-docker-health report
dargslan-docker-health unhealthy
6. dargslan-ssl-checker — SSL Certificate Checker
Check SSL/TLS certificate expiry dates, cipher suites, and protocol versions across multiple domains.
dargslan-ssl google.com github.com
dargslan-ssl myserver.com -p 8443 --json
7. dargslan-disk-cleaner — Disk Usage Analyzer
Analyze disk usage, find large files, scan temp directories, and identify cleanup opportunities.
dargslan-disk report
dargslan-disk large /home -m 50
8. dargslan-process-monitor — Process Monitor
Monitor running processes, detect zombie processes, track top CPU and memory consumers.
dargslan-proc summary
dargslan-proc zombies
9. dargslan-cron-audit — Crontab Auditor
Audit crontab entries for security issues, missing output redirection, and misconfigured schedules.
dargslan-cron report
dargslan-cron issues
10. dargslan-backup-monitor — Backup Monitor
Monitor backup freshness, verify file integrity with checksums, and track backup storage usage.
dargslan-backup report /backup
dargslan-backup check /backup --max-age 24
11. dargslan-user-audit — User Account Auditor
Audit user accounts for security issues — sudo access, empty passwords, duplicate UIDs, and home directory permissions.
dargslan-users report
dargslan-users sudo
12. dargslan-service-monitor — Systemd Service Monitor
Monitor systemd services, detect failed units, and verify critical services are running.
dargslan-svc report
dargslan-svc failed
13. dargslan-port-monitor — Open Port Monitor
Monitor listening ports, detect externally exposed services, and find unexpected network listeners.
dargslan-ports report
dargslan-ports exposed
14. dargslan-log-rotate — Log Rotation Analyzer
Audit logrotate configuration, find large unrotated log files, and analyze log directory disk usage.
dargslan-logrot report
dargslan-logrot large -m 100
15. dargslan-security-scan — Security Scanner
Comprehensive security scan: SSH configuration, SUID binaries, kernel parameters, file permissions, and a 0-100 security score.
dargslan-secscan report
dargslan-secscan score
Python API — Consistent Pattern
Every tool follows the same simple pattern for Python integration:
# Import the main class
from dargslan_sysinfo import SystemInfo
from dargslan_ssl_checker import SSLChecker
from dargslan_security_scan import SecurityScanner
# Create an instance
si = SystemInfo()
checker = SSLChecker()
scanner = SecurityScanner()
# Use print_report() for formatted output
si.print_report()
# Or call specific methods for programmatic access
cpu = si.cpu_info()
score = scanner.score()
cert = checker.get_cert_info("google.com")
JSON Output for Automation
Every tool supports JSON output, making it easy to integrate with monitoring pipelines, CI/CD scripts, or custom dashboards:
# CLI: Add --json flag
dargslan-sysinfo --json
dargslan-secscan json
# Python: Use to_dict() or json methods
import json
from dargslan_security_scan import SecurityScanner
ss = SecurityScanner()
data = ss.to_dict()
print(json.dumps(data, indent=2))
Why Zero Dependencies Matter
Production servers should have minimal attack surface. Every additional package installed is a potential security vulnerability and maintenance burden. The dargslan toolkit uses only Python's standard library:
- socket — Network scanning and SSL checking
- ssl — TLS certificate inspection
- os/pathlib — File system analysis
- subprocess — System command integration
- json — Structured output
- re — Log parsing patterns
No requests, no click, no rich — just the stdlib that ships with every Python installation.
Installation Options
# Complete toolkit (all 15 tools)
pip install dargslan-toolkit
# Individual tools (install only what you need)
pip install dargslan-sysinfo
pip install dargslan-ssl-checker
pip install dargslan-security-scan
# System-wide install (available to all users)
sudo pip install dargslan-toolkit
# User install (no sudo needed)
pip install --user dargslan-toolkit
Daily Server Health Check Script
#!/usr/bin/env python3
"""Daily server health check using dargslan-toolkit"""
from dargslan_sysinfo import SystemInfo
from dargslan_process_monitor import ProcessMonitor
from dargslan_disk_cleaner import DiskCleaner
from dargslan_service_monitor import ServiceMonitor
from dargslan_security_scan import SecurityScanner
print("=== Daily Server Health Check ===\n")
# System overview
si = SystemInfo()
mem = si.memory_info()
print(f"Memory: {mem['percent_used']}% used")
# Disk check
dc = DiskCleaner()
for fs in dc.disk_usage():
if fs['percent_used'] > 85:
print(f"DISK WARNING: {fs['mount']} at {fs['percent_used']}%")
# Zombie processes
pm = ProcessMonitor()
zombies = pm.find_zombies()
if zombies:
print(f"ZOMBIE ALERT: {len(zombies)} zombie processes!")
# Failed services
sm = ServiceMonitor()
failed = sm.get_failed()
if failed:
print(f"SERVICE ALERT: {len(failed)} failed services!")
# Security score
ss = SecurityScanner()
score = ss.score()
print(f"Security Score: {score}/100")
print("\n=== Check Complete ===")
📚 Level Up Your Linux Skills
Our eBook library covers Linux administration, DevOps, cybersecurity, Docker, Kubernetes, and more — from beginner to advanced level.
Browse All Books →The dargslan-toolkit gives you 15 practical sysadmin tools with one install. No bloated agents, no complex configuration, no external dependencies. Try it on your next server and see how much time you save.
Install now: pip install dargslan-toolkit
Download our free Dargslan Toolkit Cheat Sheet for a complete quick reference of all 15 tools.