Re-validate probe via NAS Auto-Operation when FAILED due changes in the probe

Document ID : KB000010407
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

If probe machine name, IP Address or Mac Address changes, could cause that probes installed on this machine fail and system will receive and Alarm with message: Probe '<PROBE_NAME>' FAILED to start, file check determines changes in the probe ", as an example:

 

AlarmDetailFail.JPG

 On this circumstance a security re-validation use to be enough to address the inconvenience.

Background:

By default product provides the option to re-validate security probe manually pressing right-click on failed probe and selecting option Security -> Validate.

Environment:
UIM 8.4 and higher
Instructions:

The purpose of this note is the automation of the re-validation process. For this purpose, please follow next steps:

  • On your NAS machine create a script file name VALIDATE_SCRIPT.CMD with lines: 

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=Password01

SET SHOSTNAME=/CA_Domain/CA_PRim_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: 

AutoOperation_Profile.JPG

 

  • Activate the NAS Auto-Operation Profile with steps:

At NAS Auto-Operator -> Profile tab , right-click on profile created and click on Activate.

Profile_activate.JPG

Press OK button to save and then test ( NAS will be recycled ) 

Note: In case that 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. 

Additional Information:

TEC000001500