How can i test if a file exists in a remote machine without use hostmonitor agent in thath remote machine, that is to say, only using the hostmonitor console? It's possible? How can i reference the remote machine in the "test properties" page?
Many thanks in advance.
test if a file exists in remote machine
Then you should provide access to the file using any standard network protocol, e.g. Microsoft network client, HTTP.
>How can i reference the remote machine in the "test properties" page?
It depends on what method have you used to provide access to the file.
If you are using Microsoft network client, then setup "File/Folder Availability" test and specify UNC path to the file, e.g. \\server\resource\file
If you want to access file using HTTP protocol, setup URL or HTTP test method and provide URL
Regards
Alex
>How can i reference the remote machine in the "test properties" page?
It depends on what method have you used to provide access to the file.
If you are using Microsoft network client, then setup "File/Folder Availability" test and specify UNC path to the file, e.g. \\server\resource\file
If you want to access file using HTTP protocol, setup URL or HTTP test method and provide URL
Regards
Alex
the same test result for file exists or doesn't
Ok, I use the UNC "\\remoteserver\folder\file" but when in the test page of properties I choose "file exists", it exists or don't exist the file, the test result is the same one. Equally it does happen when I choose "file doesn't exist". Why?
Thanks again.
Thanks again.
Well, Ok status for "File/Folder Availability" test with "Alert when file exists" means HostMonitor is able to access specified resource on target system but there is no such file.
Then if you change option to "Alert when file doesn't exist", HostMonitor will set "Bad" status.
It cannot show Ok status in both cases. Unless you setup test to check age of the file as well.
Regards
Alex
Then if you change option to "Alert when file doesn't exist", HostMonitor will set "Bad" status.
It cannot show Ok status in both cases. Unless you setup test to check age of the file as well.
Regards
Alex