summaryrefslogtreecommitdiffstats
path: root/modules/Monitoring/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'modules/Monitoring/Makefile')
-rw-r--r--modules/Monitoring/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/modules/Monitoring/Makefile b/modules/Monitoring/Makefile
index b153c8eb..89e89c69 100644
--- a/modules/Monitoring/Makefile
+++ b/modules/Monitoring/Makefile
@@ -1,3 +1,7 @@
+.phony: debian
debian:
- apt-get install nagios
- cp -r htdocs /usr/share/nagios
+ [ `which nagios3` ] || apt-get install nagios
+ cp -r conf/* /etc/nagios3/conf.d/
+ cp -R htdocs/* /usr/share/nagios3/htdocs/
+ cp -r plugins /usr/lib/nagios
+ /etc/init.d/nagios3 reload