Nagvis Instllation

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
cheritie
Posts: 20
Joined: Mon Jan 07, 2013 11:52 am

Nagvis Instllation

Post 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
cheritie
Posts: 20
Joined: Mon Jan 07, 2013 11:52 am

Re: Nagvis Instllation

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagvis Instllation

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
cheritie
Posts: 20
Joined: Mon Jan 07, 2013 11:52 am

Re: Nagvis Instllation

Post 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.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagvis Instllation

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
cheritie
Posts: 20
Joined: Mon Jan 07, 2013 11:52 am

Re: Nagvis Instllation

Post 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.
Last edited by cheritie on Tue Jan 15, 2013 5:36 pm, edited 1 time in total.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagvis Instllation

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
cheritie
Posts: 20
Joined: Mon Jan 07, 2013 11:52 am

Re: Nagvis Instllation

Post 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)
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagvis Instllation

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagvis Instllation

Post by abrist »

Could you post the contents of your /etc/httpd/conf.d/nagvis.conf?
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.
Locked