This command displays and clears subscriptions for the common information model (CIM) used by the optional Flex System Manager software.
If command syntax is not correctly entered, or if a command fails to run, an error message is returned. See Common errors for a list of error messages that apply to all commands or cimsub command errors for a list of error messages that are specific to the cimsub command.
Function | What it does | Command | Target (see paths in Command targets) |
---|---|---|---|
Display CIM subscription destination | Displays destinations for the CIM subscriptions used by the Flex System Manager software. | cimsub | Primary CMM:
|
Display CIM subscription status | Displays detailed information about all CIM subscriptions used by the Flex System Manager software. | cimsub -v | Primary CMM:
|
Clear CIM subscription | Clears one or all of the CIM subscriptions used by the Flex System Manager software. | cimsub
-clear identifier where identifier is:
This command can only be run by users who have one or more
of the following command authorities:
|
Primary CMM:
|
Example:
To display CIM destinations for the primary CMM, while the Flex System Enterprise Chassis is set as the persistent environment, at the system> prompt, typecimsub -T mm[p]
To display CIM status for the primary CMM, while the Flex System Enterprise Chassis is set as the persistent environment, at the system> prompt, type
cimsub -v -T mm[p]
To clear the CIM subscription with an identifier of http://9.37.64.50:8080 for the primary CMM, while the Flex System Enterprise Chassis is set as the persistent environment, at the system> prompt, type
cimsub -clear "http://9.37.64.50:8080" -T mm[p]
To clear all CIM subscriptions for the primary CMM, while the Flex System Enterprise Chassis is set as the persistent environment, at the system> prompt, type
cimsub -clear all -T mm[p]
The following example shows the information that is returned from these commands:
system> cimsub -T mm[p] Destination = "http://9.37.64.50:8080" Destination = "http://9.37.64.50:8080" system> cimsub -v -T mm[p] Caption = NULL CreationClassName = "CIM_ListenerDestinationCIMXML" Description = NULL Destination = "http://9.37.64.50:8080" ElementName = "Listener" InstanceID = NULL Name = "TEST:Indications:AllEvents" OtherPersistenceType = NULL OtherProtocol = NULL PersistenceType = 2 Protocol = 2 SystemCreationClassName = "CIM_ComputerSystem" Filter = "root/interop:CIM_IndicationFilter.CreationClassName=\"CIM_IndicationFil ter\",Name=\"TEST:Indications:AllEvents\",SystemCreationClassName=\"CIM_ComputerS ystem\",SystemName=\"\"" FailureTriggerTimeInterval = 3600 OnFatalErrorPolicy = 2 OtherRepeatNotificationPolicy = NULL OtherSubscriptionState = NULL RepeatNotificationCount = NULL RepeatNotificationGap = NULL RepeatNotificationInterval = NULL RepeatNotificationPolicy = 2 SubscriptionDuration = NULL SubscriptionState = 2 SubscriptionTimeRemaining = NULL TimeOfLastStateChange = "20140212160444.680645-300" Caption = NULL CreationClassName = "CIM_IndicationFilter" Description = NULL ElementName = "Filter" IndividualSubscriptionSupported = TRUE InstanceID = NULL Name = "TEST:Indications:AllEvents" Query = "SELECT*FROMCIM_AlertIndication" QueryLanguage = "WQL" SourceNameSpaces = {"root/cimv2"} SourceNameSpace = SystemCreationClassName = "CIM_ComputerSystem" SystemName = "localhost" Caption = NULL CreationClassName = "CIM_ListenerDestinationCIMXML" Description = NULL Destination = "http://9.37.64.50:8080" ElementName = "Listener" InstanceID = NULL Name = "TEST2:Indications:AllEvents" OtherPersistenceType = NULL OtherProtocol = NULL PersistenceType = 2 Protocol = 2 SystemCreationClassName = "CIM_ComputerSystem" Filter = "root/interop:CIM_IndicationFilter.CreationClassName=\"CIM_IndicationFil ter\",Name=\"TEST2:Indications:AllEvents\",SystemCreationClassName=\"CIM_Computer System\",SystemName=\"\"" FailureTriggerTimeInterval = 3600 OnFatalErrorPolicy = 2 OtherRepeatNotificationPolicy = NULL OtherSubscriptionState = NULL RepeatNotificationCount = NULL RepeatNotificationGap = NULL RepeatNotificationInterval = NULL RepeatNotificationPolicy = 2 SubscriptionDuration = NULL SubscriptionState = 2 SubscriptionTimeRemaining = NULL TimeOfLastStateChange = "20140212160559.819293-300" Caption = NULL CreationClassName = "CIM_IndicationFilter" Description = NULL ElementName = "Filter" IndividualSubscriptionSupported = TRUE InstanceID = NULL Name = "TEST2:Indications:AllEvents" Query = "SELECT*FROMCIM_AlertIndication" QueryLanguage = "WQL" SourceNameSpaces = {"root/cimv2"} SourceNameSpace = SystemCreationClassName = "CIM_ComputerSystem" SystemName = "localhost" system> cimsub -clear "http://9.37.64.50:8080" -T mm[p] OK system> cimsub -clear all -T mm[p] OK system> system> cimsub -T mm[p] No CIM subscription info available system>