scrap that, I've just seen there is a plugin to do just this, check_file_age.
-h Hari Sekhon Hari Sekhon wrote: > This should be very easy to write a plugin for in bash or python. > > Just check the last modified data against the current time and go > warning/critical if the difference between the timestamp is too high. > > -h > > Hari Sekhon > > > > Lacayo, Luis F wrote: >> HI All, >> I was asked by one of my users to see if there is a way that NAGIOS can >> check to see if a certain file was updated with in the last 10 minutes, >> and it is not updated then to issue an alert. >> >> Is there a plugging for NAGIOS to handle this? If not any ideas how I >> could get this done? >> >> Thanks, >> Luis >> >> Luis Lacayo >> >> >> ------------------------------------------------------------------------- >> >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk >> being sent to /dev/null >> >> > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null