Highlighted
Trusted Contributor.. Trusted Contributor..
Trusted Contributor..
107 views

Clear Trigerred CIs queue

Jump to solution

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.

0 Likes
1 Solution

Accepted Solutions
Outstanding Contributor.
Outstanding Contributor.

Re: Clear Trigerred CIs queue

Jump to solution

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.

View solution in original post

4 Replies
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Clear Trigerred CIs queue

Jump to solution

Stop/Start of the job?

Likes are appreciated!
Highlighted
Trusted Contributor.. Trusted Contributor..
Trusted Contributor..

Re: Clear Trigerred CIs queue

Jump to solution

Yes but i can't stop the job for production reason.

0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Clear Trigerred CIs queue

Jump to solution

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

Likes are appreciated!
Outstanding Contributor.
Outstanding Contributor.

Re: Clear Trigerred CIs queue

Jump to solution

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.

View solution in original post

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.