Redback SE400 Template Help

Templates, scripts for templates, scripts and requests for templates.

Moderators: Moderators, Developers

Post Reply
Author
Message
umoorjani
Posts: 7
Joined: Fri Nov 16, 2007 2:00 pm

Redback SE400 Template Help

#1 Post by umoorjani » Thu Jan 03, 2008 10:38 am

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: Select all

.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: Select all

.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

umoorjani
Posts: 7
Joined: Fri Nov 16, 2007 2:00 pm

Re: Redback SE400 Template Help

#2 Post by umoorjani » Tue Jan 08, 2008 9:11 am

no news ? I'm still continuing my tests. Thanks in advance for your help.

Exo7
Cacti User
Posts: 135
Joined: Wed Jul 13, 2005 4:50 pm

#3 Post by Exo7 » Tue Jan 08, 2008 10:12 am

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: Select all

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

mjuliaq
Posts: 1
Joined: Sat Mar 15, 2008 4:01 pm

#4 Post by mjuliaq » Sat Mar 15, 2008 4:19 pm

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

_k4
Posts: 10
Joined: Tue Feb 10, 2009 9:47 am
Location: Russia, RnD
Contact:

#5 Post by _k4 » Thu Feb 12, 2009 5:01 am

I have Redback routers in my network and want to monitor it with cacti. Anybody have working templates for rb? )

Post Reply