aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2010-01-31 20:30:09 +0000
committerPetter Reinholdtsen <pere@hungry.com>2010-01-31 20:30:09 +0000
commit2cd1c62676f0f8b6e078197fb9d816e359cdfe78 (patch)
tree2ef2fc2d36d6eeba7e6a57cc416c9c4c09ab4ef8 /Makefile
parentff0cc03d45b49a91d3d0347967c480bc764821da (diff)
downloadsitesummary-2cd1c62676f0f8b6e078197fb9d816e359cdfe78.tar.gz
sitesummary-2cd1c62676f0f8b6e078197fb9d816e359cdfe78.tar.bz2
sitesummary-2cd1c62676f0f8b6e078197fb9d816e359cdfe78.tar.xz
Add new nagios pluing check_kernel_status to report the need for a
reboot to activate a new kernel. Written by Toni Van Remortel and found at <URL: http://www.monitoringexchange.org >.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6ec3100..ee9aa3c 100644
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,7 @@ pkgdir = $(libdir)/sitesummary
collectordir = $(pkgdir)/collect.d
perldir = $(datadir)/perl5
pkgvardir = /var/lib/sitesummary
+nagiosplugdir= $(pkgdir)/nagios-plugins
INSTALL = install
INSTALL_DATA = $(INSTALL) -m 644
@@ -83,6 +84,11 @@ install-client:
$(INSTALL) $$collector $(DESTDIR)$(collectordir); \
done
+ $(INSTALL) -d $(DESTDIR)$(nagiosplugdir)
+ for plugin in nagios-plugins/* ; do \
+ $(INSTALL) $$plugin $(DESTDIR)$(nagiosplugdir); \
+ done
+
clean:
$(RM) *~ */*~
distclean: clean