Custom SNMP Collection
Gavin Hill <[email protected]> Thu, 27 Sep 2018 11:20:52 +0000
| Newsgroups | gmane.network.opennms.general |
|---|---|
| Message-ID | <HE1P190MB0234AE94331FB36A79404AE08B140@HE1P190MB0234.EURP190.PROD.OUTLOOK.COM> |
I'm trying to collect a temperature and battery voltage from an SNMP device.
I have added a datacollection group under "default" to datacollection-confg.xml
<include-collection dataCollectionGroup="MicroInstruments"/>
I have added a file under datacollection/
<datacollection-group xmlns="http://xmlns.opennms.org/xsd/config/datacollection" name="MicroInstruments">
<group name="battery" ifType="ignore">
<mibObj oid=".1.3.6.1.4.1.45501.1.3.4.0" instance="0" alias="batteryV" type="octetstring"/>
</group>
<group name="temp" ifType="ignore">
<mibObj oid=".1.3.6.1.4.1.45501.1.3.8.0" instance="0" alias="temperature" type="octetstring"/>
</group>
<systemDef name="MicroInstruments">
<sysoidMask>.1.3.6.1.4.1.45501</sysoidMask>
<collect>
<includeGroup>battery</includeGroup>
<includeGroup>temp</includeGroup>
</collect>
</systemDef>
</datacollection-group>
The node falls under the default "example1" package in collectd-configuration.xml
I'm still not seeing any data collected though. What part am I missing?
Gavin
--
Gavin Hill | Director
m: +27 83 601 8181
t: +27 10 020 5959
_______________________________________________
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
(unnamed)
(image/jpeg, 2.5 KB) - not displayed
(unnamed)
(image/jpeg, 2.5 KB) - not displayed
(unnamed)
(image/jpeg, 2.6 KB) - not displayed
(unnamed)
(image/jpeg, 2.5 KB) - not displayed
(unnamed)
(image/jpeg, 3.3 KB) - not displayed