PDA

View Full Version : Export List of Devices/Tests in a Container (API Usage Example)


rajib
01-15-2009, 07:22 PM
This is a sample Perl script that uses BVE API server to retrieve list of devices that are member of one or more containers and prints configured thresholds for tests for those devices. The script illustrates how to inspect the configuration of container, device and test objects.

In order to run this script, place the script under plugin/utils directory. Standard corporate disclaimer applicable.

tommy
12-15-2009, 06:33 AM
Hi,

Can there be any sample script which describes how to extract the status of individual devices using the BVE API in the following format:

"pc3", "critical"
"pc4", "warning"
"pc5", "OK"


Thanks

sysadmin
12-15-2009, 11:04 PM
A sample script is available within http://community.zyrion.com/showpost.php?p=217&postcount=2