[root@ ~]# cd /tmp
[root@ tmp]# wget
http://assets.nagios.com/downloads/nagi ... 5.9.tar.gz
--2015-07-09 16:32:40--
http://assets.nagios.com/downloads/nagi ... 5.9.tar.gz
Resolving assets.nagios.com... 72.14.181.71
Connecting to assets.nagios.com|72.14.181.71|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location:
https://assets.nagios.com/downloads/nag ... 5.9.tar.gz [following]
--2015-07-09 16:32:40--
https://assets.nagios.com/downloads/nag ... 5.9.tar.gz
Connecting to assets.nagios.com|72.14.181.71|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3298253 (3.1M) [application/x-gzip]
Saving to: “nagvis-1.5.9.tar.gz.1”
100%[======================================>] 3,298,253 8.69M/s in 0.4s
2015-07-09 16:32:40 (8.69 MB/s) - “nagvis-1.5.9.tar.gz.1” saved [3298253/3298253]
[root@ tmp]# tar zxf nagvis-1.5.9.tar.gz
[root@ tmp]# cd nagvis-1.5.9
[root@ nagvis-1.5.9]# chmod +x install.sh
[root@ nagvis-1.5.9]# ls
ChangeLog etc install.log LICENCE share
docs INSTALL install.sh README uifx
[root@ nagvis-1.5.9]# ./install.sh -b /usr/bin -p /usr/local/nagvis -W /nagvis -u apache -g apache -w /etc/httpd/conf.d -i ndo2db -a y -q
[root@ nagvis-1.5.9]# cd ..
[root@ tmp]# rm -rf /tmp/nagvis-1.5.9
[root@ tmp]# wget
http://assets.nagios.com/downloads/nagi ... _config.py
--2015-07-09 16:33:31--
http://assets.nagios.com/downloads/nagi ... _config.py
Resolving assets.nagios.com... 72.14.181.71
Connecting to assets.nagios.com|72.14.181.71|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location:
https://assets.nagios.com/downloads/nag ... _config.py [following]
--2015-07-09 16:33:31--
https://assets.nagios.com/downloads/nag ... _config.py
Connecting to assets.nagios.com|72.14.181.71|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7726 (7.5K) [text/plain]
Saving to: “NagiosXI-Nagvis-adjust_config.py”
100%[======================================>] 7,726 --.-K/s in 0s
2015-07-09 16:33:32 (111 MB/s) - “NagiosXI-Nagvis-adjust_config.py” saved [7726/7726]
[root@ tmp]# chmod +x NagiosXI-Nagvis-adjust_config.py
[root@ tmp]# ./NagiosXI-Nagvis-adjust_config.py --mode XI
Updated Nagvis config.
Patched template files.
Adjustment completed!
[root@ tmp]# rm NagiosXI-Nagvis-adjust_config.py
rm: remove regular file `NagiosXI-Nagvis-adjust_config.py'? y
[root@ tmp]#
I tried to access the page via the link and got
Not Found
The requested URL /nagvis was not found on this server.
tried accessing it https://<IP>/nagvis
and also received not found.
These files now exist however:
[root@ tmp]# ll /usr/local/nagvis
total 24
drwxrwxr-x 5 apache apache 143 Jul 9 16:33 etc
-rw-rw-r-- 1 apache apache 18182 Apr 18 2011 LICENCE
-rw-rw-r-- 1 apache apache 1537 Apr 18 2011 README
drwxrwxr-x 8 apache apache 117 Jul 9 16:33 share
drwxrwxr-x 3 apache apache 17 Jul 9 16:33 var
[root@ tmp]# ll /usr/local/nagiosxi/html/includes/components/nagvis/
total 24
-rwxr-xr-x 1 nagios nagios 1900 Jul 8 13:29 add_map_links.inc.php
-rwxr-xr-x 1 nagios nagios 80 Jul 8 13:29 CHANGES.txt
-rwxr-xr-x 1 nagios nagios 5861 Jul 8 13:29 install.sh
-rwxr-xr-x 1 nagios nagios 3327 Jul 8 13:29 nagvis.inc.php
-rwxr-xr-x 1 nagios nagios 596 Jul 8 13:29 sanity.sh