aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2010-01-06 19:22:24 +0000
committerPetter Reinholdtsen <pere@hungry.com>2010-01-06 19:22:24 +0000
commit2663b94bc3c1d86839d8d71fcb98b9b9e01c782a (patch)
treeae0ef4787a3bdbcbdc6b117024bec768405bfce4 /Makefile
parentbe7fafe44ab8ef50f4bcd2bdd3ff339796d223e0 (diff)
downloadsitesummary-2663b94bc3c1d86839d8d71fcb98b9b9e01c782a.tar.gz
sitesummary-2663b94bc3c1d86839d8d71fcb98b9b9e01c782a.tar.bz2
sitesummary-2663b94bc3c1d86839d8d71fcb98b9b9e01c782a.tar.xz
Implement draft Nagios autoconfiguration.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1d6c746..e550507 100644
--- a/Makefile
+++ b/Makefile
@@ -55,6 +55,12 @@ install-server:
$(INSTALL) -d $(DESTDIR)/usr/share/munin/plugins/.
$(INSTALL) munin-plugin $(DESTDIR)/usr/share/munin/plugins/sitesummary_sites
+ $(INSTALL) -d $(DESTDIR)/etc/nagios3
+ $(INSTALL) nagios.cfg \
+ $(DESTDIR)/etc/nagios3/sitesummary.cfg
+ $(INSTALL) nagios-templates.cfg \
+ $(DESTDIR)/etc/nagios3/sitesummary-templates.cfg
+
install-client:
$(INSTALL) -d $(DESTDIR)$(sbindir)
$(INSTALL) sitesummary-client sitesummary-upload $(DESTDIR)$(sbindir)