Clear Trigerred CIs queue

Hello Dear Community,

How can I clear the queue of triggered Cis of an inventory job ?

 

florian_miceli_0-1580979718034.png

 

I need to clear all the triggered CIs. Is this JMX method work ?

UCMDB:service=Topology Search Services ==> clearJobQueue

 

Thanks in advance.

Parents Reply Children
  • Yes but i can't stop the job for production reason.

  • then what do you mean to clear the queue. The queue is there, because the Inventory Job is in state "PARKING", waiting to connect to the Host behind. This process goes for 14 days when it times out and new triggering is done. 

    The CIs stay in the queue since this is the way Inventory scanning works. Eventually if you want to change this behaviour, you can modify the maxRetry on the workflow step in the Inventory Adapter:

    <step name="Scanner Connect" failure-policy="mandatory">
    <module type="jython">ScannerConnect.py</module>
    <timeoutParking>
    <initialTimeout>300000</initialTimeout>
    <retriesThreshold>10</retriesThreshold>
    <multipleBy>2</multipleBy>
    <maxRetry>210</maxRetry>
    <timeoutThreshold>7200000</timeoutThreshold>
    </timeoutParking>
    </step>

     

    However I don't recommend it.

    Regards,

    Petko Popadiyski

    Freelance Microfocus CMS UCMDB Consulting

  • Verified Answer

    I agree, Stop and Start the Inventory Discovery by Scanner job.

    The danger with this approach is that you will get 2 scan files from the same host within the same scan cycle period. For example, you already got a scan file on Monday but you stop and restart the job on Thursday you will get another scan on or after Thursday.