CA Service Management

  • 1.  Scoreboard showing incorrect count

    Posted Aug 08, 2017 04:06 PM

    We are using version 12.9.

     

    Recently there have been occurrences of scoreboard showing phantom tickets i.e. scoreboard shows ticket count which is 1 or 2 more than the actual tickets seen when clicked on the scoreboard node.

    The correct count is shown automatically after some time.

    Any idea what could be causing this?



  • 2.  Re: Scoreboard showing incorrect count

    Posted Aug 08, 2017 04:21 PM

    Hi Chirag - is this happening on an out-of-the-box scoreboard node or is this a custom scoreboard query that is having the issue?  If so, can you share the custom scoreboard query that is being used by that node?

    Thanks,

    Jon I.



  • 3.  Re: Scoreboard showing incorrect count

    Posted Aug 08, 2017 04:33 PM

    2 different nodes have the issue. These are custom nodes having below queries (have replaced ids with ***):

    When the admin opens the dashboard by changing the role, the correct count is shown. However, all agents having that specific role face the issue.

     

    Query 1

    (active = 1) AND status IN (\'OP\') AND (type = \'I\') AND (log_agent = U\'***\' OR log_agent = U\'***\') AND NOT tenant.name IN (\'***\') AND (group!=U\'***\' AND group!=U\'***\')

     

    Query 2

    group=U\'***\' AND status=\'OP\' AND type = \'I\'

     

    These nodes haven't been modified recently and have been created few months ago. The issue is being seen only now. So not sure if it has something to do with the queries.



  • 4.  Re: Scoreboard showing incorrect count

    Broadcom Employee
    Posted Aug 08, 2017 11:42 PM

    Plesse check if you habe monitor joins inactive.

    If so, this common behaviour.



  • 5.  Re: Scoreboard showing incorrect count

    Broadcom Employee
    Posted Aug 10, 2017 03:16 AM

    hi, the "tenant.name"  might be the problem when monitor_joins is off.

    So please check in the nx.env file for this parameter:

    ....

    # Set this variable to yes if you want to enable refreshing lists when an
    # update is made to a table referenced by a join in the where clause.
    @NX_MONITOR_JOINS=No

    .....

    Please verify if the 'problem' is solved when you change it to Yes.

    But keep in your mind, this will have performance impacts.



  • 6.  Re: Scoreboard showing incorrect count

    Posted Aug 10, 2017 01:21 PM

    Thanks. This is good to know though I wouldn't go for this option since there are many articles advising against it. Performance impact is not something that would be affordable.



  • 7.  Re: Scoreboard showing incorrect count
    Best Answer

    Posted Aug 10, 2017 12:13 PM

    I see the same issue but in a different way.  We have an interface system between CA and an SM9 system.  Sometimes the interface doesn't always work correctly and we use SQL to manually update statuses of tickets to sync the tickets because we do not want another XML sent across the system.  If we do not refresh the call_req table after updating the status (usually resolved to closed as well as updating times and inactive status) the scoreboard can reflect a different number than what is displayed upon clicking the query for the results.

    pdm_cache_refresh -t Call_Req

     

    Personally I would try to refresh the ca_contact table and see if that works to fix your scoreboard problem. (or any of the other associated tables)

    pdm_cache_refresh -t ca_contact



  • 8.  Re: Scoreboard showing incorrect count

    Posted Aug 10, 2017 01:22 PM

    I had this in mind for some time but haven't got a chance to do it yet since the issue keeps disappearing.

    Will execute these commands the next time I catch the issue.

    Thanks for sharing!