Re: Backend API URL issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
anoop
Posts: 95
Joined: Tue Jun 25, 2013 1:22 am

Re: Backend API URL issue

Post by anoop »

Hi Team,

We r planning to use Backend API URL with different IP address rather than IP of Nagios XI Server..

Can u please suggest us how to change the IP Address in Backend API URL....

Thanks in Advance
System:
Nagios XI Version : 2012R2.2 | PHP Version: 5.3.3
Offloaded MySQL DB on another virtual machine
16 CPU with 2 cores each | 32 GB RAM | 1 TB HDD
CentOS-6.3 |Total = 4,000 hosts| 40,000 services.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Backend API URL issue

Post by abrist »

Could you explain your requirements more clearly? The backend API is used to query information and pages from the XI server, so naturally, you will have to use an IP that belongs to the XI server (or at least port forwards, etc).
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.
anoop
Posts: 95
Joined: Tue Jun 25, 2013 1:22 am

Re: Backend API URL issue

Post by anoop »

HI Team,

Thanks for ur reply... Is there any option to redirect another IP exclusively for BAckend API...?
System:
Nagios XI Version : 2012R2.2 | PHP Version: 5.3.3
Offloaded MySQL DB on another virtual machine
16 CPU with 2 cores each | 32 GB RAM | 1 TB HDD
CentOS-6.3 |Total = 4,000 hosts| 40,000 services.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Backend API URL issue

Post by abrist »

What is the use case for this? A clustered environment? The backend is used by the frontend, both use php, and must reside on the same Nagios XI server. Could you give us a description of the scenario this pertains to?
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.
anoop
Posts: 95
Joined: Tue Jun 25, 2013 1:22 am

Re: Backend API URL issue

Post by anoop »

Hi Team,

Actually, we are planning to use frontend server by keeping Nagios XI Server backend.. So, i need to integrate the API's by providing the different IP Address...


Please suggest on this scenario....

Thanks
System:
Nagios XI Version : 2012R2.2 | PHP Version: 5.3.3
Offloaded MySQL DB on another virtual machine
16 CPU with 2 cores each | 32 GB RAM | 1 TB HDD
CentOS-6.3 |Total = 4,000 hosts| 40,000 services.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Backend API URL issue

Post by abrist »

Just to further clarify, you are trying to separate to the web ui fronend from the backend? i.e. run them on different apache servers?
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.
anoop
Posts: 95
Joined: Tue Jun 25, 2013 1:22 am

Re: Backend API URL issue

Post by anoop »

HI Team,

Can u please explain me in detail... Do i need to configure different apache server to maintain the frontend server or else provide us if any docs available on t same....


thanks
System:
Nagios XI Version : 2012R2.2 | PHP Version: 5.3.3
Offloaded MySQL DB on another virtual machine
16 CPU with 2 cores each | 32 GB RAM | 1 TB HDD
CentOS-6.3 |Total = 4,000 hosts| 40,000 services.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Backend API URL issue

Post by abrist »

anoop wrote:Can u please explain me in detail...
I cannot, as I am unsure what you are trying to accomplish. The frontend and backend are both served from the same set of php scripts. Separating these is most likely not possible. Please be explicit when explaining what you are trying to accomplish . . .
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