in order to improve installation convenience, we decided to add some bits to bring the repository into a shape similar to another Python-based monitoring plugin we recently worked on ^1.
Along the lines of adding a corresponding setup.py file, the patch also improves the README file and splits off the Icinga configuration files into a separate folder for easier consumption and extensibility [^patch].
Installing the program, even without publishing the package to PyPI, is now a matter of invoking a single command [^install].
[^install]: This tremendously eases usability, because the interface from synology-command.conf will be more "stable" - no need to explicitly assign the Python interpreter there anymore, it will be automatically linked when expanding the console_scripts entrypoint defined in setup.py.
[^patch]: The patch builds upon #19, so the diff relative to this would be https://github.com/cicerops/check_synology/compare/easysnmp...package. The new README file can be directly viewed at package/README.md.
Dear Frederic,
in order to improve installation convenience, we decided to add some bits to bring the repository into a shape similar to another Python-based monitoring plugin we recently worked on ^1.
Along the lines of adding a corresponding
setup.py
file, the patch also improves the README file and splits off the Icinga configuration files into a separate folder for easier consumption and extensibility [^patch].Installing the program, even without publishing the package to PyPI, is now a matter of invoking a single command [^install].
By putting the corresponding Icinga configuration snippets into separate files, they can be easily acquired as well.
We hope you like those improvements.
With kind regards, Andreas.
/cc @tonkenfo
[^install]: This tremendously eases usability, because the interface from
synology-command.conf
will be more "stable" - no need to explicitly assign the Python interpreter there anymore, it will be automatically linked when expanding theconsole_scripts
entrypoint defined insetup.py
. [^patch]: The patch builds upon #19, so the diff relative to this would be https://github.com/cicerops/check_synology/compare/easysnmp...package. The new README file can be directly viewed at package/README.md.