Nagvis Install Error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
costanza2k1
Posts: 197
Joined: Fri Aug 09, 2013 12:19 pm

Nagvis Install Error

Post 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
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagvis Install Error

Post by abrist »

Nagvis should already ship with XI. You will find it at: Home --> Maps --> Nagvis.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
User avatar
costanza2k1
Posts: 197
Joined: Fri Aug 09, 2013 12:19 pm

Re: Nagvis Install Error

Post 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
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Nagvis Install Error

Post by slansing »

Did you run through the component's installation steps as outlined?
User avatar
costanza2k1
Posts: 197
Joined: Fri Aug 09, 2013 12:19 pm

Re: Nagvis Install Error

Post 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
User avatar
costanza2k1
Posts: 197
Joined: Fri Aug 09, 2013 12:19 pm

Re: Nagvis Install Error

Post by costanza2k1 »

if so yes I did and that's where I got the error...
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagvis Install Error

Post 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/
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
costanza2k1
Posts: 197
Joined: Fri Aug 09, 2013 12:19 pm

Re: Nagvis Install Error

Post 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
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagvis Install Error

Post 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
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Sabeo
Posts: 6
Joined: Mon Sep 24, 2012 9:13 am

Re: Nagvis Install Error

Post 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
Locked