First try for Debian packaging
This commit is contained in:
parent
03e09061a5
commit
caebe508c7
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -1,3 +1,8 @@
|
|||
*.pyc
|
||||
.*.swp
|
||||
|
||||
debian/files
|
||||
debian/*.log
|
||||
debian/*.substvars
|
||||
debian/mymonplugins
|
||||
|
||||
|
|
5
debian/changelog
vendored
Normal file
5
debian/changelog
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
mymonplugins (0.9~rc2-1) unstable; urgency=low
|
||||
|
||||
* Initial release
|
||||
|
||||
-- Sven Velt <sven@velt.de> Sat, 03 Dec 2016 14:25:44 +0100
|
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
9
|
25
debian/control
vendored
Normal file
25
debian/control
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
Source: mymonplugins
|
||||
Section: net
|
||||
Priority: extra
|
||||
Maintainer: Sven Velt <sven@velt.de>
|
||||
Build-Depends: debhelper (>= 8.0.0)
|
||||
Standards-Version: 3.9.3
|
||||
Homepage: https://gogs.velt.biz/velt.biz/MyMonPlugins/wiki
|
||||
Vcs-Git: https://gogs.velt.biz/velt.biz/MyMonPlugins.git
|
||||
Vcs-Browser: https://gogs.velt.biz/velt.biz/MyMonPlugins
|
||||
|
||||
Package: mymonplugins
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}, python, python2.7
|
||||
Description: "My Monitoring Plugins" collection (former "teamix Monitoring-Plugins")
|
||||
Plugins which were written by Sven Velt:
|
||||
- check_apaches.py
|
||||
- check_collectd.py
|
||||
- check_cups.py
|
||||
- check_iface-dns.py
|
||||
- check_livestatus_latency.py
|
||||
- check_naf.py
|
||||
- check_nagiostats.py
|
||||
- check_netconnections.py
|
||||
- check_sensors.py
|
||||
- check_zypper.sh
|
30
debian/copyright
vendored
Normal file
30
debian/copyright
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: MyMonPlugins
|
||||
Source: https://gogs.velt.biz/velt.biz/MyMonPlugins/wiki
|
||||
|
||||
Files: *
|
||||
Copyright: 2015- Sven Velt <sven-mymonplugins@velt.biz>
|
||||
2010-2015 by Sven Velt and team(ix) GmbH, Nuernberg, Germany
|
||||
License: GPL-2.0+
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2016 Sven Velt <sven@velt.de>
|
||||
License: GPL-2.0+
|
||||
|
||||
License: GPL-2.0+
|
||||
This package is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
.
|
||||
This package is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>
|
||||
.
|
||||
On Debian systems, the complete text of the GNU General
|
||||
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
|
||||
|
5
debian/dirs
vendored
Normal file
5
debian/dirs
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
usr/lib/nagios/plugins
|
||||
usr/share/mymonplugins
|
||||
etc/pnp4nagios/templates.d
|
||||
etc/pnp4nagios/check_commands
|
||||
|
0
debian/docs
vendored
Normal file
0
debian/docs
vendored
Normal file
31
debian/rules
vendored
Executable file
31
debian/rules
vendored
Executable file
|
@ -0,0 +1,31 @@
|
|||
#!/usr/bin/make -f
|
||||
# -*- makefile -*-
|
||||
|
||||
export DH_VERBOSE=1
|
||||
export DH_OPTIONS
|
||||
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
||||
|
||||
override_dh_install:
|
||||
cp -a $(CURDIR)/monitoringplugin.py $(CURDIR)/debian/mymonplugins/usr/lib/nagios/plugins/
|
||||
|
||||
cp -a $(CURDIR)/check_apaches.py $(CURDIR)/debian/mymonplugins/usr/lib/nagios/plugins/
|
||||
cp -a $(CURDIR)/check_collectd.py $(CURDIR)/debian/mymonplugins/usr/lib/nagios/plugins/
|
||||
cp -a $(CURDIR)/check_cups.py $(CURDIR)/debian/mymonplugins/usr/lib/nagios/plugins/
|
||||
cp -a $(CURDIR)/check_iface-dns.py $(CURDIR)/debian/mymonplugins/usr/lib/nagios/plugins/
|
||||
cp -a $(CURDIR)/check_livestatus_latency.py $(CURDIR)/debian/mymonplugins/usr/lib/nagios/plugins/
|
||||
cp -a $(CURDIR)/check_naf.py $(CURDIR)/debian/mymonplugins/usr/lib/nagios/plugins/
|
||||
cp -a $(CURDIR)/check_nagiostats.py $(CURDIR)/debian/mymonplugins/usr/lib/nagios/plugins/
|
||||
cp -a $(CURDIR)/check_netconnections.py $(CURDIR)/debian/mymonplugins/usr/lib/nagios/plugins/
|
||||
cp -a $(CURDIR)/check_sensors.py $(CURDIR)/debian/mymonplugins/usr/lib/nagios/plugins/
|
||||
cp -a $(CURDIR)/check_zypper.sh $(CURDIR)/debian/mymonplugins/usr/lib/nagios/plugins/
|
||||
|
||||
cp -a $(CURDIR)/commands.cfg $(CURDIR)/debian/mymonplugins/usr/share/mymonplugins/
|
||||
cp -a $(CURDIR)/PNP $(CURDIR)/debian/mymonplugins/usr/share/mymonplugins/
|
||||
|
||||
ln -s /usr/share/mymonplugins/PNP/templates $(CURDIR)/debian/mymonplugins/etc/pnp4nagios/templates.d/mymonplugins
|
||||
ln -s /usr/share/mymonplugins/PNP/check_commands/check_naf.cfg $(CURDIR)/debian/mymonplugins/etc/pnp4nagios/check_commands/
|
||||
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
3.0 (quilt)
|
Loading…
Reference in a new issue