I'm looking for a way to compare two file for similar filenames, such as:
one file called: UN-7850101-res.xml
and another called: UN-7850101-req.xml
If the req file is present with out a corresponding res file, then alert..
Does anyone have any suggestions on how to accomplish this? I've a little experience with LUA but only as far as editing existing scripts.
Thanks in advance,
WE do not have a probe out of the box that can do this currently.
I would suggest a batch file or shell script that has an exit code or writes out to a log file
then use logmon to report on the results.
You should be able to find some simple batch file scripts to check for the existence of files that you could use an if statement with.
hope this helps