Ask the Community
Groups
Tip: Using test.update BVE API command - Connect IT Community | Kaseya
<main> <article class="userContent"> <p><strong>QUESTION</strong></p> <p>How to use the test.update BVE API command.</p> <p> </p> <p><strong>RESOLUTION</strong></p> <p>In general - each test.update may be different depending on testType.</p> <p>So for instance, the update command for testType xen is:</p> <div> <pre class="code codeBlock" spellcheck="false" tabindex="0">Test.update "testName=" | "testSerial=", "testType=xen", ["deviceName="], ["shadowWarningThreshold="], ["shadowCriticalThreshold="], ["slaThreshold="], ["interval="], ["warningThreshold="], ["criticalThreshold="], ["units="], ["actionName="], ["userName="], ["resultMultiplier="], ["resultProcessDirective="], ["maxValue="], ["xmlQuery="], ["resultExpression="], ["subType="], ["servletPath="], ["flapPreventionWaitCycles="], ["thresholdType="], ["timeStampMultiplier="], ["testGroup="], ["userName="], ["testResultMultiplier="], ["password="], ["loginName="], ["port="], ["protocol="], ["servletPath="]</pre> </div> <p> </p> <p>whereas the update command for testtype snmp is</p> <div> <pre class="code codeBlock" spellcheck="false" tabindex="0"> Test.update "testName=" | "testSerial=", "testType=snmp", ["deviceName="], ["shadowWarningThreshold="], ["shadowCriticalThreshold="], ["slaThreshold="], ["interval="], ["warningThreshold="], ["criticalThreshold="], ["units="], ["actionName="], ["userName="], ["resultMultiplier="], ["resultProcessDirective="], ["maxValue="], ["subType="], ["snmpOId="], ["flapPreventionWaitCycles="], ["thresholdType="]</pre> </div> <p> </p> <p>Notice that each command supports specific attributes. Some are common to all test types - such as warningThreshold, while others are specific to the test type in question</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> <div> </div> </article> </main>