The connection was reset error
Posted: Mon May 03, 2021 1:24 am
While adding devices to Nagios through NCPA wizard after setp 2 facing "The connection was reset error". So please help me on this
Support for Nagios products and services
https://support.nagios.com/forum/
Code: Select all
env |grep -i http
ping -c 5 <INSERT IP of NCPA HOST>
Code: Select all
grep -i 'xinetd\|ncpa' /var/log/messages
service ncpa_listener status
grep -i allowed_hosts /usr/local/ncpa/etc/ncpa.cfg
netstat -tlapn |grep 'ncpa\|5693'
Code: Select all
env |grep -i http
executed successfully but no variables shownCode: Select all
ping -c 5 <INSERT IP of NCPA HOST>
output is
ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4022ms
rtt min/avg/max/mdev = 16.799/20.360/28.935/4.535 msCode: Select all
grep -i 'xinetd\|ncpa' /var/log/messages
You have new mail in /var/spool/mail/rootCode: Select all
service ncpa_listener status
ncpa_listener: unrecognized serviceCode: Select all
grep -i allowed_hosts /usr/local/ncpa/etc/ncpa.cfg
grep: /usr/local/ncpa/etc/ncpa.cfg: No such file or directoryCode: Select all
netstat -tlapn |grep 'ncpa\|5693'
executed successfully but no output shownCode: Select all
The agent should be installed before you continue running this wizard.
Download the latest version of NCPA for the system you would like to monitor
Follow the installation instructions (PDF version) and configure the token for the agent
Code: Select all
systemctl status ncpa_listener.service
Code: Select all
systemctl restart ncpa_listener.service
Code: Select all
ping xxxx
nmap -Pn -p 5693 x.x.x.x
Code: Select all
nmap -Pn -p 5693 x.x.x.x
output is :
Host is up (0.020s latency).
PORT STATE SERVICE
5693/tcp open unknown
Nmap done: 1 IP address (1 host up) scanned in 0.30 seconds
Code: Select all
sc query ncpalistener
Code: Select all
net stop ncpalistener
net start ncpalistener
Code: Select all
C:\Program Files (x86)\Nagios\NCPA\etc\ncpa.cfg