Collecting data without SNMP-Interface

Reinhard Kuss <[email protected]>
Newsgroups gmane.network.opennms.general
Message-ID <[email protected]>
Hi folks,

I've a rather odd problem with a node. It has no IF-MIB, but has some 
metrics I want to collect. Node responds to snmwalk, but it gives only 
some very basic data, like sysObjectID, location, name, etc. But no 
interface-data whatsoever. Therefore the "SNMP-Interfaces"-tab on the 
node-page is plain empty, only the "IP-Interfaces" lists the address.
The metrics I want to collect are visible to snmpwalk, even ONMS 
gets/builds the table in the RRD-directory correctly, with 
strings.properties filled with the description of every element of the 
table, etc..Have full debugging on collectd, the node doesn't show up 
there...

I assume the reason why the collection doesn't work is because of the 
missing primary *and* secondary snmp-interface. Can anybody confirm this?

So, the question is, how to convince ONMS to collect data with a missing 
primary and secondary interface?


Complaining their broken SNMP-Agent to the vendor, and convince them to 
fix this, is not an option here....


My datacollection-config (tried to change the StorageFlag to "all", did 
not help):
(non-relevant parts deleted...)

     <snmp-collection name="CHRISTIE" snmpStorageFlag="all">
         <include-collection dataCollectionGroup="CDS-PJTR-CP2220"/>
     </snmp-collection>


datacollection-group:

<resourceType name="cdcp2220TempSensorsEntry" 
label="cdcp2220TempSensorsEntry" resourceLabel="${cdc2220TempSensDevi}
       <persistenceSelectorStrategy 
class="org.opennms.netmgt.collection.support.PersistAllSelectorStrategy"/>
       <storageStrategy 
class="org.opennms.netmgt.collection.support.IndexStorageStrategy"/>
    </resourceType>


<group name="cdcp2220TempSensorsTable" ifType="ignore">
     <mibObj oid=".1.3.6.1.4.1.25766.1.12.1.2.2.2.1.1.1" 
instance="cdcp2220TempSensorsEntry" alias="cdc2220TempSensInde" 
type="integer32"/>
     <mibObj oid=".1.3.6.1.4.1.25766.1.12.1.2.2.2.1.1.2" 
instance="cdcp2220TempSensorsEntry" alias="cdc2220TempSensDevi" 
type="string"/>
     <mibObj oid=".1.3.6.1.4.1.25766.1.12.1.2.2.2.1.1.3" 
instance="cdcp2220TempSensorsEntry" alias="cdc222TemSenDioErro" 
type="integer32"/>
     <mibObj oid=".1.3.6.1.4.1.25766.1.12.1.2.2.2.1.1.4" 
instance="cdcp2220TempSensorsEntry" alias="cdc222TemSenLowLimi" 
type="integer32"/>
     <mibObj oid=".1.3.6.1.4.1.25766.1.12.1.2.2.2.1.1.5" 
instance="cdcp2220TempSensorsEntry" alias="cdc222TemSenUppLimi" 
type="integer32"/>
     <mibObj oid=".1.3.6.1.4.1.25766.1.12.1.2.2.2.1.1.6" 
instance="cdcp2220TempSensorsEntry" alias="cdc2220TempSensValu" 
type="gauge32"/>
  </group>


sysObjectID matches the node:

     <systemDef name="Christie CP2220">
<sysoidMask>.1.3.6.1.4.1.25766.1.12.1.2.</sysoidMask>
       <collect>
<includeGroup>cdcp2220TempSensorsTable</includeGroup>
       </collect>
     </systemDef>


Result of snmpwalk:
snmpwalk -c public -v 2c w.x.y.z if
IF-MIB::ifTable = No Such Object available on this agent at this OID

Example walk of instance 10:
snmpwalk -c public -v 2c w.x.y.z 1.3.6.1.4.1.25766.1.12.1.2.2.2.1.1.6.10
SNMPv2-SMI::enterprises.25766.1.12.1.2.2.2.1.1.6.10 = Gauge32: 27




Regards
Reinhard

-- 
Reinhard Kuss, office <at> edv-profi24 <dot> at

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.