Describes, how to test custom Stream based collectors
To execute a sample test, you need to update the config.json to set required parameters such as hostname , 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 collector after the build package is done
./test_collector.sh --config=examples/custom_stream/trunk/blocks/collect/config.json --pkgfile=pkg/"package file name.pkg"
Example,
./test_collector.sh --config=examples/custom_stream/trunk/blocks/collect/config.json --pkgfile=pkg/custom-stream-1.0.pkg