Describes, how to test custom Vcenter based collectors

To execute a sample test, you need to update the config.json to set required parameters such as server address, username password . After the changes, you may run the below command line on a terminal to execute the test case.

Please follow the below steps to test the snmp vcenter collector after the build package is done

./test_collector.sh --config=examples/custom_vcenter/trunk/blocks/collect/config.json --pkgfile=pkg/"package file name.pkg"

Example,

./test_collector.sh --config=examples/custom_vcenter/trunk/blocks/collect/config.json --pkgfile=pkg/custom-vcenter-1.0.pkg