Proxy agent for Network!!!

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
ponnpr7
Posts: 90
Joined: Fri Jul 28, 2017 3:55 pm

Proxy agent for Network!!!

Post by ponnpr7 »

Is there a proxy agent in Nagios to access remote server since I have several remote server which are not route able on the network. Any help much appreciated.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Proxy agent for Network!!!

Post by npolovenko »

Hi, @ponnpr7.
There's no built-in proxy agent in Nagios XI. But that doesn't mean you can't use one. A lot of the companies are already using their own proxy agents that comply with their specific requirements. That's why we don't include one with the installation.
Do you have an XI server in one location and few other servers that you want to monitor all in different locations? Or is it one XI in one location and all other servers in the second location? You could also just set up passive checks, that would require a minimum to none firewall configuration on the remote site.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
ponnpr7
Posts: 90
Joined: Fri Jul 28, 2017 3:55 pm

Re: Proxy agent for Network!!!

Post by ponnpr7 »

Thanks for your prompt reply. All the server all geographically distributed. There are like 51 sites with 600 some servers. In all the location only one server(called Director) expose to internet the rest talk through the Director. Only Director have public IP both IPv4 and IPv6 the rest have private IPv4. So how do I set the passive check? I installed NRPE but I don't think it work. How do I set passive check?

Thanks,
Ravi
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Proxy agent for Network!!!

Post by npolovenko »

@ponnpr7, Are they all Linux servers or Windows servers? You could install either a Nagios Core, or a Nagios XI on each Director server. Then within the same network, all other servers would have nrpe agents installed and send check results to the appropriate Director server. Then the director servers can either send the info to a Nagios Fusion server in a central location(https://www.nagios.com/products/nagios-fusion/) or to another XI server is a central location. Let me know if all this makes sense so far.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
ponnpr7
Posts: 90
Joined: Fri Jul 28, 2017 3:55 pm

Re: Proxy agent for Network!!!

Post by ponnpr7 »

Hi npolovenko, they are all running on Centos 6.9. First of all we don't have license for Fusion and I don't think my management going to buy it. So how the results going to be sent to Nagiso XI? For the Director to the non-router able server only works on ssh. How do I find out the NRPE agent reaching the Director. I used the below link to installed the NRPE agent https://assets.nagios.com/downloads/nag ... e/NRPE.pdf. Please advice.
You do not have the required permissions to view the files attached to this post.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Proxy agent for Network!!!

Post by npolovenko »

First of all we don't have license for Fusion and I don't think my management going to buy it. So how the results going to be sent to Nagiso XI?
@ponnpr7, Yes, as I mentioned check results from the Director servers can be transferred to either Fusion OR XI in a central location. Here's a little schema that will help explain what I'm talking about.
Untitled.png
Configuring remote Director servers to send results to a central location via nrdp is quite easy. Here's a tutorial:
https://assets.nagios.com/downloads/nag ... ith_XI.pdf
How do I find out the NRPE agent reaching the Director. I used the below link to installed the NRPE agent
I'm still not sure where you installed nrpe, did you install in on the Director server, or on the other servers(as shown on my schema)?
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
ponnpr7
Posts: 90
Joined: Fri Jul 28, 2017 3:55 pm

Re: Proxy agent for Network!!!

Post by ponnpr7 »

@ npolovenko I installed NRPE on the servers I did not installed on the Director. What are you saying I do need to install Nagios XI in Director? You mean full Nagios XI installation? Are there any other alternative?
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Proxy agent for Network!!!

Post by npolovenko »

@ponnpr7, NRPE is an active check, so if you choose to install it on the servers you'd face this two problems:
a) You need to open port 5666 on each server
b) Most important one. Since you said those servers only have internal IP addresses there is no way for the central XI to reach them because they're on different networks. There's no direct link if that makes sense?
What are you saying I do need to install Nagios XI in Director?
Either XI or Core. The only other way I could think of is to use Mod Gearman workers, but that's a little bit trickier to set up.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
ponnpr7
Posts: 90
Joined: Fri Jul 28, 2017 3:55 pm

Re: Proxy agent for Network!!!

Post by ponnpr7 »

@npolovenko could you please share about the Mod Gearman workers how do I go about it. So I can present to my manager.
Thanks
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Proxy agent for Network!!!

Post by npolovenko »

@ponnpr7, You'd install Mod-Gearman on the Director server. It'd execute checks on the other remote servers via nrpe, and then report back to XI. Here are a couple mod gearman tutorials that we have:
https://support.nagios.com/kb/article.php?id=484
also
https://support.nagios.com/kb/article.php?id=225
Let me know if you have more questions.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked