Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Wed Jul 17, 2019 10:19 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Redback SE400 Template Help
PostPosted: Thu Jan 03, 2008 10:38 am 
Offline

Joined: Fri Nov 16, 2007 2:00 pm
Posts: 7
Hi I'm trying to construct an indexed snmp data query with a complex index. To be honest I've tried constructing all types of regexp statements to parse the index with no hope. I guess I'm just limited in ideas in regexp. Can someone give an idea even a solution for constructing an snmp data query for the following ?


Explanation:

We a broadband router from Redback Networks that has a context table, and we have a different table with the amout of subscribers active per contexts in a different mib tree. See below:

This is context table:
Code:
.1.3.6.1.6.3.16.1.1.1.1.3.80.80.80 = STRING: PPP
.1.3.6.1.6.3.16.1.1.1.1.5.108.111.99.97.108 = STRING: local
.1.3.6.1.6.3.16.1.1.1.1.7.77.71.84.95.73.65.68 = STRING: MGT_IAD
.1.3.6.1.6.3.16.1.1.1.1.8.77.83.86.95.83.85.80.49 = STRING: SUP1
.1.3.6.1.6.3.16.1.1.1.1.8.79.80.84.53.95.76.78.83 = STRING: OPT5_LNS
.1.3.6.1.6.3.16.1.1.1.1.11.86.79.73.88.95.84.82.65.70.73.67 = STRING: VOIX_TRAFIC
.1.3.6.1.6.3.16.1.1.1.1.13.86.73.68.69.79.95.85.78.73.67.65.83.84 = STRING: VIDEO_UNICAST
.1.3.6.1.6.3.16.1.1.1.1.15.77.83.86.95.83.85.80.69.82.86.73.83.73.79.78 = STRING: SUPERVISION
.1.3.6.1.6.3.16.1.1.1.1.19.77.83.86.95.73.78.84.69.82.78.69.84.95.71.76.79.66.65.76 = STRING: INTERNET_GLOBAL


And this is the subscribers table:

Code:
.1.3.6.1.4.1.2352.2.27.1.2.1.1.1.3.80.80.80 = Gauge32: 3207
.1.3.6.1.4.1.2352.2.27.1.2.1.1.1.5.108.111.99.97.108 = Gauge32: 0
.1.3.6.1.4.1.2352.2.27.1.2.1.1.1.7.77.71.84.95.73.65.68 = Gauge32: 0
.1.3.6.1.4.1.2352.2.27.1.2.1.1.1.8.77.83.86.95.83.85.80.49 = Gauge32: 0
.1.3.6.1.4.1.2352.2.27.1.2.1.1.1.8.79.80.84.53.95.76.78.83 = Gauge32: 0
.1.3.6.1.4.1.2352.2.27.1.2.1.1.1.11.86.79.73.88.95.84.82.65.70.73.67 = Gauge32: 0
.1.3.6.1.4.1.2352.2.27.1.2.1.1.1.13.86.73.68.69.79.95.85.78.73.67.65.83.84 = Gauge32: 0
.1.3.6.1.4.1.2352.2.27.1.2.1.1.1.15.77.83.86.95.83.85.80.69.82.86.73.83.73.79.78 = Gauge32: 0
.1.3.6.1.4.1.2352.2.27.1.2.1.1.1.19.77.83.86.95.73.78.84.69.82.78.69.84.95.71.76.79.66.65.76 = Gauge32: 0


How can I construct the REGEXP for the SNMP Data Query ?

Thanks for your help guys!

cookiemonster


Top
 Profile  
 
 Post subject: Re: Redback SE400 Template Help
PostPosted: Tue Jan 08, 2008 9:11 am 
Offline

Joined: Fri Nov 16, 2007 2:00 pm
Posts: 7
no news ? I'm still continuing my tests. Thanks in advance for your help.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 08, 2008 10:12 am 
Offline
Cacti User

Joined: Wed Jul 13, 2005 4:50 pm
Posts: 135
I am far from being an expert in xml dataquery as I didn't wrote one myself yet, but did you try something like this ?

Code:
<oid_index>.1.3.6.1.6.3.16.1.1.1.1</oid_index>
<oid_index_parse>OID/REGEXP:^\.1\.3\.6\.1\.6\.3\.16\.1\.1\.1\.1\.(.+)$</oid_index_parse>


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 15, 2008 4:19 pm 
Offline

Joined: Sat Mar 15, 2008 4:01 pm
Posts: 1
[edit]


Last edited by mjuliaq on Mon Apr 27, 2009 11:02 am, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 12, 2009 5:01 am 
Offline

Joined: Tue Feb 10, 2009 9:47 am
Posts: 10
Location: Russia, RnD
I have Redback routers in my network and want to monitor it with cacti. Anybody have working templates for rb? )


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group