CMDBHealth Staleness
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-24-2018 01:57 AM
Hi, i can see two errors y "System Log -> Node Log File Browser" what stop Staleness metric processor and the creation of Stale Tasks:
1st error:
-------------
****STALENESS time out. Exiting this processor run
I think this is related with de system property glide.cmdb.health.metricProcessor.maxRunningTime, i think it is really seconds and not minutes
2nd error:
--------------
Really 1st error is not important for me, i can overtake it, but this second happen radomly:
****CMDBHealth : STALENESS Not evaluating score because active sub metric DUPLICATE is currently being processed
The core of the problem is that four metrics are started at the same time by the next script:
SNC.MetricProcessorScript.correctnessManager();
These metrics are shown in the log:
Init Duplicate , Failures {}
Init Orphan , Failures {}
Init Staleness , Failures {}
Init Duplicate , Failures {}
But the order change radomly and only execute the first metric, i this example, because Duplicate is started first, no more metrics in the same package can be executed.
¿There are some script to excute an individual metric? For example:
¿¿¿ SNC.MetricProcessorScript.metric('some metric'); ???
Thanks in advance
- Labels:
-
Enterprise Asset Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-24-2018 03:18 AM
I can execute only Staleness with:
SNC.MetricProcessorScript.stalenessProcessor(0);
And i can see in the log that it finish correctly.
But no stale task is created, i have a CI modified with last dicovery and updated in 2017. Some times works and some times not work and i haven't errors in my log:
Line 1368: 02:46:54.110 Info worker.7 worker.7 txid=b526ee524fd1 CMDBHealth : Init Staleness , Failures {global=1}
Line 1388: 02:46:54.135 Info worker.7 worker.7 txid=b526ee524fd1 CMDBHealth : Staleness: Start CMDB health score calculation ...
Line 1389: 02:46:54.135 Info worker.7 worker.7 txid=b526ee524fd1 CMDBHealth : CMDB: Staleness: Processing score calculation in domain 'global'
Line 1392: 02:46:54.138 Info worker.7 worker.7 txid=b526ee524fd1 CMDBHealth : Staleness: Complete CMDB health score calculation.
Line 1393: 02:46:54.139 Info worker.7 worker.7 txid=b526ee524fd1 CMDBHealth : [ScoreManager]: STALENESS : Time taken for CMDB score calculation: 22 ms
Line 1394: 02:46:54.147 Info worker.7 worker.7 txid=b526ee524fd1 CMDBHealth : Staleness: Start Service health score calculation ...
Line 1395: 02:46:54.147 Info worker.7 worker.7 txid=b526ee524fd1 CMDBHealth : Service: Staleness: Processing score calculation in domain 'global'
Line 1396: 02:46:54.150 Info worker.7 worker.7 txid=b526ee524fd1 CMDBHealth : Staleness: Complete Service health score calculation.
Line 1397: 02:46:54.150 Info worker.7 worker.7 txid=b526ee524fd1 CMDBHealth : [ScoreManager]: STALENESS : Time taken for Service score calculation: 11 ms
Line 1398: 02:46:54.151 Info worker.7 worker.7 txid=b526ee524fd1 CMDBHealth : Staleness: Start Group health score calculation ...
Line 1399: 02:46:54.151 Info worker.7 worker.7 txid=b526ee524fd1 CMDBHealth : Group: Staleness: Processing score calculation in domain 'global'
Line 1400: 02:46:54.153 Info worker.7 worker.7 txid=b526ee524fd1 CMDBHealth : Staleness: Complete Group health score calculation.
Line 1401: 02:46:54.153 Info worker.7 worker.7 txid=b526ee524fd1 CMDBHealth : [ScoreManager]: STALENESS : Time taken for Group score calculation: 3 ms
Line 1402: 02:46:54.183 Info worker.7 worker.7 txid=b526ee524fd1 CMDBHealth : [ScoreManager]: STALENESS : Time taken for close method: 30 ms
Line 1403: 02:46:54.183 Info worker.7 worker.7 txid=b526ee524fd1 CMDBHealth : [ScoreManager]: STALENESS : Total time taken for score calculation: 66 ms
Just a big sh...t

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-24-2018 03:22 AM
Created a support ticket? What was the response?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-24-2018 03:31 AM
I haven't created a support ticket at the moment

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-24-2018 03:56 AM
I feel that is your best bet for resolution here