Page 1 of 2

Nagvis Instllation

Posted: Tue Jan 15, 2013 12:20 pm
by cheritie
When i try to install nagvis and run install.sh,
it asked whether i like to proceed, when i hit "y"

+------checking for tools------------+
using packet manager /bin/rpm found
rsync is not installed. aborting.... missing

Re: Nagvis Instllation

Posted: Tue Jan 15, 2013 1:16 pm
by cheritie
I ran below command and run install.sh
# yum install rsync graphviz

and now i can't even view nagio on the web browser anymore.
please help.

Re: Nagvis Instllation

Posted: Tue Jan 15, 2013 1:48 pm
by scottwilkerson
Nagvis is installed by default in XI, you do not need to install anything...

Is apache running on the server

Code: Select all

service httpd status

Re: Nagvis Instllation

Posted: Tue Jan 15, 2013 1:52 pm
by cheritie
httpd is stopped.
when i type in service httpd start

starting httpd: syntax error on line 30 of /etc/httpd/conf.d/apache2-nagvis.conf
rewritebase : argument is not a valid url.

Re: Nagvis Instllation

Posted: Tue Jan 15, 2013 2:07 pm
by lmiltchev
Try moving the "/etc/httpd/conf.d/apache2-nagvis.conf" to a different location, for example to "/tmp", and try to restart apache again.

Code: Select all

service httpd restart

Re: Nagvis Instllation

Posted: Tue Jan 15, 2013 3:45 pm
by cheritie
I have java script error on Nagvis.


Stopping httpd:
starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain for servernam.

Re: Nagvis Instllation

Posted: Tue Jan 15, 2013 5:36 pm
by scottwilkerson
which browser?

Also, this warn

Code: Select all

The alias directive in /etc/httpd/conf.d/nagvis.conf at line 5 will probably never match because it overlaps an earlier Alias.
leads me to believe you still have another file in your /etc/httpd/conf.d/ directory that is conflicting with /etc/httpd/conf.d/nagvis.conf

Re: Nagvis Instllation

Posted: Tue Jan 15, 2013 5:54 pm
by cheritie
I had two same files so i deleted one.
it only left me with httpd:COuld not reliably determine the server's fully qualified domain name,using localhost.localdomain for server name.

I'm using chrome browser and even in the internet explorer still same javascript error message shows.

Javascript error occured : 'className' is null or not an object http://(ipaddress)/nagvis/frontend/nagvis-js/js/NagVisCompress.js(7176)

-stacktrace-
{anonymous} {#object}
printStackTrace()
handleJSError("'className' is null or not an object", "http://(ipaddress)/nagvis/frontend/nagvis-js/js/NagVisCompressed.js",7176) doDown(#object)

Re: Nagvis Instllation

Posted: Wed Jan 16, 2013 11:26 am
by scottwilkerson
I still think you have a different version of nagvis installed.

I would recommend you run the following

Code: Select all

/usr/local/nagiosxi/html/includes/components/nagvis/install.sh

Re: Nagvis Instllation

Posted: Wed Jan 16, 2013 11:29 am
by abrist
Could you post the contents of your /etc/httpd/conf.d/nagvis.conf?