Monitor new files

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
oryagel
Posts: 92
Joined: Wed Jul 28, 2010 10:23 am

Monitor new files

Post by oryagel »

Hi,

I have an application which writes its error to text files in specific folder.

Each error is written to new file.

I want to get an email each time a new text file is created, with the content of the file.

How?


Thanks
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

You may setup "File/Folder Availability" test using %NewestFile% variable, add "Send e-mail" action into action profile assigned to the test and use <<IncludeFile=%FileName%>> directive in e-mail template.

Regards
Alex
oryagel
Posts: 92
Joined: Wed Jul 28, 2010 10:23 am

Post by oryagel »

Thanks

The file which needs to be attached is located on the remote machine where the agent is installed.

Does the file needs to be accessible through the network, or the attachment can be done with the agent in some way?

Thanks
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

No, RMA cannot send file to HostMonitor...
If HostMonitor does not have access to the file, I think you need some external application that will send e-mail. HostMonitor can tell RMA to start this application using "Execute external program" action.

Regards
Alex
Post Reply