UNKNOWN: An error occured connecting to API. (Connection error: 'EOF occurred in violation of protocol (_ssl.c:618)')
Posted: Fri Nov 24, 2023 9:44 am
Hello,
Could you please assist me to resolve that issue
When I tried to monitor server 10.10.51.5 I'm gettin error
/usr/local/nagios/libexec/check_ncpa.py -H 10.10.51.5 -t 'Nagiospassw0rd' -P 5693 -M cpu/percent -w '80' -c '90' -q 'aggregate=avg'
UNKNOWN: An error occured connecting to API. (Connection error: 'EOF occurred in violation of protocol (_ssl.c:618)')
I reinstalled the ncpa again on the client but still nothing.
systemctl status ncpa_listener.service
● ncpa_listener.service - LSB: This manages the NCPA Listener service
Loaded: loaded (/etc/rc.d/init.d/ncpa_listener; generated)
Active: active (running) since Fri 2023-11-24 10:14:24 EET; 5h 14min ago
Docs: man:systemd-sysv-generator(8)
Process: 9985 ExecStop=/etc/rc.d/init.d/ncpa_listener stop (code=exited, status=0/SUCCESS)
Process: 9996 ExecStart=/etc/rc.d/init.d/ncpa_listener start (code=exited, status=0/SUCCESS)
Tasks: 2 (limit: 23693)
Memory: 31.0M
CGroup: /system.slice/ncpa_listener.service
└─10009 /usr/local/ncpa/ncpa_listener --start
Тhere is no much info in the logs:
cat ncpa_listener.log
2023-11-24 10:04:29,964 9690 INFO started
2023-11-24 10:04:29,965 9690 INFO Using SSL version TLSv1_2
2023-11-24 10:13:25,067 9690 INFO stopped
Could you please assist me to resolve that issue
When I tried to monitor server 10.10.51.5 I'm gettin error
/usr/local/nagios/libexec/check_ncpa.py -H 10.10.51.5 -t 'Nagiospassw0rd' -P 5693 -M cpu/percent -w '80' -c '90' -q 'aggregate=avg'
UNKNOWN: An error occured connecting to API. (Connection error: 'EOF occurred in violation of protocol (_ssl.c:618)')
I reinstalled the ncpa again on the client but still nothing.
systemctl status ncpa_listener.service
● ncpa_listener.service - LSB: This manages the NCPA Listener service
Loaded: loaded (/etc/rc.d/init.d/ncpa_listener; generated)
Active: active (running) since Fri 2023-11-24 10:14:24 EET; 5h 14min ago
Docs: man:systemd-sysv-generator(8)
Process: 9985 ExecStop=/etc/rc.d/init.d/ncpa_listener stop (code=exited, status=0/SUCCESS)
Process: 9996 ExecStart=/etc/rc.d/init.d/ncpa_listener start (code=exited, status=0/SUCCESS)
Tasks: 2 (limit: 23693)
Memory: 31.0M
CGroup: /system.slice/ncpa_listener.service
└─10009 /usr/local/ncpa/ncpa_listener --start
Тhere is no much info in the logs:
cat ncpa_listener.log
2023-11-24 10:04:29,964 9690 INFO started
2023-11-24 10:04:29,965 9690 INFO Using SSL version TLSv1_2
2023-11-24 10:13:25,067 9690 INFO stopped