pw threshold checkpoint
The pw threshold checkpoint command manages existing thresholds. With this command, thresholds can be saved for items:
- Particular monitor type
- Monitor instance
- Multiple instances
This command can also be used to apply thresholds from one setup to another. This command is useful to restore backed-up thresholds in case any existing thresholds are lost.
pw threshold checkpoint
pw threshold checkpoint command options
Attribute | Description |
---|---|
<create> | Creates a unique check point <name> with <description>. |
<load> | Reinstantiates all thresholds that are in the check point <name> in the system. In effect, it mergs the thresholds that are in the check point with the set of existing thresholds in the system. If you want to restore exactly what was there at the time that the check point was created, you must run the clear command. |
<list> | If <name> is supplied, displays all thresholds for <name> partition. If <name> is not supplied, lists all partition names. |
<delete> | Deletes the check point <name> from database |
<delete thresholds> | Deletes all thresholds matching options |
<export> | Exports a named check point into an XML file |
<import> | Imports an XML file into the database. Note that if the XML file includes any instance thresholds, they will be ignored. If the name of the check point is not unique, command will also fail. |
where
Attribute | Description |
---|---|
<name> | Unique name for check point |
<desc> | Description of check point |
<options> | Filters to further narrow down threshold list |
<threshold filter>-all-glob-inst-abs-sig | Filters all the thresholds. Filters all the global thresholds. Filters all the instance thresholds. Filters all the absolute thresholds. Filters all the signature thresholds. |
<partitions> -g <group_name>-d <device_name> -mt <mo_type> | Set of thresholds described by groups, monitor type or deviceName of the groupName of the deviceName of the monitor type |
- pw threshold checkpoint create <name> <desc> -all
Creates a checkpoint for all defined thresholds on the server
- pw threshold checkpoint create <name> <desc> -glob -sig
Creates a checkpoint for all global signature thresholds on the server
- pw threshold checkpoint create <name> <desc> -g <group_name> -all -abs
Creates a checkpoint for both global and instance absolute thresholds for that group
- pw threshold checkpoint create <name> <desc> -mt <mo_type> -all -sig
Creates a checkpoint for both global and instance signature thresholds for that monitor type
- pw threshold checkpoint create <name> <desc> -d <device_name> -inst -sig
Creates a checkpoint for all instance signature thresholds for that device
- pw threshold checkpoint load <name>
Restores all thresholds that are in the check point <name>
- pw threshold checkpoint list
Lists all available checkpoints on the system
- pw threshold checkpoint delete <name>
Particular checkpoint will be removed.
- pw threshold checkpoint delete thresholds -g group1 -inst -sig
Deletes all signature instance level thresholds from group <group1>
- pw threshold checkpoint export temp john.xml
Exports checkpoint temp into john.xml file.