Environment
NetIQ AppManager 6.x
NetIQ AppManager 7.0.x
NTAdmin_FileCheck
NetIQ AppManager 7.0.x
NTAdmin_FileCheck
Situation
How can I monitor a mapped drive or external file?
How do I configure the 'NTAdmin_Filecheck' Knowledge Script (KS) to raise an event when the machine loses its drive mapping and gains another when the mapping is restored?
How do I configure the 'NTAdmin_Filecheck' Knowledge Script (KS) to raise an event when the machine loses its drive mapping and gains another when the mapping is restored?
Resolution
In order to configure the NTAdmin_FileCheck Knowledge Script to determine if a machine a mapped drive is lost, perform the following steps:
- Create a sample file on the mapped drive - e.g. x:filechecktest.txt.
- Launch the AppManager Operator Console and view the properties of the NTAdmin_FileCheck Knowledge Script.
- On theValues tab, set the parameters as follows:
Full path to file = <UNC_path_of_the_sample_file>
Event when found? = n - On the Advanced tab, select the option to Generate a new event when original event condition no longer exists.
In AppManager 7.0.x, the NT_DiskSpace KS can monitor mapped drives, and determines what drives are available on a per-iteration basis.
Additional Information
Formerly known as NETIQKB41760
If the script is accessible it can be assumed that the mapping exists. This is one way of monitoring an external file or mapped drive. There are numerous other ways to accomplish this as well with AppManager.
If the script is accessible it can be assumed that the mapping exists. This is one way of monitoring an external file or mapped drive. There are numerous other ways to accomplish this as well with AppManager.