32 lines
1.5 KiB
Makefile
Executable file
32 lines
1.5 KiB
Makefile
Executable file
#!/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/
|
|
|