Tip: Using test.update BVE API command

QUESTION

How to use the test.update BVE API command.

 

RESOLUTION

In general - each test.update may be different depending on testType.

So for instance, the update command for testType xen is:

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="]

 

whereas the update command for testtype snmp is

 
Test.update "testName=" | "testSerial=", "testType=snmp", ["deviceName="], ["shadowWarningThreshold="], ["shadowCriticalThreshold="], ["slaThreshold="], ["interval="], ["warningThreshold="], ["criticalThreshold="], ["units="], ["actionName="], ["userName="], ["resultMultiplier="], ["resultProcessDirective="], ["maxValue="], ["subType="], ["snmpOId="], ["flapPreventionWaitCycles="], ["thresholdType="]

 

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

 

APPLIES TO 

All versions of Traverse.

 

REFERENCE

None.

 

Have more questions?

Contact us

Was this article helpful?
0 out of 0 found this helpful

Provide feedback for the Documentation team!

Browse this section