Page 1 of 2

Nagvis Install Error

Posted: Mon May 19, 2014 3:19 pm
by costanza2k1
Hi all, I'm on the latest release of Nagios and am trying to install Nagvis per the documentation. Been getting this error, any suggestions?

Code: Select all

Installed:
  graphviz.x86_64 0:2.26.0-10.el6

Complete!
tar (child): nagvis-1.5.9.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

Re: Nagvis Install Error

Posted: Mon May 19, 2014 3:21 pm
by abrist
Nagvis should already ship with XI. You will find it at: Home --> Maps --> Nagvis.

Re: Nagvis Install Error

Posted: Mon May 19, 2014 3:51 pm
by costanza2k1
Get this when going to it:

Not Found

The requested URL /nagvis/ was not found on this server.

Apache/2.2.15 (Red Hat) Server at nagios.yyy.com Port 80

So when I go to manage components this is what I get:

This component brings Nagvis into the maps menu inside of XI. Installation Required! You must login to the server as the root user and run the following commands to complete the installation of this component:
cd /usr/local/nagiosxi/html/includes/components/nagvis/
chmod +x install.sh
./install.sh

Re: Nagvis Install Error

Posted: Mon May 19, 2014 3:55 pm
by slansing
Did you run through the component's installation steps as outlined?

Re: Nagvis Install Error

Posted: Mon May 19, 2014 3:59 pm
by costanza2k1
This part correct?
Nagvis
This component brings Nagvis into the maps menu inside of XI. Installation Required! You must login to the server as the root user and run the following commands to complete the installation of this component:
cd /usr/local/nagiosxi/html/includes/components/nagvis/
chmod +x install.sh
./install.sh

Version: 1.12 Author: Nagios Enterprises, LLC

Re: Nagvis Install Error

Posted: Mon May 19, 2014 4:00 pm
by costanza2k1
if so yes I did and that's where I got the error...

Re: Nagvis Install Error

Posted: Mon May 19, 2014 4:36 pm
by lmiltchev
Run the following commands, and show us the output:

Code: Select all

ll -d /usr/local/nagiosxi/html/includes/components/nagvis/
ll /usr/local/nagiosxi/html/includes/components/nagvis/

Re: Nagvis Install Error

Posted: Mon May 19, 2014 4:41 pm
by costanza2k1

Code: Select all

ll -d /usr/local/nagiosxi/html/includes/components/nagvis/
drwxr-x--- 2 nagios nagios 4096 Dec  3 13:22 /usr/local/nagiosxi/html/includes/components/nagvis/

Code: Select all

ll /usr/local/nagiosxi/html/includes/components/nagvis/
total 20
-rwxr-x--- 1 nagios nagios 1462 Dec  3 13:22 add_map_links.inc.php
-rwxr-x--- 1 nagios nagios   80 Dec  3 13:22 CHANGES.txt
-rwxr-x--x 1 nagios nagios 5880 Dec  3 13:22 install.sh
-rwxr-x--- 1 nagios nagios 3096 Dec  3 13:22 nagvis.inc.php

Re: Nagvis Install Error

Posted: Mon May 19, 2014 4:58 pm
by abrist
The install script should try to download the 1.5.9 tarball. Is your server able to access the internet?
http://assets.nagios.com/downloads/nagi ... ith_XI.pdf

Re: Nagvis Install Error

Posted: Wed Jun 11, 2014 9:31 am
by Sabeo
The problem is with the install script. The wget copies the nagvis-1.5.9.tar.gz to a file called download

run the following command

# mv download nagvis-1.5.9.tar.gz

and rerun the install script

Best Regards,

Vincent