通过文章,我们不难发现Nagios NRPE监控远程主机操作非常简单!
Question 1: When I execute check_nrpe command with some arguments, I get the message
“CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.”. How do I fix this issue?
Answer 1: The issue is very straight forward. check_nrpe doesn’t take any arguments by default. You should enable the command line arguments for check_nrpe as shown below.
1. Configure NRPE with –enable-command-args
2. Modify nrpe.cfg and set dont_blame_nrpe