Random Project

unable to use check_nrpe

Hi,

When I use the command
/usr/lib64/nagios/plugins/check_esxi_hardware.py -H xx.xx.xx.xxx -U root -P password -V dell
it work.
OK – Server: Dell Inc. PowerEdge XXX s/n: XXXXXX System BIOS: XX.xx.XX

However when I use the check_nrpe command
/usr/lib64/nagios/plugins/check_nrpe -H 127.0.0.1 -c VMwareESXi
I got this error.

CRITICAL: (0, ‘Socket error: [Errno 13] Permission denied’)

Can you advice me what when wrong?