I having a problem when i change the fileset (tag) to -{string value of selects “DNSHostName from Win32_ComputerSystem” of wmi}"
My Action:
setting “_BESClient_ArchiveManager_MaxArchiveSize”=“45000000” on “{now}” for client
// Set the agent to send info only once (rather than resending periodically)
setting “_BESClient_ArchiveManager_OperatingMode”=“2” on “{parameter “action issue date” of action}” for client
// Tell agent which files to collect
setting “_BESClient_ArchiveManager_FileSet-{string value of selects “DNSHostName from Win32_ComputerSystem” of wmi}”=“c:/journal/.” on “{parameter “action issue date” of action}” for client
Not quite sure why it isn’t working… but this alternative should work:
setting “{”_BESClient_ArchiveManager_FileSet-" & string value of selects “DNSHostName from Win32_ComputerSystem” of wmi}"=“c:\journal*.*” on “{parameter “action issue date” of action}” for client
Note that I also switched the direction of your /journal/ slashes.
But I trying upload 2 type of ext file (*.bmp & *.pcx) and it is not working.
// Tell agent which files to collect
setting “{”_BESClient_ArchiveManager_FileSet-" & string value of selects “DNSHostName from Win32_ComputerSystem” of wmi}"=“C:\journal*.pcx” on “{parameter “action issue date” of action}” for client
setting “{”_BESClient_ArchiveManager_FileSet-" & string value of selects “DNSHostName from Win32_ComputerSystem” of wmi}"=“C:\journal*.bmp” on “{parameter “action issue date” of action}” for client