Just a random name.
Small pieces of tools to monitor network status using simple ICMP sniffer and send metric data points to Time Series Database.
git clone https://github.com/shallowclouds/omil.git &&cd omil
chmod +x build.sh
./build.sh
# Simple script to enable Systemd Unit
sudo ./build/install.shFill the conf/config.yml configuration file or use --config to specify your configuration file.
Hostname: "home-lab"Targets:
- Host: "baidu.com"Name: "baidu"
- Host: "google.com"Name: "google"
- Host: "10.1.1.1"Name: "gateway"InfluxDBv2:
Addr: "http://192.168.1.2:8086"Org: "org-name"Bucket: "bucket-name"Token: "token"Run the omil binary:
Sending and receiving ICMP packets needs root privilege.
sudo /path/to/omil --config /etc/omil/config.ymlOR use systemd:
sudo systemctl status omil.service
sudo systemctl start omil.service
sudo systemctl status omil.service