Monitoring fileage on av windows share?



Does anyone have any tips on how to check the fileage on a file located on a windowsshare?


// dodeesos



Use Nc_Net to get the FILEAGE of a file on a windows server.

One of the variables to check_nt plugin is FILEAGE:

**./check_nt --help=FILEAGE
FILEAGE = Checks how old a file is .
Request a -l parameters with the following syntax:
-l "\"
Warning and critical thresholds can be specified with -w and -c.

Hope that helps.


Thanks for the reply… however i’d rather do it “clientless”. After some poking arond I’ve figured out that thats possible if one uses the smbclient on the nagiosserver and check_file_age plugin.

// dodesos