check_network_interface - Monitor network interfaces
This is a monitoring plugin for Icinga, Nagios and other compatible monitoring solutions to check the local network interfaces. It uses the psutil Python package to get the required information and should work with the following operating systems.
- Linux
- Windows
- macOS
- FreeBSD, OpenBSD, NetBSD
- Sun Solaris
- AIX
Requirements
- Python >= 3.6
- Python Packages
Installation
PIP
If you want to use pip we recommend to use as virtualenv to install the dependencies.
pip install -r requirements.txt
Copy the script check_network_interface.py
into your plugin directory.
Debian/Ubuntu
Install the required packages
sudo apt-get install python3 python3-nagiosplugin python3-psutil
Copy the script check_network_interface.py
into your plugin directory.
Usage
To get the latest help just run the following command.
./check_network_interface.py --help
Resources
- Git-Repository: https://github.com/DinoTools/monitoring-check_network_interface
- Issues: https://github.com/DinoTools/monitoring-check_network_interface/issues
License
GPLv3+