How can I create a Spectrum Global Collection for all models created in the last 48 hours? (Legacy KB ID CNC TS33508 )

Document ID : KB000051739
Last Modified Date : 14/02/2018
Show Technical Document Details
The solution requires a SpectroWATCH to be created. The SpectroWATCH should be created on a suitable based model type (e.g. GnSNMPDev will affect all SNMP-based models).


Create a SpectroWATCH using the following parameters:


Data Type = Time Ticks


Expression = ( TIME - createtime )


Default Activation = Active By Default


Evaluation = Evaluate on Demand


Model Type = GnSNMPDev (NOTE: Ensure the 'Make Inheritable' option is checked)


 


The next step is to create the Global Collection Search Criteria:


In OneClick right-click on 'Global Collections' in the Navigation Pane's Explorer tab and select 'Create Collection'


Give the Collection a name and then select 'Search Options'


Select the 'Attribute' button and select the previously created SpectroWATCH from the listed attributes. Set the 'Comparison Type' to 'Less Than Or Equal To' and then set the 'Attribute Value' to 172800 (for 48 hours).


Set the search update interval as desired (default=24 hours)


NOTE: For 'Attribute Value': 86400 = 24 hours so to cover 48 hours simply double the value.


 



Related Issues/Questions:
How can I create a Spectrum Global Collection for all models created in the last 48 hours?

Problem Environment:
SPECTRUM 9.0.0
SPECTRUM 9.1.0
OneClick

Causes of this problem:
Requirement is to have all models created in the past xx hours, dynamically populate a specific Global Collection

Additional Information:
Depending upon requirements the SpectroWATCH may need to be created in other model types. For example, Pingables and Containers.
18023529-02


(Legacy KB ID CNC TS33508 )