Re: Get an SNMP OID and save it to rrd directory dont work

Ronald Roskens <[email protected]> Thu, 27 Feb 2014 15:06:43 -0600
Newsgroups gmane.network.opennms.install
Message-ID <[email protected]>
Silvio,

Try this instead:

<group name="exp_app" ifType="ignore">
  <mibObj oid=".1.3.6.1.4.1.2021.8.1.101" instance=“1" alias="expApp" type="string" />
</group>

The instance value is appended to the oid.

Ron

On Feb 27, 2014, at 6:22 AM, silvio mink <[email protected]> wrote:

> I'm now one step further, dont know exactly why (cause its very chaotic right now, i have definied a new collector in the datacollection-config.xml with one included group), but the collectd is requesting now this oid: :-)
>  
> 2014-02-27 11:06:18,270 DEBUG [DefaultUDPTransportMapping_xxx/0] SingleInstanceTracker: Requesting oid following: .1.3.6.1.4.1.2021.8.1.101.1
>  
> But there is still no rrd file.... And there is no other line with this oid, so i cant see, what happen...
>  
> I reckon there must be a line like this (in the next step):
> SingleInstanceTracker: Processing varBind: .1.3.6.1.4.1.15601.1.1.0 = 85900902
>  
> How i can figure out, what happen with this oid, which value are recevied from collectd?
>  
>  
> Gesendet: Mittwoch, 26. Februar 2014 um 18:09 Uhr
> Von: "silvio mink" <[email protected]>
> An: [email protected]
> Betreff: Get an SNMP OID and save it to rrd directory dont work
> Hi,
>  
> im want to get a custom OID with opennms, but it doesn work.
>  
> I want that opennms do this command and save the output (opennms is installed on this machine, its a ubuntu, the dbms machine is a SLES, suse linux enterprise server):
>  
> networking:/etc/opennms/datacollection# snmpget -On -v2c -c public dbms ".1.3.6.1.4.1.2021.8.1.101.1"
> .1.3.6.1.4.1.2021.8.1.101.1 = STRING: "294"
>  
> What i can do, to poll this value?! Nothing is working for me. :-( I have read all the howtos and wiki pages available....
>  
> My actually configuration:
>  
> extend ../datacollection/netsnmp.xml:
>  
>       <group name="exp_app" ifType="ignore">
>         <mibObj oid=".1.3.6.1.4.1.2021.8.1.101.1" instance="0" alias="expApp" type="string" />
>       </group>
> 
> And in all sysemDef's:
>  
> <includeGroup>exp_app</includeGroup>
>  
> But the collectd.log nothing says to this group and OID... Only this line appears:
> "2014-02-26 17:56:59,175 DEBUG [Collectd-Thread-18-of-50] DefaultDataCollectionConfigDao: processGroupName: OIDs from group 'exp_app:all' are included for ifType: -2"
>  
> Nothing more... no "expApp" rrd file...No informations about this OID.... Some other snmp values like "SysContext.jrb" or "memTotalFree.meta", "tcpOutSegs.jrb", "CpuRawNice.jrb" are saved...
>  
> What im maybe doing wrong? I have tried to compile some MIBs over the WebUI (ucd-snmp-mib and net-snmp-extend from the sles machine), but its change nothing... :-(
>  
>  
> Any help is very welcome
> Regards
>  
>  
> Silvio
>  
>  
> ------------------------------------------------------------------------------
> Flow-based real-time traffic analytics software. Cisco certified tool.
> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
> Customize your own dashboards, set traffic alerts and generate reports.
> Network behavioral analysis & security monitoring. All-in-one tool.
> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk_______________________________________________
> Please read the OpenNMS Mailing List FAQ:
> http://www.opennms.org/index.php/Mailing_List_FAQ
> 
> opennms-install mailing list
> 
> To *unsubscribe* or change your subscription options, see the bottom of this page:
> https://lists.sourceforge.net/lists/listinfo/opennms-install

------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk

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

opennms-install mailing list

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