If probe machine name, IP Address or Mac Address changes, this could cause probes installed on a machine to fail and the system will generate an alarm with message: Probe '<PROBE_NAME>' FAILED to start, file check determines changes in the probe ", as an example:
For this circumstance, a security re-validation used to be enough to address the inconvenience.
By default, UIM provides the option to re-validate security for the probe manually pressing right-click on failed probe and selecting option Security -> Validate.
The purpose of this note is the automation of the re-validation process. For this purpose, please follow the next steps:
WINDOWS
SET SUSER=<IM_USER_WITH_ADMINISTRATOR_RIGHT>
SET SPASSWORD=<PASSWORD>
SET SHOSTNAME=/<IM_DOMAIN>/<HUB>/%1
<NIMSOFT_PATH>\bin\pu -u %SUSER% -p %SPASSWORD% %SHOSTNAME% probe_verify <PROBE_NAME>
<NIMSOFT_PATH>\bin\pu -u %SUSER% -p %SPASSWORD% %SHOSTNAME% probe_activate <PROBE_NAME>
UNIX
SET SUSER=<IM_USER_WITH_ADMINISTRATOR_RIGHT>
SET SPASSWORD=<PASSWORD>
SET SHOSTNAME=/<IM_DOMAIN>/<HUB>/$1
<NIMSOFT_PATH>/bin/pu -u $SUSER -p $SPASSWORD $SHOSTNAME probe_verify <PROBE_NAME>
<NIMSOFT_PATH>/bin/pu -u $SUSER -p $SPASSWORD $SHOSTNAME probe_activate <PROBE_NAME>
Notes:
You need to change <IM_USER_WITH_ADMINISTRATOR_RIGHT> , <PASSWORD>, <IM_DOMAIN> ,<HUB> and <PROBE_NAME> by the correct values.
Script Example:
SET SUSER=administrator
SET SPASSWORD=<PASSWORD>
SET SHOSTNAME=/<UIM_Domain>/<UIM_Primary_Hub>/%1
C:\nimsoft\bin\pu -u %SUSER% -p %SPASSWORD% %SHOSTNAME% probe_verify cdm
C:\nimsoft\bin\pu -u %SUSER% -p %SPASSWORD% %SHOSTNAME% probe_activate cdm
Create a NAS Auto-Operation profile following next steps:
Open NAS Configuration window
Goto Auto-Operator tab
Right-Click on background screen and select New option.
Select Action Type: command
Command String: <YOUR_SCRIPT_PATH>\VALIDATE_SCRIPT.CMD $hostname $message
Message String: *FAILED to start, file check determines changes in the probe
Click OK button to save.
Example:
At NAS Auto-Operator -> Profile tab , right-click on profile created and click on Activate.
Press OK button to save and then test (NAS will be recycled)
Note: In case you have multiple Domains/HUBs one script and one profile should be created for each Domain/Hub combination and NAS Profile will also need to be filtered by Domain and hub Names.