Re: graph custom oids via snmp

Ronny Trommer <[email protected]>
Newsgroups gmane.network.opennms.general
Message-ID <[email protected]>
Hi,

can you please check the following things:

1. do you have included the datacollection/netart.xml file in your datacollection-config.xml?
2. the OID you want to collect is

	.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

	your config is

	<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" />

	where does the instance="78” comes from?

3. If you go to the “Node detail page" of your “netart” device, is there a system object ID shown which matches your  <sysoidMask>.1.3.6.1.4.1.2636.</sysoidMask>


> On 30. Aug 2017, at 00:28, Pablo <[email protected]> wrote:
> 
> 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

------------------------------------------------------------------------------
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
signature.asc (application/pgp-signature, 496 B)
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJZtYczAAoJEJB1suUIokUe1OYH/iqb+i1Lm2ifa5A1kD/aNwiM
xsYd1af56ElSetvmzf9bEd1/p3It8gUfqFw5aGOCFmbq6/HS2R39UKR3iBjD+KQw
tPZDyfb/OLfZ2gK8vYxrBd17nIoB9Yect1vEZRsPhmSb7usUjGOkfanEO5ZrOLh1
CIer83QuYa7mwqJIMVOMpM6QoHcRrv3evtpNc9hP+w9hHndvH9r9jt6U9c9seIAo
UuL9wcTvgvmDq7rsQ5yh3arEf3earU06rL9vJomoktm74O72yqG6ON/wSx9FTuVD
ZXVwvZWhupTJULGL/VxRy9Xs59OHKXAldusUcdqE4zk8iizSu3Bxs7+7lK1a2eI=
=HGhu
-----END PGP SIGNATURE-----
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.