diff options
author | Mario Preksavec <mario@slackware.hr> | 2015-02-04 17:21:11 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-02-07 15:21:08 +0700 |
commit | 252eb1eaccddef9ca625774ea1ea814c784b3988 (patch) | |
tree | 60355656b01fe7c4ba0ead98aa1622cbab57eac4 /network/nagiosgraph/doinst.sh | |
parent | 22ff95f315fde376895ae69c4ad1a394f5a00336 (diff) |
network/nagiosgraph: Updated for version 1.5.2.
Diffstat (limited to 'network/nagiosgraph/doinst.sh')
-rw-r--r-- | network/nagiosgraph/doinst.sh | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/network/nagiosgraph/doinst.sh b/network/nagiosgraph/doinst.sh index 6132e6e55bf5..cc953fdf9f0a 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; |