From 480369116a4d1c561152e0a183573d7ff80219ae Mon Sep 17 00:00:00 2001 From: krebs Date: Wed, 18 May 2011 14:06:35 +0200 Subject: initial commot of monitoring module --- modules/Monitoring/Makefile | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 modules/Monitoring/Makefile (limited to 'modules/Monitoring/Makefile') diff --git a/modules/Monitoring/Makefile b/modules/Monitoring/Makefile new file mode 100644 index 00000000..b153c8eb --- /dev/null +++ b/modules/Monitoring/Makefile @@ -0,0 +1,3 @@ +debian: + apt-get install nagios + cp -r htdocs /usr/share/nagios -- cgit v1.2.3 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 From a9958ed5030619d9dae5ac34ab13e4da1a9a49c9 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 19 May 2011 14:28:42 +0200 Subject: Hotfix for broken package name in Makefile for Nagios --- modules/Monitoring/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/Monitoring/Makefile') diff --git a/modules/Monitoring/Makefile b/modules/Monitoring/Makefile index 89e89c69..2d837b43 100644 --- a/modules/Monitoring/Makefile +++ b/modules/Monitoring/Makefile @@ -1,6 +1,6 @@ .phony: debian debian: - [ `which nagios3` ] || apt-get install nagios + [ `which nagios3` ] || apt-get install nagios3 cp -r conf/* /etc/nagios3/conf.d/ cp -R htdocs/* /usr/share/nagios3/htdocs/ cp -r plugins /usr/lib/nagios -- cgit v1.2.3