How To Install pynag on Fedora 36
Introduction
In this tutorial we learn how to install pynag
on Fedora 36.
What is pynag
Python modules and utilities for pragmatically handling Nagios configuration file maintenance, status information, log file parsing and plug-in development.
We can use yum
or dnf
to install pynag
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install pynag.
Install pynag on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install pynag
using dnf
by running the following command:
sudo dnf -y install pynag
Install pynag on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install pynag
using yum
by running the following command:
sudo yum -y install pynag
How To Uninstall pynag on Fedora 36
To uninstall only the pynag
package we can use the following command:
sudo dnf remove pynag
pynag Package Contents on Fedora 36
/usr/bin/pynag
/usr/lib/python3.10/site-packages/pynag
/usr/lib/python3.10/site-packages/pynag-1.1.2-py3.10.egg-info
/usr/lib/python3.10/site-packages/pynag-1.1.2-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/pynag-1.1.2-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/pynag-1.1.2-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/pynag-1.1.2-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/pynag-1.1.2-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/pynag/Control
/usr/lib/python3.10/site-packages/pynag/Control/Command
/usr/lib/python3.10/site-packages/pynag/Control/Command/__init__.py
/usr/lib/python3.10/site-packages/pynag/Control/Command/__pycache__
/usr/lib/python3.10/site-packages/pynag/Control/Command/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pynag/Control/Command/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pynag/Control/Command/__pycache__/autogenerated_commands.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pynag/Control/Command/__pycache__/autogenerated_commands.cpython-310.pyc
/usr/lib/python3.10/site-packages/pynag/Control/Command/autogenerated_commands.py
/usr/lib/python3.10/site-packages/pynag/Control/__init__.py
/usr/lib/python3.10/site-packages/pynag/Control/__pycache__
/usr/lib/python3.10/site-packages/pynag/Control/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pynag/Control/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pynag/Model
/usr/lib/python3.10/site-packages/pynag/Model/EventHandlers
/usr/lib/python3.10/site-packages/pynag/Model/EventHandlers/__init__.py
/usr/lib/python3.10/site-packages/pynag/Model/EventHandlers/__pycache__
/usr/lib/python3.10/site-packages/pynag/Model/EventHandlers/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pynag/Model/EventHandlers/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pynag/Model/__init__.py
/usr/lib/python3.10/site-packages/pynag/Model/__pycache__
/usr/lib/python3.10/site-packages/pynag/Model/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pynag/Model/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pynag/Model/__pycache__/all_attributes.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pynag/Model/__pycache__/all_attributes.cpython-310.pyc
/usr/lib/python3.10/site-packages/pynag/Model/__pycache__/macros.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pynag/Model/__pycache__/macros.cpython-310.pyc
/usr/lib/python3.10/site-packages/pynag/Model/all_attributes.py
/usr/lib/python3.10/site-packages/pynag/Model/macros.py
/usr/lib/python3.10/site-packages/pynag/Parsers
/usr/lib/python3.10/site-packages/pynag/Parsers/__init__.py
/usr/lib/python3.10/site-packages/pynag/Parsers/__pycache__
/usr/lib/python3.10/site-packages/pynag/Parsers/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pynag/Parsers/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pynag/Parsers/__pycache__/config_parser.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pynag/Parsers/__pycache__/config_parser.cpython-310.pyc
/usr/lib/python3.10/site-packages/pynag/Parsers/__pycache__/errors.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pynag/Parsers/__pycache__/errors.cpython-310.pyc
/usr/lib/python3.10/site-packages/pynag/Parsers/__pycache__/extra_opts.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pynag/Parsers/__pycache__/extra_opts.cpython-310.pyc
/usr/lib/python3.10/site-packages/pynag/Parsers/__pycache__/livestatus.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pynag/Parsers/__pycache__/livestatus.cpython-310.pyc
/usr/lib/python3.10/site-packages/pynag/Parsers/__pycache__/logs.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pynag/Parsers/__pycache__/logs.cpython-310.pyc
/usr/lib/python3.10/site-packages/pynag/Parsers/__pycache__/main.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pynag/Parsers/__pycache__/main.cpython-310.pyc
/usr/lib/python3.10/site-packages/pynag/Parsers/__pycache__/multisite.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pynag/Parsers/__pycache__/multisite.cpython-310.pyc
/usr/lib/python3.10/site-packages/pynag/Parsers/__pycache__/object_cache.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pynag/Parsers/__pycache__/object_cache.cpython-310.pyc
/usr/lib/python3.10/site-packages/pynag/Parsers/__pycache__/retention_dat.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pynag/Parsers/__pycache__/retention_dat.cpython-310.pyc
/usr/lib/python3.10/site-packages/pynag/Parsers/__pycache__/ssh_config.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pynag/Parsers/__pycache__/ssh_config.cpython-310.pyc
/usr/lib/python3.10/site-packages/pynag/Parsers/__pycache__/status_dat.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pynag/Parsers/__pycache__/status_dat.cpython-310.pyc
/usr/lib/python3.10/site-packages/pynag/Parsers/config_parser.py
/usr/lib/python3.10/site-packages/pynag/Parsers/errors.py
/usr/lib/python3.10/site-packages/pynag/Parsers/extra_opts.py
/usr/lib/python3.10/site-packages/pynag/Parsers/livestatus.py
/usr/lib/python3.10/site-packages/pynag/Parsers/logs.py
/usr/lib/python3.10/site-packages/pynag/Parsers/main.py
/usr/lib/python3.10/site-packages/pynag/Parsers/multisite.py
/usr/lib/python3.10/site-packages/pynag/Parsers/object_cache.py
/usr/lib/python3.10/site-packages/pynag/Parsers/retention_dat.py
/usr/lib/python3.10/site-packages/pynag/Parsers/ssh_config.py
/usr/lib/python3.10/site-packages/pynag/Parsers/status_dat.py
/usr/lib/python3.10/site-packages/pynag/Plugins
/usr/lib/python3.10/site-packages/pynag/Plugins/__init__.py
/usr/lib/python3.10/site-packages/pynag/Plugins/__pycache__
/usr/lib/python3.10/site-packages/pynag/Plugins/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pynag/Plugins/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pynag/Plugins/__pycache__/classic_threshold_syntax.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pynag/Plugins/__pycache__/classic_threshold_syntax.cpython-310.pyc
/usr/lib/python3.10/site-packages/pynag/Plugins/__pycache__/new_threshold_syntax.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pynag/Plugins/__pycache__/new_threshold_syntax.cpython-310.pyc
/usr/lib/python3.10/site-packages/pynag/Plugins/classic_threshold_syntax.py
/usr/lib/python3.10/site-packages/pynag/Plugins/new_threshold_syntax.py
/usr/lib/python3.10/site-packages/pynag/Utils
/usr/lib/python3.10/site-packages/pynag/Utils/__init__.py
/usr/lib/python3.10/site-packages/pynag/Utils/__pycache__
/usr/lib/python3.10/site-packages/pynag/Utils/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pynag/Utils/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pynag/Utils/__pycache__/checkresult.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pynag/Utils/__pycache__/checkresult.cpython-310.pyc
/usr/lib/python3.10/site-packages/pynag/Utils/__pycache__/decorators.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pynag/Utils/__pycache__/decorators.cpython-310.pyc
/usr/lib/python3.10/site-packages/pynag/Utils/__pycache__/git.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pynag/Utils/__pycache__/git.cpython-310.pyc
/usr/lib/python3.10/site-packages/pynag/Utils/__pycache__/importer.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pynag/Utils/__pycache__/importer.cpython-310.pyc
/usr/lib/python3.10/site-packages/pynag/Utils/__pycache__/metrics.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pynag/Utils/__pycache__/metrics.cpython-310.pyc
/usr/lib/python3.10/site-packages/pynag/Utils/__pycache__/misc.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pynag/Utils/__pycache__/misc.cpython-310.pyc
/usr/lib/python3.10/site-packages/pynag/Utils/__pycache__/nsca.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pynag/Utils/__pycache__/nsca.cpython-310.pyc
/usr/lib/python3.10/site-packages/pynag/Utils/__pycache__/paths.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pynag/Utils/__pycache__/paths.cpython-310.pyc
/usr/lib/python3.10/site-packages/pynag/Utils/__pycache__/states.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pynag/Utils/__pycache__/states.cpython-310.pyc
/usr/lib/python3.10/site-packages/pynag/Utils/checkresult.py
/usr/lib/python3.10/site-packages/pynag/Utils/decorators.py
/usr/lib/python3.10/site-packages/pynag/Utils/git.py
/usr/lib/python3.10/site-packages/pynag/Utils/importer.py
/usr/lib/python3.10/site-packages/pynag/Utils/metrics.py
/usr/lib/python3.10/site-packages/pynag/Utils/misc.py
/usr/lib/python3.10/site-packages/pynag/Utils/nsca.py
/usr/lib/python3.10/site-packages/pynag/Utils/paths.py
/usr/lib/python3.10/site-packages/pynag/Utils/states.py
/usr/lib/python3.10/site-packages/pynag/__init__.py
/usr/lib/python3.10/site-packages/pynag/__pycache__
/usr/lib/python3.10/site-packages/pynag/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pynag/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pynag/__pycache__/errors.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pynag/__pycache__/errors.cpython-310.pyc
/usr/lib/python3.10/site-packages/pynag/errors.py
/usr/share/doc/pynag
/usr/share/doc/pynag/AUTHORS
/usr/share/doc/pynag/CHANGES
/usr/share/doc/pynag/LICENSE
/usr/share/doc/pynag/README.md
/usr/share/man/man1/pynag.1.gz
/usr/share/pynag
References
Summary
In this tutorial we learn how to install pynag
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).