How to configure NagiosXI to use proxy to reach NCPA agents

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
imadc
Posts: 58
Joined: Wed Jun 14, 2017 12:10 pm

How to configure NagiosXI to use proxy to reach NCPA agents

Post by imadc »

Hello Team,

How to configure NagiosXI to use proxy or middle server that will be used as a hop to reach NCPA agents

In our use case we have NagiosXI on Data-center A
NagiosXI have access to only one server in Data-center B

What is the recommended way to reach and do active checks on all servers that are hosted in Data-center B through using one server that will be ackting as a proxy or a hop to direct those active checks inside DC B from NagiosXI in DC A.

Thanks
Insurity
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: How to configure NagiosXI to use proxy to reach NCPA age

Post by ssax »

I'd probably look at doing something like mod_gearman and setting up an external gearman worker in the other data centers, please see here for more information:

https://assets.nagios.com/downloads/nag ... ios_XI.pdf
https://support.nagios.com/kb/article.php?id=484

NOTE: Make sure that you follow the "Remote Worker Considerations" and the "Host groups and Service groups​" sections from the second link above and then follow the "Disable Worker​" section from the first link once you've setup your exclude groups.

You could also use check_by_ssh to run remote commands:

https://assets.nagios.com/downloads/nag ... ng_SSH.pdf

Let me know if you have any questions or if I can clarify anything.
imadc
Posts: 58
Joined: Wed Jun 14, 2017 12:10 pm

Re: How to configure NagiosXI to use proxy to reach NCPA age

Post by imadc »

Thanks ssax

Want to ask if we can we install a NagiosXI server on the remote Datacenter B using the same licensee? Seem an easier option

Because form the notes of the Mod-Gearman it is not clear what need to be provisioned or run inside Datacenter B only I see what need to be executed on the NagiosXI. So not sure how the traffic will flow

Thanks
Insurity
imadc
Posts: 58
Joined: Wed Jun 14, 2017 12:10 pm

Re: How to configure NagiosXI to use proxy to reach NCPA age

Post by imadc »

Also another alternative will Passive check be a solution to this case

Where all Remote NCPA agent will push metric and data to the remote NagiosXI

In the case of this passive checks connection required : NCPA Agents -> NagiosXI only required the reverse is not required

Is that a try statement?
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: How to configure NagiosXI to use proxy to reach NCPA age

Post by mbellerue »

You can only have 1 active instance of Nagios XI per license. You can have a backup server ready, but it can't be used for active monitoring while your primary is still in operation.

I think your best bet here is passive checks with NCPA, as you described in your last post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked