How can i configure nagiosxi on virtual host?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bursatec
Posts: 24
Joined: Fri May 27, 2011 10:31 am

How can i configure nagiosxi on virtual host?

Post by bursatec »

Hi!!

I have my nagiosxi installation working good.

I need to configure my nagiosxi installation on a virtual host, can anybody help me??

Thanks!!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: How can i configure nagiosxi on virtual host?

Post by scottwilkerson »

If you have XI on a physical host now, you can use the backup and restore function to move you configuration to the virtual server.
http://library.nagios.com/library/produ ... -nagios-xi

For deploying the XI on the Virtual Host you can use one of the pre-configured VM's on the download page, or do a source install on a CentOS or RHEL minimal install on the Virtual Host
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
niebais
Posts: 349
Joined: Tue Apr 13, 2010 2:15 pm

Re: How can i configure nagiosxi on virtual host?

Post by niebais »

There are utilities like VMWARE converter that you could use. I recommend stopping the database before doing the transfer and it might take up to 1 - 4 hours.
bursatec
Posts: 24
Joined: Fri May 27, 2011 10:31 am

Re: How can i configure nagiosxi on virtual host?

Post by bursatec »

I'm sorry!! I don't explain me...

I try to configure a virtual host in Apache, a vhost for nagios.

It is possible to configure??

Thanks!!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: How can i configure nagiosxi on virtual host?

Post by scottwilkerson »

If you have Nagios XI installed as you describe, the apache config files are already created in /etc/httpd/conf.d
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
bursatec
Posts: 24
Joined: Fri May 27, 2011 10:31 am

Re: How can i configure nagiosxi on virtual host?

Post by bursatec »

Correct,


Actually my nagios.domain.com send me to /var/www/html

But i try to send nagios.domain.com to /var/www/html/nagiosxi/html directly.

Without change the principal DocumentRoot(/var/www/html), because i have a forum installed in /var/www/html/forum and i try to access through forum.domain.com

Thanks
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: How can i configure nagiosxi on virtual host?

Post by abrist »

XI is not accessible at nagios.domain.tld by deault. The default web address is domain.tld/nagiosxi .
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.
bursatec
Posts: 24
Joined: Fri May 27, 2011 10:31 am

Re: How can i configure nagiosxi on virtual host?

Post by bursatec »

Yeah!

Can i change the config of this?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: How can i configure nagiosxi on virtual host?

Post by abrist »

Yes, it would require altering the apache vhosts file to your liking. You could create a new alias, but be careful to not remove the old alias as some XI components expect the default aliasing.
See: http://httpd.apache.org/docs/2.2/vhosts/
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