This check only requires Python 3.6 (openSUSE Leap 15.4 based) and nothing more. Place it somewhere accessible for Icinga.
./check_iptraffic -deth0
- -d name of the monitored device
Place the check_iptraffic somewhere where Icinga can access it (e.g. /usr/local/bin). Then append the
content of services.conf
and commands.conf
to your Icinga files.
Put this in your host.conf
:
vars.iptraffic_devices["eth0"] = {
iptraffic_device = "eth0"
}