Metadata-Version: 2.4
Name: check-dnssec-dnsviz
Version: 0.0.5
Summary: A monitoring plugin for checking the DNSSEC status of DNS zones using DNSviz
Author-email: Peter Eckel <pe@sys4.de>
License-Expression: MIT
Project-URL: Homepage, https://github.com/peteeckel/check-dnssec-dnsviz
Project-URL: Repository, https://github.com/peteeckel/check-dnssec-dnsviz
Project-URL: Issues, https://github.com/peteeckel/check-dnssec-dnsviz/issues
Keywords: DNS,dnsviz,Nagios,Icinga,plugin,check
Classifier: Development Status :: 4 - Beta
Classifier: Natural Language :: English
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: dnsviz>=0.11.0
Requires-Dist: pynag
Requires-Dist: dnspython
Requires-Dist: cryptography
Dynamic: license-file

# check-dnssec-dnsviz - Check the DNSSEC status of a DNS zone

This is a check script for checking the DNSSEC status of a DNS zone using the instrumentation provided by the [DNSviz](https://github.com/dnsviz/dnsviz) project.

It is very similar to [Pieter Lexis' icinga-check-dns plugin](https://github.com/pieterlexis/icinga-check-dns), but uses a different approach of interfacing with DNSviz: Unlike icinga-check-dns it uses DNSviz' CLI tool of the same name instead of making use of the internal objects and classes of DNSviz.

While I personally find Pieter's approach more elegant than using the CLI tools, using the DNSviz classes is much more complex as there are no high-level classes, which is why this plugin exists.

## Installation

The plugin can be installed from PyPI using the `pip` command. It is highly recommended to use a virtual environment for installation:

```
export PLUGIN_PATH=/opt/check-dnssec-dnsviz/
mkdir $PLUGIN_PATH
python3 -m venv $PLUGIN_PATH/venv
$PLUGIN_PATH/venv/bin/python3 -m pip install --upgrade pip
$PLUGIN_PATH/venv/bin/python3 -m pip install check-dnssec-dnsviz
```

After installing, the plugin is available under the path `$PLUGIN_PATH/venv/bin/check_dnssec_dnsviz` for use with the monitoring tool of your choice.

If you prefer to keep all your plugins in your preferred distribution's standard path, e.g. `/usr/lib64/nagios/plugins` for RedHat-like distributions, you can symlink the `check_dnssec_dnsviz` script there:

```
ln -sf /opt/check-dnssec-dnsviz/venv/bin/check_dnssec_dnsviz.py /usr/lib64/nagios/plugins
```

## License

MIT
