summaryrefslogtreecommitdiffstats
path: root/network/nagiosgraph/doinst.sh
diff options
context:
space:
mode:
author Mario Preksavec2015-02-04 17:21:11 +0100
committer Willy Sudiarto Raharjo2015-02-07 09:21:08 +0100
commit252eb1eaccddef9ca625774ea1ea814c784b3988 (patch)
tree60355656b01fe7c4ba0ead98aa1622cbab57eac4 /network/nagiosgraph/doinst.sh
parent22ff95f315fde376895ae69c4ad1a394f5a00336 (diff)
downloadslackbuilds-252eb1eaccddef9ca625774ea1ea814c784b3988.tar.gz
network/nagiosgraph: Updated for version 1.5.2.
Diffstat (limited to 'network/nagiosgraph/doinst.sh')
-rw-r--r--network/nagiosgraph/doinst.sh18
1 files changed, 2 insertions, 16 deletions
diff --git a/network/nagiosgraph/doinst.sh b/network/nagiosgraph/doinst.sh
index 6132e6e55b..cc953fdf9f 100644
--- a/network/nagiosgraph/doinst.sh
+++ b/network/nagiosgraph/doinst.sh
@@ -11,22 +11,8 @@ config() {
# Otherwise, we leave the .new copy for the admin to consider...
}
-config etc/nagiosgraph/servdb.conf.new
-config etc/nagiosgraph/rrdopts.conf.new
-config etc/nagiosgraph/ngshared.pm.new
-config etc/nagiosgraph/nagiosgraph_fr.conf.new
-config etc/nagiosgraph/nagiosgraph_es.conf.new
-config etc/nagiosgraph/nagiosgraph_de.conf.new
-config etc/nagiosgraph/nagiosgraph.conf.new
-config etc/nagiosgraph/nagiosgraph-nagios.cfg.new
-config etc/nagiosgraph/nagiosgraph-commands.cfg.new
-config etc/nagiosgraph/nagiosgraph-apache.conf.new
-config etc/nagiosgraph/map.new
-config etc/nagiosgraph/labels.conf.new
-config etc/nagiosgraph/hostdb.conf.new
-config etc/nagiosgraph/groupdb.conf.new
-config etc/nagiosgraph/datasetdb.conf.new
-config etc/nagiosgraph/access.conf.new
+find etc/nagiosgraph/ -type f -name *.new \
+ | while read cfg ; do config $cfg ; done
# Create rrd directory and add log files
( cd var/nagios; mkdir -p rrd; chown nagios rrd;