Purpose
Adds incidents to a package.
Syntax and Description
ips add {incident first [n] | incident inc_id | incident last [n] | problem first [n] | problem prob_id | problem last [n] | problemkey pr_key | seconds secs | time start_time to end_time} package package_id
Table 17-4 describes the arguments of IPS ADD.
Table 17-4 Arguments of IPS ADD command
Argument | Description |
---|---|
|
Adds the first |
|
Adds an incident with ID |
|
Adds the last |
|
Adds the incidents for the first Adds only the first three early incidents and last three late incidents for each problem, excluding any older than 90 days. (Note: These limits are defaults and can be changed. See "IPS SET CONFIGURATION".) |
|
Adds all incidents with problem ID |
|
Adds the incidents for the last Adds only the first three early incidents and last three late incidents for each problem, excluding any older than 90 days. (Note: These limits are defaults and can be changed. See "IPS SET CONFIGURATION".) |
|
Adds incidents with problem key |
|
Adds all incidents that have occurred within |
|
Adds all incidents between |
|
Specifies the package to which to add incidents. |
Examples
This example adds incident 22 to package 12:
ips add incident 22 package 12
This example adds the first three early incidents and the last three late incidents with problem ID 6 to package 2, exuding any incidents older than 90 days:
ips add problem 6 package 2
This example adds all incidents taking place during the last minute to package 5:
ips add seconds 60 package 5
This example adds all incidents taking place between 10:00 a.m. and 11:00 p.m. on May 1, 2010:
ips add time '2010-05-01 10:00:00.00 -07:00' to '2010-05-01 23:00:00.00 -07:00'