resourceContext.getParentResourceComponent().deleteEmptyFile(tree, deletedNode);
}
private void collectSnmpMetric(MeasurementReport report, int primaryIndex, SNMPSession snmpSession,
MeasurementScheduleRequest schedule) throws SNMPException {
SNMPValue snmpValue = null;
String metricName = schedule.getName();
int dotIndex = metricName.indexOf('.');
String mibName;
if (dotIndex == -1) {
// it's a service metric (e.g. "wwwServiceName") or a summary metric (e.g. "wwwSummaryInRequests")