Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


How-to parse counters from snmp oid array (matrix)

 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
hipster



Joined: 16 Mar 2006
Posts: 16

PostPosted: Sun Apr 20, 2008 5:37 am    Post subject: How-to parse counters from snmp oid array (matrix) Reply with quote

Hi all!

My guestion is how to retrieve data from oid array of multiple indexes. Target mib structure is similar to this one:

Code:

SNMPv2-SMI::enterprises.2636.3.15.4.1.9.32.0 = Counter64: 18360545516037

SNMPv2-SMI::enterprises.2636.3.15.4.1.9.<ifIndex>.<CoS Class> = Counter64: 18360545516037


What I would like to do is graph per interface which includes all CoS Classes. I tried to find documentation how to do this with SNMP Data Query (xml). Unfortunatelly I did't find the peace of information I was looking for. Could be that I simply did't understand the maual...

Could anyone tell me how to do this? I already wrote about this issue to this post http://forums.cacti.net/viewtopic.php?t=24410 but I think this issue is more universal.

I already know how to e.g. creat one graph for each CoS for each hard coded interface oid index(xml file attached). This would end up to too many graphs with too little information.

Thanks.



juniper-cos-ge0.xml
 Description:
Fetch CoS counters from GE0

Download
 Filename:  juniper-cos-ge0.xml
 Filesize:  2.4 KB
 Downloaded:  23 Time(s)

Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12206
Location: Muenster, Germany

PostPosted: Sun Apr 20, 2008 2:13 pm    Post subject: Reply with quote

The answer was posted to the thread you've linked
Reinhard
Back to top
hipster



Joined: 16 Mar 2006
Posts: 16

PostPosted: Sun Apr 20, 2008 2:53 pm    Post subject: Reply with quote

Thanks a lot. I'll start to study.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group