Permission denied connecting to port 5556

I’m getting this error on the

connect to address x.x.x.x port 5666: Permission denied
connect to host port 5666: Permission denied

The check is based on NRPE and works well from the command line.

/usr/lib64/nagios/plugins/check_nrpe -H -c check_base_disk


object Service “disk” {
import “generic-service”

host_name = “”

check_command = “nrpe”
vars.nrpe_command = “check_base_disk”
vars.nrpe_arguments = [ “20%”, “10%”, “/” ]

Can someone be kind enough to point out my error?

This was SELinux on the remote host.

1 Like

Hello there,

I would like to direct you to our formatting guide
It’s a lot more readable to have the config in code formatting :slight_smile: