Skip to main content

IPMG — IP Management & Ping Monitoring Tool

PyPI Python Version License Publish

Scan and monitor IP networks from the command line — or from a local web dashboard. IPMG pings hosts in parallel, resolves hostnames, and exports results as Excel, CSV, JSON, or Markdown reports.

Security note: only scan networks you are authorized to scan. Unauthorized scanning may violate your organization's policies or the law.


Install

pip install ipmg

Check that it works:

ipmg --version
Other install methods

uv (isolated global install):

uv tool install git+https://github.com/sameeralam3127/ipmg.git

curl installer (installs uv if missing):

curl -sSL https://raw.githubusercontent.com/sameeralam3127/ipmg/main/install.sh | bash

From source (development):

git clone https://github.com/sameeralam3127/ipmg.git
cd ipmg
pip install -e .

Quick start

# Scan your local subnet automatically
ipmg --discover

# Scan a single host
ipmg --input 8.8.8.8

# Scan a CIDR range
ipmg --input 192.168.1.0/24

# Scan an IP range
ipmg --input 10.0.0.1-10.0.0.50

# Scan targets from a file (xlsx, csv, txt, or list)
ipmg --input targets.txt

# Resolve hostnames and export CSV + a readable Markdown report
ipmg --input targets.txt --resolve --formats md csv

# Open the local web dashboard
ipmg dashboard

Running plain ipmg uses ip_list.xlsx as input and creates a sample file if it does not exist.


Web dashboard

ipmg dashboard          # starts http://127.0.0.1:8080 and opens your browser

A modern browser UI that shares the CLI's scanning engine and runs fully offline — every stylesheet and script is bundled with the package, nothing is loaded from a CDN. It gives you:

  • Dashboard — status donut, latency trend, and recent scan overview
  • New Scan — upload Excel/CSV/text/JSON target files or type IPs, CIDR blocks, and ranges; configure threads, timeout, and DNS options
  • Live Monitor — real-time progress and results over WebSockets
  • History — every scan stored locally in SQLite (~/.ipmg/dashboard.db), searchable and downloadable as XLSX/CSV/JSON/Markdown
  • Inventory — every host seen across scans, with last status and export
Flag Default Description
--port 8080 Port to listen on
--host 127.0.0.1 Bind address (local-only by default)
--no-browser off Don't open the browser automatically
--db ~/.ipmg/dashboard.db History database location

ipmg web is an alias for ipmg dashboard.


Options

Flag Default Description
--input ip_list.xlsx Targets: a file (.xlsx, .xls, .csv, .txt, .list), a single IP, a CIDR block, or an IP range (10.0.0.1-10.0.0.50)
--output results Output file name prefix
--formats xlsx One or more of xlsx, csv, json, md
--discover off Auto-detect and scan the local subnet
--resolve off Reverse DNS (PTR) lookup for each host
--dns-cache-ttl 300 Cache DNS results for this many seconds (0 disables caching)
--timeout 2 Ping timeout in seconds
--count 1 Pings per host
--threads 50 Parallel workers
--interval off Repeat the scan every N minutes
--verbose off Debug logging

Input formats

  • Excel / CSV — must contain an IP Address column:

    IP Address
    192.168.1.1
    10.0.1.0/30
  • Text file — one IP or CIDR per line; blank lines and # comments are ignored:

    # Production DNS
    8.8.8.8
    192.168.1.0/30
    
  • Command line — a literal IP (8.8.8.8), CIDR block (10.0.0.0/24), or IP range (10.0.0.1-10.0.0.200)


Output

Every scan prints a color-coded summary and writes result files (e.g. results_20260628_120000.xlsx). Each row includes:

IP Address Status Latency Hostname Batch Timestamp Scan Duration (s)
8.8.8.8 Active 12.5 dns.google 2026-04-09 11:42:13 6.24

Status values: Active, Inactive, Timeout, Unreachable, Invalid IP, Error.

The md format produces a shareable Markdown report with a status summary table — handy for tickets, handoffs, and incident timelines.


Troubleshooting

  • command not found: ipmg — make sure pip's script directory is on your PATH, or reinstall with pip install ipmg.
  • Hostname shows Unresolvable — the host has no DNS PTR record.
  • Input file rejected — check the extension is supported and that spreadsheets/CSVs include an IP Address column.

Development

pip install -e ".[dev]"
PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 pytest -q

Releases are automated: merging a conventional commit (feat: ..., fix: ...) to main triggers GitHub Actions to run tests, create a semantic-release tag, and publish to PyPI.


License

MIT — free for commercial and personal use.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ipmg-1.6.1.tar.gz (42.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ipmg-1.6.1-py3-none-any.whl (40.7 kB view details)

Uploaded Python 3

File details

Details for the file ipmg-1.6.1.tar.gz.

File metadata

  • Download URL: ipmg-1.6.1.tar.gz
  • Upload date:
  • Size: 42.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ipmg-1.6.1.tar.gz
Algorithm Hash digest
SHA256 4cef73b49da9fcbd92fd66ad46c4def1afe037b263d9b7ead77fd20e3c0282bf
MD5 db659c7442ab5a821908b2c337157976
BLAKE2b-256 fec7d163330b77647933c43b480ff2f4ce4c80b921ea3732583b29fd0b6a5a0a

See more details on using hashes here.

Provenance

The following attestation bundles were made for ipmg-1.6.1.tar.gz:

Publisher: publish.yml on sameeralam3127/ipmg

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ipmg-1.6.1-py3-none-any.whl.

File metadata

  • Download URL: ipmg-1.6.1-py3-none-any.whl
  • Upload date:
  • Size: 40.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ipmg-1.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fb1fe8869c2b892e6a7902fb1346735835520b28f47aa2204397fb28eb11e9a0
MD5 e3e7acfcbed6d0fc409868c2a181de81
BLAKE2b-256 5fd749639924e1d4ad6b488ebd0e8f3c4eb12735c627e29b339209ee2b8474e4

See more details on using hashes here.

Provenance

The following attestation bundles were made for ipmg-1.6.1-py3-none-any.whl:

Publisher: publish.yml on sameeralam3127/ipmg

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

1.13.2

2 files

1.13.1

2 files

1.13.0

2 files

1.12.2

2 files

1.12.1

2 files

1.12.0

2 files

1.11.0

2 files

1.10.0

2 files

1.9.0

2 files

1.8.1

2 files

1.8.0

2 files

1.7.0

2 files

This release

1.6.1 This release

2 files

1.6.0

2 files

1.5.0

2 files

1.4.0

2 files

1.3.0

2 files

1.2.0

2 files

1.1.2

2 files

1.1.1

2 files

1.0.3

2 files

1.0.2

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page