===
The problem is due to the nagios user not being a member of the nagios group. This was causing the cron job (which runs as the nagios user) to not have permissions to delete the files.
Here's how to solve this problem...
1. Login to the machine as the root user
2. Issue the following commands at the prompt:
Code: Select all
rm -f /usr/local/nagios/etc/import/*.cfg
usermod -a -G nagios nagios
/etc/init.d/httpd restart