graph custom oids via snmp
Pablo <[email protected]>
| Newsgroups | gmane.network.opennms.general |
|---|---|
| Message-ID | <[email protected]> |
Hello,
I have opennms-20.0.1-1 on centos 7 and try graph via snmp two custom
oids. I did some configuration as below but there is no rrd or jrb files
connected with my oids here : /opt/opennms/share/rrd/snmp/*
I see interfaces graphs. Thanks for help or any clue
oid_1:
.1.3.6.1.4.1.2636.3.5.1.1.5.8.110.101.116.105.97.95.105.110.9.78.69.84.65.82.84.95.73
oid_2:
.1.3.6.1.4.1.2636.3.5.1.1.5.9.110.101.116.105.97.95.111.117.116.10.78.69.84.65.82.84.95.79.85.84
# cat datacollection/netart.xml
<?xml version="1.0"?>
<datacollection-group name="netart">
<group name="my-oids" ifType="all">
<mibObj
oid=".1.3.6.1.4.1.2636.3.5.1.1.5.8.110.101.116.105.97.95.105.110.9.78.69.84.65.82.84.95.73"
instance="78" alias="netartin" type="counter" />
<mibObj
oid=".1.3.6.1.4.1.2636.3.5.1.1.5.9.110.101.116.105.97.95.111.117.116.10.78.69.84.65.82.84.95.79.85"
instance="84" alias="netartout" type="counter" />
</group>
<systemDef name="net-snmp netart">
<sysoidMask>.1.3.6.1.4.1.2636.</sysoidMask>
<collect>
<includeGroup>my-oids</includeGroup>
</collect>
</systemDef>
</datacollection-group>
# cat collectd-configuration.xml
<package name="example1">
<filter>IPADDR != '0.0.0.0'</filter>
<service name="SNMP" interval="300000" user-defined="false"
status="on">
<parameter key="collection" value="default"/>
<parameter key="thresholding-enabled" value="true"/>
</service>
</package>
<collector service="SNMP"
class-name="org.opennms.netmgt.collectd.SnmpCollector"/>
------------------------------------------------------------------------------
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