How To Install python3-nagiosplugin on Rocky Linux 8
Introduction
In this tutorial we learn how to install python3-nagiosplugin
on Rocky Linux 8.
What is python3-nagiosplugin
nagiosplugin is a Python class library which helps writing Nagios (or Icinga) compatible plugins easily in Python. It cares for much of the boilerplate code and default logic commonly found in Nagios checks, including - Nagios 3 Plugin API compliant parameters and output formatting - Full Nagios range syntax support - Automatic threshold checking - Multiple independend measures - Custom status line to communicate the main point quickly - Long output and performance data - Timeout handling - Persistent “cookies” to retain state information between check runs - Resume log file processing at the point where the last run left
We can use yum
or dnf
to install python3-nagiosplugin
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-nagiosplugin.
Install python3-nagiosplugin on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install python3-nagiosplugin
using dnf
by running the following command:
sudo dnf -y install python3-nagiosplugin
Install python3-nagiosplugin on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install python3-nagiosplugin
using yum
by running the following command:
sudo yum -y install python3-nagiosplugin
How To Uninstall python3-nagiosplugin on Rocky Linux 8
To uninstall only the python3-nagiosplugin
package we can use the following command:
sudo dnf remove python3-nagiosplugin
python3-nagiosplugin Package Contents on Rocky Linux 8
/usr/lib/python3.6/site-packages/nagiosplugin
/usr/lib/python3.6/site-packages/nagiosplugin-1.3.2-py3.6.egg-info
/usr/lib/python3.6/site-packages/nagiosplugin-1.3.2-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/nagiosplugin-1.3.2-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/nagiosplugin-1.3.2-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/nagiosplugin-1.3.2-py3.6.egg-info/not-zip-safe
/usr/lib/python3.6/site-packages/nagiosplugin-1.3.2-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/nagiosplugin/__init__.py
/usr/lib/python3.6/site-packages/nagiosplugin/__pycache__
/usr/lib/python3.6/site-packages/nagiosplugin/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/__pycache__/check.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/__pycache__/check.cpython-36.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/__pycache__/compat.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/__pycache__/compat.cpython-36.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/__pycache__/context.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/__pycache__/context.cpython-36.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/__pycache__/cookie.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/__pycache__/cookie.cpython-36.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/__pycache__/error.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/__pycache__/error.cpython-36.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/__pycache__/logtail.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/__pycache__/logtail.cpython-36.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/__pycache__/metric.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/__pycache__/metric.cpython-36.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/__pycache__/multiarg.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/__pycache__/multiarg.cpython-36.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/__pycache__/output.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/__pycache__/output.cpython-36.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/__pycache__/performance.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/__pycache__/performance.cpython-36.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/__pycache__/range.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/__pycache__/range.cpython-36.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/__pycache__/resource.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/__pycache__/resource.cpython-36.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/__pycache__/result.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/__pycache__/result.cpython-36.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/__pycache__/runtime.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/__pycache__/runtime.cpython-36.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/__pycache__/state.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/__pycache__/state.cpython-36.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/__pycache__/summary.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/__pycache__/summary.cpython-36.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/__pycache__/version.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/__pycache__/version.cpython-36.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/check.py
/usr/lib/python3.6/site-packages/nagiosplugin/compat.py
/usr/lib/python3.6/site-packages/nagiosplugin/context.py
/usr/lib/python3.6/site-packages/nagiosplugin/cookie.py
/usr/lib/python3.6/site-packages/nagiosplugin/error.py
/usr/lib/python3.6/site-packages/nagiosplugin/examples
/usr/lib/python3.6/site-packages/nagiosplugin/examples/__init__.py
/usr/lib/python3.6/site-packages/nagiosplugin/examples/__pycache__
/usr/lib/python3.6/site-packages/nagiosplugin/examples/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/examples/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/examples/__pycache__/check_haproxy_log.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/examples/__pycache__/check_haproxy_log.cpython-36.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/examples/__pycache__/check_load.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/examples/__pycache__/check_load.cpython-36.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/examples/__pycache__/check_users.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/examples/__pycache__/check_users.cpython-36.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/examples/__pycache__/check_world.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/examples/__pycache__/check_world.cpython-36.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/examples/check_haproxy_log.py
/usr/lib/python3.6/site-packages/nagiosplugin/examples/check_load.py
/usr/lib/python3.6/site-packages/nagiosplugin/examples/check_users.py
/usr/lib/python3.6/site-packages/nagiosplugin/examples/check_world.py
/usr/lib/python3.6/site-packages/nagiosplugin/logtail.py
/usr/lib/python3.6/site-packages/nagiosplugin/metric.py
/usr/lib/python3.6/site-packages/nagiosplugin/multiarg.py
/usr/lib/python3.6/site-packages/nagiosplugin/output.py
/usr/lib/python3.6/site-packages/nagiosplugin/performance.py
/usr/lib/python3.6/site-packages/nagiosplugin/platform
/usr/lib/python3.6/site-packages/nagiosplugin/platform/__init__.py
/usr/lib/python3.6/site-packages/nagiosplugin/platform/__pycache__
/usr/lib/python3.6/site-packages/nagiosplugin/platform/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/platform/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/platform/__pycache__/nt.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/platform/__pycache__/nt.cpython-36.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/platform/__pycache__/posix.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/platform/__pycache__/posix.cpython-36.pyc
/usr/lib/python3.6/site-packages/nagiosplugin/platform/nt.py
/usr/lib/python3.6/site-packages/nagiosplugin/platform/posix.py
/usr/lib/python3.6/site-packages/nagiosplugin/range.py
/usr/lib/python3.6/site-packages/nagiosplugin/resource.py
/usr/lib/python3.6/site-packages/nagiosplugin/result.py
/usr/lib/python3.6/site-packages/nagiosplugin/runtime.py
/usr/lib/python3.6/site-packages/nagiosplugin/state.py
/usr/lib/python3.6/site-packages/nagiosplugin/summary.py
/usr/lib/python3.6/site-packages/nagiosplugin/version.py
/usr/share/doc/python3-nagiosplugin
/usr/share/doc/python3-nagiosplugin/README.txt
/usr/share/licenses/python3-nagiosplugin
/usr/share/licenses/python3-nagiosplugin/LICENSE.txt
References
Summary
In this tutorial we learn how to install python3-nagiosplugin
on Rocky Linux 8 using yum and dnf.