Tag Archives: sudo

Using sudo with NRPE requests

I want to receive an alert whenever root’s crontab of a machine has been updated. In RHEL (Red Hat Enterprise Linux) 6 the crontab is stored in /var/spool/cron/root and it is only readable/writable for root itself. After installing the required yum packages (examples: nagios-plugins-all, nagios-plugins-nrpe, nrpe) you can begin this implementation by checking if the […]