I have my nagios core installed in an local machine(linux 16.04), which is perfectly monitoring my local remote machines. But i want to monitor an AWS instance (linux machine) using the same local machine which i'm using to monitor the other local remote machine via nrpe plugin. But the problem with the same is that a connection can't be established between the server and the instance as each time I run the ./check_nrpe command i get this output : "CHECK_NRPE STATE CRITICAL: Socket timeout after 10 seconds."
Please put some light on the same. Any kind of help will be appreciated.