diff options
| author | Petter Reinholdtsen <pere@hungry.com> | 2010-01-31 20:30:09 +0000 |
|---|---|---|
| committer | Petter Reinholdtsen <pere@hungry.com> | 2010-01-31 20:30:09 +0000 |
| commit | 2cd1c62676f0f8b6e078197fb9d816e359cdfe78 (patch) | |
| tree | 2ef2fc2d36d6eeba7e6a57cc416c9c4c09ab4ef8 /Makefile | |
| parent | ff0cc03d45b49a91d3d0347967c480bc764821da (diff) | |
| download | sitesummary-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-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |
