if (counterTO.getSource().equals("snmp")) {
counterName = generateSnmpMetricName(counterName);
if (snmpMetrics.size() == 0) {
// Create Metric Table
//add lb metricTable lb_metric_table
lbmetrictable metricTable = new lbmetrictable();
try {
metricTable.set_metrictable(mtName);
lbmetrictable.add(_netscalerService, metricTable);
} catch (Exception e) {
// Ignore Exception on cleanup
if (!isCleanUp)
throw e;