checking for type of socket size… size_t
“checking for SSL headers… configure: error: Cannot find ssl headers”

Getting above error on installing nrpe plugin on centos ?

Use below libraries to fix it

[root@nagios nrpe-2.12]# yum install openssl-devel

Once this is installed you can go ahead and configure NRPE plugin for nagios