PDA

View Full Version : Export Of Device Status



tommy
December 15 2009, 02:51 AM
Hi,

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

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


Thanks

sysadmin
December 15 2009, 04:02 PM
This is a sample Perl script that uses BVE API server to retrieve list of devices and their current status. The output is provided as command separated values.

In order to run this script, place the script under plugin/utils directory and provide appropriate values for variables marked with SET THIS. Standard corporate disclaimer applicable.

tommy
December 16 2009, 03:35 AM
Thank you so much.... the script is working fine.