Templates to Cisco uBR (SNR, FEC, Modems Ups, Interf Utiliz)

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

Moderators: Developers, Moderators

Hitch
Posts: 29
Joined: Thu Jul 26, 2007 8:17 am

Re: Templates to Cisco uBR (SNR, FEC, Modems Ups, Interf Uti

Post by Hitch »

Glad I could help!
Roger
lazghoul
Posts: 4
Joined: Thu Apr 24, 2014 9:32 am

Re: Templates to Cisco uBR (SNR, FEC, Modems Ups, Interf Uti

Post by lazghoul »

Hitch wrote:I'm not sure what you mean by relating amount of modems to the snr, they aren't related to each other.
What exactly are you looking to do?

On the 18 ubrs I take care of, on each interface (mac domain) I look at the following with Cacti:

1. Modems per interface
2. Modems per upstream
3. Upstream traffic
4. Upstream snr, including fec errors, both correctable and uncorrectable.
5. Downstream traffic (per downstream channel, as well as combined along with wideband).
Sometimes look at upstream utilization and upstream frequency.

This information is most certainly enough information to determine where to start looking for problems.

Roger

edit reason: maybe make an english sentence, duh!
Would you mind sending me via email your templates for both data and graphs? I have been trying to rebuild a new install of cacti on a new server and i cant import half my old templates. i was running a to old version i guess. But i really need the fec to work and with my old version it was broken. Send it to jasonkack at gmail dot com please
lucashmz
Posts: 1
Joined: Fri Sep 12, 2014 1:12 pm

Re: Templates to Cisco uBR (SNR, FEC, Modems Ups, Interf Uti

Post by lucashmz »

I can't download the news templates for FEC

The following link is broking:

http://forums.cacti.net/download.php?id=3886

Has anyone have this template??
Hitch
Posts: 29
Joined: Thu Jul 26, 2007 8:17 am

Re: Templates to Cisco uBR (SNR, FEC, Modems Ups, Interf Uti

Post by Hitch »

Here are the templates I use.

I had to rar them as this site sees the individual files as a virus of some sort.

Hopefully they will work for you.

These are exported from version 0.8.8.a

cisco-fec-xml-graph-and-data.rar
(6.66 KiB) Downloaded 463 times
lazghoul
Posts: 4
Joined: Thu Apr 24, 2014 9:32 am

Re: Templates to Cisco uBR (SNR, FEC, Modems Ups, Interf Uti

Post by lazghoul »

Hey Hitch, can you resend to me your graph, data and host templates for anything regarding cisco cmts?

im rebuilding a new cacti install and would love to start on the good foot. send it to my gmail

jasonkack then add and at then gmail then dot com ;)

Thanks
Hitch
Posts: 29
Joined: Thu Jul 26, 2007 8:17 am

Re: Templates to Cisco uBR (SNR, FEC, Modems Ups, Interf Uti

Post by Hitch »

Sorry I'm so late, hopefully you received the files.
lazghoul
Posts: 4
Joined: Thu Apr 24, 2014 9:32 am

Re: Templates to Cisco uBR (SNR, FEC, Modems Ups, Interf Uti

Post by lazghoul »

i got it all up ecept the fec i cant get to work.
im now running 0.8.8a and im still getting the same old error i was alway getting when playing with FEC
RRDTool Says:

ERROR: invalid rpn expression in: b,100,*,,/

here is the debug output:

RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start='-86400' \
--end='-300' \
--title=' uBR10012 - FEC - Cable5/0/0-upstream0 - FEQ 21.6' \
--rigid \
--base='1000' \
--height='150' \
--width='600' \
--upper-limit='5' \
--lower-limit='0' \
--vertical-label='CodeWords % | SNR' \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a='/var/lib/cacti/rra/8/5974.rrd':'cisco_up_Unerroreds':AVERAGE \
DEF:b='/var/lib/cacti/rra/8/5974.rrd':'cisco_up_Correcteds':AVERAGE \
DEF:c='/var/lib/cacti/rra/8/5974.rrd':'cisco_up_Uncorrecta':AVERAGE \
DEF:d='/var/lib/cacti/rra/8/5974.rrd':'cisco_up_snr_fec':AVERAGE \
CDEF:cdefa='a,100,/' \
CDEF:cdeff='b,10,/' \
CDEF:cdefbc='TIME,1414768613,GT,a,a,UN,0,a,IF,IF,TIME,1414768613,GT,b,b,UN,0,b,IF,IF,TIME,1414768613,GT,c,c,UN,0,c,IF,IF,TIME,1414768613,GT,d,d,UN,0,d,IF,IF,+,+,+' \
CDEF:cdefbg='b,100,*,TIME,1414768613,GT,a,a,UN,0,a,IF,IF,TIME,1414768613,GT,b,b,UN,0,b,IF,IF,TIME,1414768613,GT,c,c,UN,0,c,IF,IF,TIME,1414768613,GT,d,d,UN,0,d,IF,IF,+,+,+,/' \
CDEF:cdefbj='c,100,*,TIME,1414768613,GT,a,a,UN,0,a,IF,IF,TIME,1414768613,GT,b,b,UN,0,b,IF,IF,TIME,1414768613,GT,c,c,UN,0,c,IF,IF,TIME,1414768613,GT,d,d,UN,0,d,IF,IF,+,+,+,/' \
CDEF:cdefcc='b,100,*,,/' \
CDEF:cdefcd='c,100,*,,/' \
CDEF:cdefce='d,100,/' \
AREA:cdefa#FFFFFFFF:'CW Error-Free\:' \
GPRINT:a:LAST:' Current\:%8.0lf' \
GPRINT:a:AVERAGE:'Average\:%8.0lf' \
GPRINT:a:MAX:'Maximum\:%8.0lf\n' \
LINE1:b#FFFFFFFF:'Corrected CW\:' \
GPRINT:cdeff:LAST:' Current\:%8.0lf' \
GPRINT:b:AVERAGE:'Average\:%8.0lf' \
GPRINT:b:MAX:'Maximum\:%8.0lf\n' \
LINE1:c#FFFFFFFF:'CW with errors\:' \
GPRINT:c:LAST:' Current\:%8.0lf' \
GPRINT:c:AVERAGE:'Average\:%8.0lf' \
GPRINT:c:MAX:'Maximum\:%8.0lf\n' \
COMMENT:'Total CWs' \
GPRINT:cdefbc:LAST:'Current\:%8.0lf' \
GPRINT:cdefbc:AVERAGE:'Average\:%8.0lf' \
GPRINT:cdefbc:MAX:'Maximum\:%8.0lf\n' \
GPRINT:cdefbg:LAST:'Correctable Current\:%10.3lf' \
GPRINT:cdefbg:AVERAGE:'Correctable Avg\:%10.3lf' \
GPRINT:cdefbg:MAX:'Correctable Max\:%10.3lf\n' \
GPRINT:cdefbj:LAST:'Uncorrectab Current\:%10.3lf' \
GPRINT:cdefbj:AVERAGE:'Uncorrectab Avg\:%10.3lf' \
GPRINT:cdefbj:MAX:'Uncorrectab Max\:%10.3lf\n' \
LINE3:cdefcc#00BF47FF:'Correctable in %\n' \
LINE3:cdefcd#FF4105FF:'Uncorrectab in %\n' \
LINE3:cdefce#3D168BFF:'SNR = Divided per 100 (3.00 = 30DB)' \
GPRINT:cdefce:LAST:'Current\:%8.2lf %s'

RRDTool Says:

ERROR: invalid rpn expression in: b,100,*,,/
Hitch
Posts: 29
Joined: Thu Jul 26, 2007 8:17 am

Re: Templates to Cisco uBR (SNR, FEC, Modems Ups, Interf Uti

Post by Hitch »

Ahh, edit or add the cdef in the attached screen print.
I remember there being a subtle change with the cdef between 8.7 and 8.8 with the fec.
Attachments
rpn-b.png
rpn-b.png (25.08 KiB) Viewed 4829 times
lazghoul
Posts: 4
Joined: Thu Apr 24, 2014 9:32 am

Re: Templates to Cisco uBR (SNR, FEC, Modems Ups, Interf Uti

Post by lazghoul »

i alreadyhad that cdef. the issue i was having is that there were some elements in my graph template with no datasources. i fixed that and mow my graph is learning. thanks for setting me on the right coarse. when you said to add the cdef i already had, then i figured there was a math issue. and the issue was and empty value caused by having no datasource.

Thanks
bergynator
Posts: 3
Joined: Thu May 21, 2015 9:58 am

Re: Templates to Cisco uBR (SNR, FEC, Modems Ups, Interf Uti

Post by bergynator »

I'm trying to import cacti_data_query_snmp_upstreams_snr.xml and I get this error:

Code: Select all

Import Results

Cacti has imported the following items:

CDEF
[success] Diviser par dix [update]

GPRINT Preset
[success] Normal [update]
[success] Exact Numbers [update]

Data Input Method
[success] Get SNMP Data (Indexed) [update]

Data Template
[success] Interface - Upstream SNR [update]

Graph Template
[success] Interface - Upstream SNR [update]

Data Query
[success] SNMP - Upstreams SNR [update]
   + Found Dependency: (Data Input Method) Get SNMP Data (Indexed)
   + Found Dependency: (Graph Template) Interface - Upstream SNR
   + Found Dependency: (Data Template) Interface - Upstream SNR
   + Found Dependency: (Data Template Item) cisco_ups_snr
   + Unmet Dependency: (Data Template)
The last line of Data Query have an Unmet Dependency.

Any idea?

Thanks
bergynator
Posts: 3
Joined: Thu May 21, 2015 9:58 am

Re: Templates to Cisco uBR (SNR, FEC, Modems Ups, Interf Uti

Post by bergynator »

Anyone can help me?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest