diff options
author | krebs <krebs@UTART> | 2011-05-18 18:12:15 +0200 |
---|---|---|
committer | krebs <krebs@UTART> | 2011-05-18 18:12:15 +0200 |
commit | 7f7d831d23d433c9c85ce2ac7a49763a64f01730 (patch) | |
tree | 06cd4fbeb949dd382d7066c28f32cceda5c6ecf8 /modules/Monitoring/Makefile | |
parent | 480369116a4d1c561152e0a183573d7ff80219ae (diff) |
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
Diffstat (limited to 'modules/Monitoring/Makefile')
-rw-r--r-- | modules/Monitoring/Makefile | 8 |
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 |