Internet Service Monitoring command-line interface profile operations

Using profile operations, you can create, edit, modify, and delete profiles.

Profile operations

Table 1 shows the profile operations commands and the associated parameters. The table uses unnamed parameters. If you want to use named arguments, use the ./ISM command -help command to determine the argument names, where ISM command is either: ismconfig.sh -config on UNIX systems; ismconfig.cmd -config on Windows systems; or ismbatch.

Table 1. Internet Service Monitoring command-line interface profile operations commands

Operation

Command

Parameters

Create a profile

-new

new_profile [active|inactive]

Delete a profile

-deleteprofile

profile

Delete all profiles

-deleteallprofiles

 

List all profiles

-listprofiles

 

Activate a profile

-activateprofile

profile

Activate all profiles

-activateall

 

Deactivate a profile

-deactivateprofile

profile

Deactivate all profiles

-deactivateall

 

Copy a profile

-copy

profile new_profile [active|inactive]

Rename a profile

-rename

profile new_profile

Validate all profiles

Deprecated

-validate

 

Update monitoring profile

-monitoring

profile location periods

Update all empty profile element fields for all profiles to include a default value.

After older profiles are updated, they are compatible with newer Internet Service Monitoring versions.

-updateall

 

Sample - Copying a profile

Copy a profile named ibm, name the copy ibm2 and set the status of the copy to inactive:

./ismconfig.sh -config -copy ibm ibm2 inactive

Sample - Updating old profiles

Update all empty profile elements for all profiles to include a default value, repair broken profiles so that they conform to XML profile definitions, and provide information about which profiles are updated:

./ismconfig.sh -config -updateall
Note: When run with ismbatch, only the local XML profiles are updated and regenerated.
Tip: After you run the ./ismconfig.sh -config -updateall command, run ./ismconfig.sh -config -resync to propagate changes to the XML profiles deployed to the agents.