Package org.rhq.plugins.www.snmp

Examples of org.rhq.plugins.www.snmp.SNMPValue


                    if (snmpValues.isEmpty()) {
                        LOG.error("No values found for MIB name [" + mibName + "].");
                        continue;
                    }

                    SNMPValue snmpValue = snmpValues.get(0);
                    boolean valueIsTimestamp = isValueTimestamp(mibName);

                    if (LOG.isDebugEnabled()) {
                        LOG.debug("Collected SNMP metric [" + mibName + "], value = " + snmpValue);
                    }
View Full Code Here


        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")
View Full Code Here

TOP

Related Classes of org.rhq.plugins.www.snmp.SNMPValue

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.