Permalink
Browse files

Finish automating NagiosGraph build

  • Loading branch information...
NEMS Linux
NEMS Linux committed Dec 9, 2018
1 parent a843387 commit 06d0c7c4c700515c616860a88351267a51a9c2bf
Showing with 7 additions and 7 deletions.
  1. +7 −7 build/051-nagiosgraph
@@ -17,13 +17,13 @@ wget http://downloads.sourceforge.net/project/nagiosgraph/nagiosgraph/1.5.2/nagi
tar -xf nagiosgraph-1.5.2.tar.gz
cd nagiosgraph-1.5.2
./install.pl --check-prereq
echo If anything is missing, CTRL-C and install, then re-run $0
sleep 5
echo ""
echo "Just push enter a bunch of times (already pre-filled)"
echo ""
sleep 5
./install.pl --layout overlay --prefix /usr/local/nagios --etc-dir /usr/local/nagios/etc/nagiosgraph --var-dir /usr/local/nagios/var --log-dir /var/log/nagios/ --doc-dir /usr/local/nagios/docs/nagiosgraph --nagios-cgi-url /nagios/cgi-bin --nagios-perfdata-file /tmp/perfdata.log --nagios-user nagios --www-user www-data
#echo If anything is missing, CTRL-C and install, then re-run $0
#sleep 5
#echo ""
#echo "Settings are already pre-filled. If prompted, just press Enter."
#echo ""
#sleep 5
echo | ./install.pl --layout overlay --prefix /usr/local/nagios --etc-dir /usr/local/nagios/etc/nagiosgraph --var-dir /usr/local/nagios/var --log-dir /var/log/nagios/ --doc-dir /usr/local/nagios/docs/nagiosgraph --nagios-cgi-url /nagios/cgi-bin --nagios-perfdata-file /tmp/perfdata.log --nagios-user nagios --www-user www-data

echo '# enable nagiosgraph CGI scripts
ScriptAlias /nagiosgraph/cgi-bin "/usr/local/nagiosgraph/cgi"

0 comments on commit 06d0c7c

Please sign in to comment.