Highlighted
Honored Contributor.. Honored Contributor..
Honored Contributor..
454 views

How to ACTIVATE discovery activity WITHOUT running it immediately ?

Jump to solution

Hello,

please is there any way (or setting) how to ACTIVATE  discovery activity only (i.e. WITHOUT running it immediately after activation) ? OOB when I activate a discovery activity the activity is triggered immediately to run - which is pretty annoying in enterprise environment where we need to activate it only and let it be triggered based on its schedule (and not immediatelly). Thank you for your tips or hints. Ivan

0 Likes
1 Solution

Accepted Solutions
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: How to ACTIVATE discovery activity WITHOUT running it immediately ?

Jump to solution

You are not going to touch the scheduling this way. There are two ways to run a discovery:

1. On scheduler.

2. On recalculating TQL and finding a new CIs appearing in the result.

By default most of the jobs use both of the methods in order to make the discovery fastest as possible. 

When you disable a job, it deactivates the TQL and when subsequently you enable it, the TQL is activated and all the results are being added directly to the discovery because of (2). 

If you don't like this behaviour, you can always disable the option:

sched.PNG

The downside of this solution is that if another jobs find the prerequisites for this one, you will wait until the next scheduled period the results to appear.

Regards,

Petko

Likes are appreciated!

View solution in original post

4 Replies
Highlighted
Super Contributor.. Super Contributor..
Super Contributor..

Re: How to ACTIVATE discovery activity WITHOUT running it immediately ?

Jump to solution

If you have the activity scheduled and if you do not have the "invoke immediately with new triggered ci" box marked it should not run. Another way is to disable the probe's on the trigger queries under the properties tab.

Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: How to ACTIVATE discovery activity WITHOUT running it immediately ?

Jump to solution

Yep, tslane solution should work

Likes are appreciated!
0 Likes
Highlighted
Honored Contributor.. Honored Contributor..
Honored Contributor..

Re: How to ACTIVATE discovery activity WITHOUT running it immediately ?

Jump to solution

Hello,

thank you for hint. But does it mean that there is now way how to achieve this without scheduling and triggering affected ? I meant something like JMX parameter or some setting in config file. This  would be the most convenient solution. We often need tuning the activities (e.g. to postone it or temporarilly disable) without touching scheuling or triggering option. Thank you Ivan

0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: How to ACTIVATE discovery activity WITHOUT running it immediately ?

Jump to solution

You are not going to touch the scheduling this way. There are two ways to run a discovery:

1. On scheduler.

2. On recalculating TQL and finding a new CIs appearing in the result.

By default most of the jobs use both of the methods in order to make the discovery fastest as possible. 

When you disable a job, it deactivates the TQL and when subsequently you enable it, the TQL is activated and all the results are being added directly to the discovery because of (2). 

If you don't like this behaviour, you can always disable the option:

sched.PNG

The downside of this solution is that if another jobs find the prerequisites for this one, you will wait until the next scheduled period the results to appear.

Regards,

Petko

Likes are appreciated!

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.