This support forum board is for support questions relating to
Nagios XI , our flagship commercial network monitoring solution.
ssax
Dreams In Code
Posts: 7682 Joined: Wed Feb 11, 2015 12:54 pm
Post
by ssax » Wed Jul 08, 2015 1:04 pm
Try this:
Code: Select all
rm /usr/local/nagvis/share/index.php
Then try running the install.sh script.
lmiltchev
Bugs find me
Posts: 13589 Joined: Mon May 23, 2011 12:15 pm
Post
by lmiltchev » Wed Jul 08, 2015 1:13 pm
Also, you can try:
Code: Select all
/usr/local/nagiosxi/tools/install_component.php --file=/tmp/nagiosxi/subcomponents/xicomponents/components/nagvis.zip
Let me know if this helped.
Be sure to check out our
Knowledgebase for helpful articles and solutions!
emartine
Posts: 660 Joined: Thu Dec 29, 2011 10:47 am
Post
by emartine » Wed Jul 08, 2015 1:28 pm
/usr/local/nagvis/share/index.php: No such file or directory
emartine
Posts: 660 Joined: Thu Dec 29, 2011 10:47 am
Post
by emartine » Wed Jul 08, 2015 1:34 pm
# /usr/local/nagiosxi/tools/install_component.php --file=/tmp/nagiosxi/subcomponents/xicomponents/components/nagvis.zip
TMPNAME: ji5n5
Archive: /tmp/nagiosxi/subcomponents/xicomponents/components/nagvis.zip
creating: nagvis/
inflating: nagvis/add_map_links.inc.php
inflating: nagvis/nagvis.inc.php
inflating: nagvis/CHANGES.txt
inflating: nagvis/sanity.sh
inflating: nagvis/install.sh
nagvis
COMPONENT NAME: nagvis
CMD=grep register_component /usr/local/nagiosxi/tmp/ji5n5/nagvis/nagvis.inc.php | wc -l
1
OUT=1
Component looks ok...
CMD: cp -rf /usr/local/nagiosxi/tmp/ji5n5/nagvis /usr/local/nagiosxi/html/includes/components/
CMD: rm -rf /usr/local/nagiosxi/tmp/ji5n5
INSTALLING COMPONENT: nagvis
CHECKING FOR INSTALL SCRIPT /usr/local/nagiosxi/html/includes/components/nagvis/install.sh
RUNNING INSTALL SCRIPT...
INSTALL SCRIPT FINISHED. RESULT='1'
CMD: chown -R nagios.nagios /usr/local/nagiosxi/html/includes/components/nagvis
CMD: /bin/chmod -R +x /usr/local/nagiosxi/html/includes/components/nagvis
Done!
tgriep
Madmin
Posts: 9190 Joined: Thu Oct 30, 2014 9:02 am
Post
by tgriep » Wed Jul 08, 2015 1:57 pm
Did that resolve the issue?
Be sure to check out our
Knowledgebase for helpful articles and solutions!
tgriep
Madmin
Posts: 9190 Joined: Thu Oct 30, 2014 9:02 am
Post
by tgriep » Wed Jul 08, 2015 3:01 pm
Is the system setup in offline mode and cannot access the internet or behind a proxy server?
Can you try to run the install again like below and post the output?
Code: Select all
cd /usr/local/nagiosxi/html/includes/components/nagvis/
bash -x install.sh
Be sure to check out our
Knowledgebase for helpful articles and solutions!
emartine
Posts: 660 Joined: Thu Dec 29, 2011 10:47 am
Post
by emartine » Wed Jul 08, 2015 3:07 pm
cd /usr/local/nagiosxi/html/includes/components/nagvis/
[root@ nagvis]# bash -x install.sh
+ '[' -f /usr/local/nagvis/share/index.php ']'
+ set -e
+ NAGVIS_VER=1.5.9
+ MODE=xi
+ '[' 0 -gt 0 ']'
++ whoami
+ '[' root '!=' root ']'
++ php -v
++ cut '-d ' -f2
++ head -n1
++ cut -d. -f1
+ '[' 5 -lt 5 ']'
++ pwd
+ dldir=/usr/local/nagiosxi/html/includes/components/nagvis
+ rpm -q php
+ PHP_VER=
++ yum info graphviz-gd
++ sed -n '/^Version *: / s///p'
+ GV_VER='2.26.0
2.26.0'
+ rpm -e --nodeps graphviz
[root@ nagvis]#
tgriep
Madmin
Posts: 9190 Joined: Thu Oct 30, 2014 9:02 am
Post
by tgriep » Wed Jul 08, 2015 3:23 pm
Run this to see if you can download the nagvis tar file
Code: Select all
cd /tmp
wget http://assets.nagios.com/downloads/nagiosxi/packages/nagvis-1.5.9.tar.gz
Be sure to check out our
Knowledgebase for helpful articles and solutions!
emartine
Posts: 660 Joined: Thu Dec 29, 2011 10:47 am
Post
by emartine » Wed Jul 08, 2015 3:58 pm
Yes. I was able to. I also tested that I was able to uncompressed it as well.