Windows Server is on Azure environment. Nagios is on LAN and can reach the monitored server over NAT.
We cannot deploy NCPA via "Manage Deployed Agents > + Add Agent" page as it hangs.
Also, we cannot validate NCPA with "https://[IP address]:5693" web page, as it shows blank page.
SSH from Nagios server is able to run "check_icmp" successfully:
[root@server libexec]# ./check_icmp -H <IP address> -w 3000.0,80% -c 5000.0,100% -p 5
OK - <IP address> rta 4.906ms lost 0%|rta=4.906ms;3000.000;5000.000;0; pl=0%;80;100;0;100 rtmax=7.725ms;;;; rtmin=3.974ms;;;;
but returns an error for "check_ncpa.py":
[root@server libexec]# ./check_ncpa.py -H <IP address> -t 'token' -P 5693 -M cpu/percent -w '80' -c '100' -q 'aggregate=avg'
UNKNOWN: An error occured connecting to API. (Connection error: '[Errno 104] Connection reset by peer')
Please explain what is the problem, and advise how to resolve it.
Thank you.
Windows Monitoring over NAT issues
-
kkuznetsov
- Posts: 12
- Joined: Thu Jan 21, 2021 10:22 pm
Re: Windows Monitoring over NAT issues
So, we found the issue source. That was a firewall configuration on Azure site.
After a customer adjusted it, Nagios started communicating with NCPA properly.
After a customer adjusted it, Nagios started communicating with NCPA properly.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Windows Monitoring over NAT issues
Hi,
We'll go ahead and close this thread, but feel free to open another if you have any new questions.
Benjamin
Excellent! Glad you got it solved.So, we found the issue source. That was a firewall configuration on Azure site.
After a customer adjusted it, Nagios started communicating with NCPA properly.
We'll go ahead and close this thread, but feel free to open another if you have any new questions.
Benjamin
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!