Ask the Community
Groups
Tip: Enable test parameter rediscovery via the BVE API - Connect IT Community | Kaseya
<main> <article class="userContent"> <p><strong>QUESTION</strong></p> <p>How to enable test parameter rediscovery?</p> <p> </p> <p><strong>RESOLUTION</strong></p> <p>A convenient way to access the BVE API is to utilize the BVE CLI utility with an input file containing one or more commands. For example, from the TRAVERSE_HOME directory on the BVE:</p> <pre class="code codeBlock" spellcheck="false" tabindex="0">utils\bveCLI.pl --host 127.0.0.1 --username superuser --password traverse --input commands.txt</pre> <p>where 'commands.txt' contains the BVE API commands. </p> <p><strong>Note:</strong> The commands will be run against all devices visible to the user specified (--username) unless the BVE API command parameter 'userName' is used to represent a department user (see example below).</p> <p>Here are example BVE API commands to configure test parameter rediscovery:</p> <ul><li>Enable rediscovery to update and log tests every 5 days (in minutes) for device named 'Windows Server'</li> </ul><pre class="code codeBlock" spellcheck="false" tabindex="0">device.update "devicename=Windows Server", "rediscoveryEnabled=true", "rediscoveryNewTestsAction=ignore", "rediscoveryUpdatedTestsAction=updateAndLog", "rediscoveryDeletedTestsAction=ignore", "rediscoveryFrequency=7200" </pre> <ul><li>Enable rediscovery for all devices to which your login has access (wildcard value for device name)</li> </ul><pre class="code codeBlock" spellcheck="false" tabindex="0">device.update "devicename=*", "rediscoveryEnabled=true", "rediscoveryNewTestsAction=ignore", "rediscoveryUpdatedTestsAction=updateAndLog", "rediscoveryDeletedTestsAction=ignore", "rediscoveryFrequency=7200" </pre> <ul><li>As a superuser, represent user 'kaseya' then enable rediscovery for all devices in her department</li> </ul><pre class="code codeBlock" spellcheck="false" tabindex="0">device.update "devicename=*", "rediscoveryEnabled=true", "rediscoveryNewTestsAction=ignore", "rediscoveryUpdatedTestsAction=updateAndLog", "rediscoveryDeletedTestsAction=ignore", "rediscoveryFrequency=7200", "userName=kaseya" </pre> <p> </p> <p><strong>APPLIES TO </strong></p> <p>All versions of Traverse.</p> <p><strong>REFERENCE </strong></p> <p>None.</p> <div> </div> </article> </main>