3 releases (breaking)

0.3.0 Apr 25, 2021
0.2.0 Apr 23, 2021
0.1.0 Apr 22, 2021

#16 in #status

MIT license

537 lines


Network Interface Monitor

What is this?

This tool helps you to test the reliability and speed of your internet connection over time.


You need to install the speedtest.net cli. Run it at least once yourself, you need to accept their EULA and other stuff.

If you plan to execute speed and ping test automatically, you also need to run the speedtest cli manually as the user that executes the nimo automatically.


The basic installation is simple:

cargo install nimo

Shell Completions

To generate shell completions, run:

$ nimo emit completion <your shell>

This will create a file in /tmp containing completion information for your shell. You can copy that file to wherever it needs to go.

If you prefer to just redirect the completion information to a file, you can use the --stdout option, which true to its name prints the completions to stdout.


The ping and speed-test subcommands are meant to be executed periodically. How this happens is up to you. However, systemd service and timer files are provided to make this easier.

You can simply do this:

# cp <path to nimo> /usr/local/bin
$ nimo emit systemd
# cp /tmp/nimo/systemd/* /etc/systemd/system
# systemctl enable --now nimo-ping.timer nimo-speed-test.timer


The configuration is stored in /etc/nimo.toml and ~/.config/nimo.toml. Values from the latter take precedence. All available configuration options and their default values:

# the path to the data file
data = "/var/lib/nimo/data"

count = 16 # how many pings to send to each target

cloudflare = ""
google = ""

enabled = false # if you want to run speed tests, set this to true
retries = 4


$ nimo --help
nimo 0.3.0
Adrian Wannenmacher <tfld@tfld.dev>
Network Interface MOnitor

    nimo <SUBCOMMAND>

    -h, --help       Prints help information
    -V, --version    Prints version information

    emit          Emits some provided system configuration files into `/tmp`
    help          Prints this message or the help of the given subcommand(s)
    ping          Tests current internet connectivity utilizing pinging
    report        Prints a few simple evaluations to the command line
    speed-test    Tests current internet speed utilizing speedtest.net


~277K SLoC