diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..30efbe2 --- /dev/null +++ b/AUTHORS @@ -0,0 +1,4 @@ +* Andreas Stefl +* Alarig Le Lay, and +* Roland Wolters +* Michael Orlitzky diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..6876f1b --- /dev/null +++ b/COPYING @@ -0,0 +1,20 @@ +Copyright (c) 2018 Roland Wolters + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..9b126f8 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1 @@ +include AUTHORS COPYING README.md diff --git a/check_openvpn b/bin/check_openvpn similarity index 89% rename from check_openvpn rename to bin/check_openvpn index dd931d6..a362e53 100755 --- a/check_openvpn +++ b/bin/check_openvpn @@ -1,32 +1,7 @@ #!/usr/bin/env python - -# Check if an OpenVPN server runs on a given UDP or TCP port. -# -# (C) 2013, Roland Wolters # -# Contributors: -# - Andreas Stefl -# - Alarig Le Lay -# - Roland Wolters -# -# Permission is hereby granted, free of charge, to any person obtaining -# a copy of this software and associated documentation files (the -# "Software"), to deal in the Software without restriction, including -# without limitation the rights to use, copy, modify, merge, publish, -# distribute, sublicense, and/or sell copies of the Software, and to -# permit persons to whom the Software is furnished to do so, subject to -# the following conditions: -# -# The above copyright notice and this permission notice shall be -# included in all copies or substantial portions of the Software. +# Check if an OpenVPN server runs on a given UDP or TCP port. # -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. import os import sys diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..7365743 --- /dev/null +++ b/setup.py @@ -0,0 +1,13 @@ +from distutils.core import setup + +setup( + name = 'nagios-icinga-openvpn', + version = '0.0.1', + author = 'Roland Wolters (liquidat)', + author_email = 'liquidat@bayz.de', + url = 'https://github.com/liquidat/nagios-icinga-openvpn', + scripts = ['bin/check_openvpn'], + description = 'Nagios/Icinga check for OpenVPN availability', + long_description=open('README.md').read(), + license = 'COPYING' +)