I am attempting to monitor some SNMP variables on
a NetBotz environmental monitoring unit. I have been
successful monitoring some items but others are giving
me problems. Here is a portion of output from an snmpwalk
command which shows some of the variables I am having
problems with.

NETBOTZV2-MIB::dewPointSensorId.2617517747 = STRING: nbHawkEnc_1_DEW
NETBOTZV2-MIB::dewPointSensorId.2634294963 = STRING: nbHawkEnc_0_DEW
NETBOTZV2-MIB::dewPointSensorValue.2617517747 = INTEGER: 112
NETBOTZV2-MIB::dewPointSensorValue.2634294963 = INTEGER: 127
NETBOTZV2-MIB::dewPointSensorErrorStatus.2617517747 = INTEGER: normal(0)
NETBOTZV2-MIB::dewPointSensorErrorStatus.2634294963 = INTEGER: normal(0)
NETBOTZV2-MIB::dewPointSensorLabel.2617517747 = STRING: Dew Point
NETBOTZV2-MIB::dewPointSensorLabel.2634294963 = STRING: Dew Point
NETBOTZV2-MIB::dewPointSensorEncId.2617517747 = STRING: nbHawkEnc_1
NETBOTZV2-MIB::dewPointSensorEncId.2634294963 = STRING: nbHawkEnc_0
NETBOTZV2-MIB::dewPointSensorPortId.2617517747 = STRING:
NETBOTZV2-MIB::dewPointSensorPortId.2634294963 = STRING:
NETBOTZV2-MIB::dewPointSensorValueStr.2617517747 = STRING: 11.200000
NETBOTZV2-MIB::dewPointSensorValueStr.2634294963 = STRING: 12.700000
NETBOTZV2-MIB::dewPointSensorValueInt.2617517747 = INTEGER: 11
NETBOTZV2-MIB::dewPointSensorValueInt.2634294963 = INTEGER: 12
NETBOTZV2-MIB::dewPointSensorEntry.9.2617517747 = Counter32: 2617517747
NETBOTZV2-MIB::dewPointSensorEntry.9.2634294963 = Counter32: 2634294963

If I try to montitor dewPointSensorValueInt.2617517747 directly I get
strange errors in the OpenNMS logs. I finally decided that this was
because OIDs are supposed to be a series of integers and 2617517747
is too large to be stored as an integer. Is my assumption correct?
Is there any way that I can get OpenNMS to monitor this variable?

I have been successful in monitoring some variables. I am monitoring
and graphing the data from the temperature sensors for instance.

NETBOTZV2-MIB::tempSensorId.21604919 = STRING: nbHawkEnc_1_TEMP
NETBOTZV2-MIB::tempSensorId.1095346743 = STRING: nbHawkEnc_0_TEMP
NETBOTZV2-MIB::tempSensorValue.21604919 = INTEGER: 244
NETBOTZV2-MIB::tempSensorValue.1095346743 = INTEGER: 252
NETBOTZV2-MIB::tempSensorErrorStatus.21604919 = INTEGER: normal(0)
NETBOTZV2-MIB::tempSensorErrorStatus.1095346743 = INTEGER: normal(0)
NETBOTZV2-MIB::tempSensorLabel.21604919 = STRING: Temperature
NETBOTZV2-MIB::tempSensorLabel.1095346743 = STRING: Temperature
NETBOTZV2-MIB::tempSensorEncId.21604919 = STRING: nbHawkEnc_1
NETBOTZV2-MIB::tempSensorEncId.1095346743 = STRING: nbHawkEnc_0
NETBOTZV2-MIB::tempSensorPortId.21604919 = STRING:
NETBOTZV2-MIB::tempSensorPortId.1095346743 = STRING:
NETBOTZV2-MIB::tempSensorValueStr.21604919 = STRING: 24.400000
NETBOTZV2-MIB::tempSensorValueStr.1095346743 = STRING: 25.200000
NETBOTZV2-MIB::tempSensorValueInt.21604919 = INTEGER: 24
NETBOTZV2-MIB::tempSensorValueInt.1095346743 = INTEGER: 25
NETBOTZV2-MIB::tempSensorValueIntF.21604919 = INTEGER: 75
NETBOTZV2-MIB::tempSensorValueIntF.1095346743 = INTEGER: 77
NETBOTZV2-MIB::tempSensorEntry.10.21604919 = Counter32: 21604919
NETBOTZV2-MIB::tempSensorEntry.10.1095346743 = Counter32: 1095346743

I am currently monitoring tempSensorValueIntF.1095346743 directly, for
instance, with this entry in datacollection-config.xml:

<mibObj oid=".1.3.6.1.4.1.5528.100.4.1.1.1.9" instance="1095346743" alias="netBotz2-temp" type="INTEGER" />

I assume that this works because the instance value happens to fit
into an integer.

I would like to be able to monitor all of these sets of sensors using
Indexes rather than monitoring them directly. The leads me to the
problem of what MIB variable to use as an index. It seems that
tempSensorEntry.10 would be the correct Index variable for the
temperature sensors but how do I enter that into
datacollection-config.xml?

My feeling is that this NetBotz MIB is broken. Is there any hope for me?

--
patrick

Patrick Landry
Asst. V.P., Information Technology
University of Louisiana at Lafayette

begin:vcard
fn:Patrick Landry
n:Landry;Patrick
org:University of Louisiana at Lafayette
adr;dom:;;PO Box 42770;Lafayette;LA;70504
email;internet:[EMAIL PROTECTED]
title:Asst. V.P., Information Technology
tel;work:337-482-6402
x-mozilla-html:FALSE
version:2.1
end:vcard

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this 
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel

Reply via email to