Describes, how to test custom SNMP based collectors

To execute a sample test, you need to update the config.json to set required parameters such as server address, tenant credentials, SSL certificate paths the URL path. 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 custom collector after the build package is done

./test_collector.sh --config=config.json --pkgfile=pkg/

Example,

./test_collector.sh --config=config.json --pkgfile=pkg/custom-snmp-1.0.pkg