With recent versions of NRPE server, the possibility to enable command args has been disabled.
For example, on a Debian Jessie, you can get this kind of error on console:
CHECK_NRPE:Received0bytes from daemon
and in logs:
Error:Request contained command arguments!
!WARNING! This change can lead to security issue, this is why it has been disabled by default. You have to double check your servers can’t be reached from anywhere with NRPE commands (to avoid execution of unwanted or malicious code).
Once you’re sure there’s no security breach in your infra, you can go on with the installation of source:
You will probably have to adjust the logs path depending on your needs, and you can also modify the retention time for each action.
Once the command looks correct with what you’re expecting, you can set them up as cron so it can be executed automatically every day.