Repository navigation
Releases
Releases · mikawa-bushi/network-check-tool
v0.6.0
netdiag's verdicts now follow what it measured. A check that could not measure says "not measured" instead of passing, several exit codes changed, and the unattended-monitoring commands (watch, status, history, prune, service, check --save) are gone. netdiag now runs on Linux and macOS only.
判定が、実際に測った結果どおりになりました。測れなかったチェックは「測定不可」と出し、「問題なし」とは言いません。終了コードの一部が変わり、監視用のコマンド(watch など)はなくなりました。0.6.0 は Linux と macOS 専用です。Windows では 0.5.0 を使ってください。
Install
pip install --upgrade network-check-tool
Python 3.11 or newer. There is no Windows exe in this release; the last one is attached to v0.5.0.
Upgrading from 0.5
- On Windows, stay on 0.5.0:
pip install "network-check-tool==0.5.0". 0.6.0
exits 4 there without checking anything. - In scripts that read exit codes, 2 now means warnings only, and a usage
error exits 4. Treat 3 as incomplete, 5 as an internal error and 130 as
Ctrl-C, which used to exit 1. See the netdiag changelog forping,soak,
snapshot diffandpeer test. - On a PC that ran
netdiag service install, the unit now fails at every
start and systemd restarts it every 10 s. Run
systemctl --user disable --now netdiag-watch, then delete
~/.config/systemd/user/netdiag-watch.service. - The files
watchwrote under~/.netdiag(history.db,state.json,
alerts.jsonl,alerts.log) stay on disk. Delete them if you do not need
them. - Save your snapshots again, because 0.6 cannot compare a snapshot saved by
0.5. - Upgrade the PC that runs
peer testas well as the one that runs
peer serve. - Remove imports of the modules and names listed under Removed in the netdiag changelog. They have no
replacement. - In scripts that match result codes, replace
firewall.rules,
neighbor.gateway_arp_failedandneighbor.gateway_unresolved(see the netdiag
changelog, Changed). - In scripts that read CSV from stdout, read it as
utf-8-sig, or use JSON. --only,--skipand scenario check names that 0.5 ignored now exit 4. Fix
the spelling.- Ledgers with a row that has no address, an unknown port name or a MAC netdiag
cannot read now exit 4 and name the line.
What changed
- netdiag: netdiag/CHANGELOG.md
- Packaging, CI and releases: CHANGELOG.md
- All commits: v0.5.0...v0.6.0
v0.5.0
What's Changed
- fix: 公開前にライセンス表示と Windows の文字コードの不具合を直す by @hardwork9047 in #1
- refactor: state each rule once and delete code nothing calls by @hardwork9047 in #2
- release: 0.5.0 by @hardwork9047 in #3
Full Changelog: https://github.com/mikawa-bushi/network-check-tool/commits/v0.5.0