Check the time and date stamps on files in FTP Site
Posted: Fri Feb 07, 2014 11:06 am
Hi all,
Just a quicky - I've had a look around the exchange but cant find anything, so if i've missed something ill ask here too...
I have a need to check 3 files on a remote FTP server to make sure they are copied over onto it every night.
I thought i could do this by Nagios checking the time and date stamp on the files and if they are older than 24 hours when i run the check i know the copy hasn't succeeded and will get an email alert to say so.
Copy is from a Windows server to a FTP site also hosted on a windows box.
Job is run via a command line FTP transfer using Windows Task Scheduler.
At the moment i can get Windows to email me an alert to say the job has finished running but no job results or outputs or anything so will have to manually FTP to remote server and check the dates each day.
Is there such plugin out there that can do this or this going to be a custom script jobby?
Thanks
Just a quicky - I've had a look around the exchange but cant find anything, so if i've missed something ill ask here too...
I have a need to check 3 files on a remote FTP server to make sure they are copied over onto it every night.
I thought i could do this by Nagios checking the time and date stamp on the files and if they are older than 24 hours when i run the check i know the copy hasn't succeeded and will get an email alert to say so.
Copy is from a Windows server to a FTP site also hosted on a windows box.
Job is run via a command line FTP transfer using Windows Task Scheduler.
At the moment i can get Windows to email me an alert to say the job has finished running but no job results or outputs or anything so will have to manually FTP to remote server and check the dates each day.
Is there such plugin out there that can do this or this going to be a custom script jobby?
Thanks