Ask the Community
Groups
Tip: Create an Action Profile via the BVE API - Connect IT Community | Kaseya
<main> <article class="userContent"> <p><strong>QUESTION</strong></p> <p>How to create an Action Profile via the BVE API.</p> <p> </p> <p><strong>RESOLUTION</strong></p> <p>First, create a file containing the BVE API command with all the necessary parameters, and copy this file to a convenient location on the Traverse BVE server (e.g. the installation folder):</p> <pre class="code codeBlock" spellcheck="false" tabindex="0">action.create "actionname=Sample Action", "description=Apply this action profile to one or more tests to receive notification", "method1=email", "method2=email", "notifyafter1=1c", "notifyafter2=60m", "notifyon1=ok,warning,critical", "notifyon2=critical", "recipient1=Administrator@SJO-TRAVERSE01", "recipient2=it_admin@your.company.com", "repeat1=0c", "repeat2=0c", "schedulename1=Default Schedule", "schedulename2=Default Schedule"</pre> <p> </p> <p>Next invoke the 'bveCLI' tool with the credentials of a user in the department in which the Action Profile is to be used:</p> <pre class="code codeBlock" spellcheck="false" tabindex="0">cd TRAVERSE_HOME # Substitute the actual installation folder<br>utils/bveCLI.pl --host traverse.acme.com --username bob --password traverse --input create_action.txt</pre> <p> </p> <p>where 'TRAVERSE_HOME\create_action.txt;' contains the command.</p> <p> </p> <p><strong>APPLIES TO </strong></p> <p>All versions of Traverse.</p> <p> </p> <p><strong>REFERENCE </strong></p> <p>None.</p> </article> </main>