Create a Troubleshooter Model

You can create and associate Troubleshooter models with User models using the CLI. Once created and associated, these troubleshooters can be assigned alarms and receive email notification that they must investigate and resolve the alarms.
csp
You can create and associate Troubleshooter models with User models using the CLI. Once created and associated, these troubleshooters can be assigned alarms and receive email notification that they must investigate and resolve the alarms.
The following procedure describes how to create a TroubleShooter model and associate it with a User model. The User model that is created in Create a User Model is used as an example.
Follow these steps:
  1. Navigate to the
    <$SPECROOT>
    /vnmsh directory.
  2. Connect to the
    SpectroSERVER
    by typing the following command at a command prompt (example from a bash shell with a $ prompt):
    $ ./connect
  3. Determine the TroubleShooter model type. Enter this command:
    $ ./show types | grep -i trouble
    The TroubleShooter model type entry is returned.
    0x10372 TroubleShooter V,I
  4. Determine the TroubleShooter model type EmailAddress attribute ID. Enter this command:
    $ ./show attributes mth=0x10372 | grep -i email
    The EmailAddress entry appears:
    0x11d24 EmailAddress TextString R,W,D
  5. Create a TroubleShooter model using the CLI create command:
    $ ./create model mth=0x10372 attr=0x1006e,val=j_doe_fixit attr=0x11d24,[email protected]
    A system message resembling the following command confirms that the model is created:
    $ created model handle = 0xbe0001c
    All handles and IDs used in examples are fictitious. The model handle for the model you created are different. It is whatever your system creates for it.
  6. Create the association between the j_doe User model (mh=0xbe0001b) and the j_doe_fixit TroubleShooter model (mh=0xbe0001c) using the CLI create command:
    $ ./create association rel=Is_Assigned lmh=0xbe0001b rmh=0xbe0001c
    A system message similar to the following command confirms that the association was created:
    $ create association successful