I want to monitor some remote windows servers with check_nt.
My problem is that the connections from the remote sights to the main (where nagios is) are with NAT.
I receive error to nagios web interface "could not fetch information from server"
If i disable NAT to the remote sight nagios works fine and i get the proper infos but when NAT is disabled some other services at the infrastructure does not work properly.
Is there any way to "bypass" this or change some settings to make it work??
Windows server monitoring
Re: Windows server monitoring
Two options I can think of
* use passive checks
* change your clients to use different ports and configure your nat to pass the correct ports to the correct servers
* use passive checks
* change your clients to use different ports and configure your nat to pass the correct ports to the correct servers
Looking forward to seeing you all at #NagiosCon2019?
-Dedicated Lover of Nconf,PNP4Nagios and Nagvis
-Dedicated Lover of Nconf,PNP4Nagios and Nagvis
Re: Windows server monitoring
passive checks? How i can set this up???
NAT does not block anything. The problem is at the change of the ip i think not the port translation.
NAT does not block anything. The problem is at the change of the ip i think not the port translation.
Re: Windows server monitoring
depends on the client that you want to useorani wrote:passive checks? How i can set this up???
it is fairly easy with NCPA https://assets.nagios.com/downloads/ncp ... ation.html
you will need to run NRDP on your nagios server https://exchange.nagios.org/directory/A ... or/details
as for the issue around NAT I suggest port address translation because it would allow you to forward specific ports to specific hosts behind the nat allowing you to connect to the nat'd IP and run active checks, may be worth speaking to whoever setup your network
Looking forward to seeing you all at #NagiosCon2019?
-Dedicated Lover of Nconf,PNP4Nagios and Nagvis
-Dedicated Lover of Nconf,PNP4Nagios and Nagvis
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Windows server monitoring
Thanks nozlaf!
Re: Windows server monitoring
Solved.
I set up a rule at firewall and "bypass" the NAT which causes the problem.
I set up a rule at firewall and "bypass" the NAT which causes the problem.