3 --> Sample config files are installed with .sample extension.
4 --> Remember, these are *SAMPLE* config files. You'll need to read
5 --> the documentation for more information on nagvis webpage.
6 --> You'll need to modify /usr/share/nagvis/etc/nagvis.conf and
7 --> /etc/httpd/conf/extra/nagvis.conf file.
10 if [ ! -e /usr/share/nagvis/etc/nagvis.ini.php ]; then
11 cp /usr/share/nagvis/etc/nagvis.ini.php-sample /usr/share/nagvis/etc/nagvis.ini.php
12 sed -e 's/usr\/local\/nagvis/usr\/share\/nagvis/' -i /usr/share/nagvis/etc/nagvis.ini.php
13 chmod 664 /usr/share/nagvis/etc/nagvis.ini.php
14 chown http:http /usr/share/nagvis/etc/nagvis.ini.php
16 if [ ! -e /etc/httpd/conf/extra/nagvis.conf ]; then
17 cp /etc/httpd/conf/extra/nagvis.conf-sample /etc/httpd/conf/extra/nagvis.conf
18 sed -e 's/@NAGVIS_PATH@/\/usr\/share\/nagvis/' -e 's/@NAGVIS_WEB@/\/nagvis/' -i /etc/httpd/conf/extra/nagvis.conf