Random Project

Worked Well!!!!!!!!!!

###COMMAND OUTPUT###

./check_fileage.py -f /backup/192.168.10.10/rsync/nfs_file_logs -w 1440 -c 2880

Note:Here, 1440 means 1 days & 2880 means 2 days.

Command Result is:
OK: nfs_file_logs has a modified date of Mon 06 Aug/2012 18:41

Make below entry in “commands.cfg”

define command{
command_name check_fileage
command_line $USER1$/check_fileage.py -f n Fedora/CentOS/RedHat platform only.