Page 1 of 1

check_ncpa.py '[Errno 111] Connection refused'

Posted: Tue Sep 24, 2024 10:00 am
by JohnFLi
Centos7
all works well, I restart the machine.....now,

Code: Select all

[[email protected] ~]$ /usr/local/nagios/libexec/check_ncpa.py -H 10.10.10.10 -M 'system/uptime' --warning 3456000 --critical 5184000
UNKNOWN: An error occurred connecting to API. (Connection error: '[Errno 111] Connection refused')
I have rebooted again, no luck

this happens every so often for that check on various linux machines.

there is NO firewall between the machine and the Nagios Server

any ideas?

Re: check_ncpa.py '[Errno 111] Connection refused'

Posted: Wed Sep 25, 2024 9:34 am
by JohnFLi
after rebooting the linux box a few more times, it started working