Page 1 of 1

NagVis Intergration did work

Posted: Fri Aug 19, 2011 11:25 am
by nealg
I downloaded the document and ran through the steps to install NagVis on my Nagios XI hosts. When I go to access the URL http://<yourserver>/nagvis I recived an HTTP 404 erro web page connat be found.

I browsed the the file LINUX file systems and found no references to the Nagios binares or a web configuration for this service. Also had 0 erros when running the install script NagiosXI-Nagvis.sh.

Here is the output from the script:

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.lug.udel.edu
* epel: mirror.unl.edu
* extras: mirror.cisp.com
* updates: mirror.unl.edu
Setting up Install Process
Package graphviz-gd-2.12-8.el5.i386 already installed and latest version
Package php-gd-5.1.6-27.el5_5.3.i386 already installed and latest version
Package php-mbstring-5.1.6-27.el5_5.3.i386 already installed and latest version
Package php-mysql-5.1.6-27.el5_5.3.i386 already installed and latest version
Package php-pdo-5.1.6-27.el5_5.3.i386 already installed and latest version
Package php-xml-5.1.6-27.el5_5.3.i386 already installed and latest version
Package php-common-5.1.6-27.el5_5.3.i386 already installed and latest version
Package php-pecl-json-1.2.1-4.el5.i386 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package graphviz.i386 0:2.12-8.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=========================================================================================================================
Package Arch Version Repository Size
=========================================================================================================================
Installing:
graphviz i386 2.12-8.el5 epel 1.1 M

Transaction Summary
=========================================================================================================================
Install 1 Package(s)
Upgrade 0 Package(s)

Total download size: 1.1 M
Downloading Packages:
graphviz-2.12-8.el5.i386.rpm | 1.1 MB 00:01
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : graphviz 1/1

Installed:
graphviz.i386 0:2.12-8.el5

Complete!



Here are my config details:

Nagios Server: CentOS 32 bit on VM image provided by nagios.com version 2011R1.6 July 25, 2011

ESX Server: ESX 4.1 64

Re: NagVis Intergration did work

Posted: Tue Sep 20, 2011 9:50 am
by phillip.boyce
*bump*

This is the exact same problem I am having after installing NagVis this weekend.

Re: NagVis Intergration did work

Posted: Tue Sep 20, 2011 11:16 am
by lmiltchev
Look in the /etc/httpd/conf.d/nagvis.conf file to see what htpasswd.users file it's referencing. Change it to the /usr/local/nagiosxi/etc/htpasswd.users file and restart apache.

Hope this helps.

Re: NagVis Intergration did work

Posted: Tue Sep 20, 2011 11:46 am
by phillip.boyce
lmiltchev, thanks for the quick response! I really appreciate it.

Unfortunately, when I checked /etc/httpd/conf.d as you suggested it was already pointing to /usr/local/nagiosxi/htpasswd.users.

This is so strange. I can login as root and do anything I want but can no longer hit NagiosXI from a browser using the hostname or IP. I have tried everything and done a ton of reading on the forum. I would love to fix this so I don't have to start from scratch.

I'll do anything you suggest? Where do you think I should go from here?

- Phil

Re: NagVis Intergration did work

Posted: Tue Sep 20, 2011 4:08 pm
by lmiltchev
Take a look at the suggested troubleshooting steps outlined in the "Can no longer connect to the web GUI" post on the forum.
Please, let us know if this helped you solve your problem.