From 7f7d831d23d433c9c85ce2ac7a49763a64f01730 Mon Sep 17 00:00:00 2001 From: krebs Date: Wed, 18 May 2011 18:12:15 +0200 Subject: added initial tinc monitoring Makefile: makefile now handles changed folder structure conf - all nagios config files htdocs - all additional static content (logos for krebs and tinc) plugins - all new nagios plugins conf/* addition of tinc hots as well as tinc-hosts group and krebsnet now has sharepoint and supernode in the queue htdocs/* added logos for tinc, as well as gd2 for the tree --- modules/Monitoring/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'modules/Monitoring/Makefile') 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 -- cgit v1.2.3