[AWA] Does GET_FILESYSTEM work with HOSTG

Document ID : KB000105856
Last Modified Date : 10/07/2018
Show Technical Document Details
Question:
Does script function GET_FILESYSTEM support host group (HOSTG)?
Answer:
Unfortunately, indeed the GET_FILESYSTEM function does not support HOSTG, the input parameters only allow the host/agentname to be specified.

for example:
GET_FILESYSTEM(SERVER_A, [Path], File System Value[,Unit][, include sub directories][,Login object])
would return results on SERVER_A
while
GET_FILESYSTEM(GROUP_A, [Path], File System Value[,Unit][, include sub directories][,Login object])
will look for a host named GROUP_A instead of recognizing it as a host group, and returns error
Additional Information:
GET_FILESYSTEM script function:
https://docs.automic.com/documentation/webhelp/english/AWA/12.0/DOCU/12.0/AWA%20Guides/help.htm#AE_AWA_Source/Script/ucaaez.htm?Highlight=GET_FILESYSTEM