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

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

Moderators: Moderators, Developers

Author
Message
Spark
Posts: 15
Joined: Wed Jan 26, 2005 6:48 am

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

#1 Post by Spark » Thu Nov 17, 2005 1:08 pm

Hi all,
I made some templates Cisco uBR, the templates are:

Edited 1/12/2005

Interface Upstream SNR/FEC
Interface Upstream SNR
Interface Upstream Modems per Upstream
Interface Upstream Utilization
Interface Upstream UGS
Interface Utilization

You need to put in cacti/resource/snmp_queries/ the files:
snmp_queries/cable_interface_bw.xml
snmp_queries/modem_upstreams.xml
snmp_queries/upstream_fec.xml
snmp_queries/upstream_ugs_utilization.xml
snmp_queries/upstream_utilization.xml
snmp_queries/upstream_snr.xml (changed from upstreams_snr.xml to upstream_snr.xml)

And import template:
cacti_data_query_snmp_fec_upstream.xml
cacti_data_query_snmp_interface_bandwidth_utilization.xml
cacti_data_query_snmp_modems_per_upstreams.xml
cacti_data_query_snmp_ugs_upstream.xml
cacti_data_query_snmp_upstreams_snr.xml
cacti_data_query_snmp_upstreams_utilization.xml

The files have all the dependecies (Graph Templates, etc)

Exported from Version 0.8.6g and tested in a new instalation "Version 0.8.6g" and its working.

I hope its working for you ppl :D

Another change to see all the name, title etc... in Settings/Visual:
Graph Management
Maximum Title Length = 100 or more
Data Queries
Maximum Field Length = 100 or more
Data Sources
Maximum Title Length = 100 or more

#
You can check this Doc to understand better de SNR and FEC:
http://www.cisco.com/en/US/tech/tk86/tk ... 1a71.shtml
#

Thanks

Graph
Attachments
fec.jpg
fec.jpg (46.94 KiB) Viewed 50809 times
bw_modems_utilization.jpg
bw_modems_utilization.jpg (82.38 KiB) Viewed 50809 times
Cisco uBR Templates.zip
(25.85 KiB) Downloaded 4825 times
Last edited by Spark on Thu Dec 01, 2005 5:59 pm, edited 4 times in total.

Spark
Posts: 15
Joined: Wed Jan 26, 2005 6:48 am

#2 Post by Spark » Thu Nov 17, 2005 1:10 pm

More graphs
Attachments
cacti_ugs.JPG
Interface Upstream UGS
cacti_ugs.JPG (47.22 KiB) Viewed 51187 times
cacti_snr.JPG
Interface Upstream SNR
cacti_snr.JPG (42 KiB) Viewed 51187 times

qhasxeem
Posts: 4
Joined: Tue Oct 11, 2005 2:45 pm

#3 Post by qhasxeem » Thu Nov 17, 2005 5:29 pm

Sorry I'm just a noob cacti user.

1. I placed the XML files in my {HOME}/cacti/resource/snmp_queries folder
2. Then I used CACTI --> Import Templates --> and imported all the templates with cacti*.

3. Then what?

I'm not seeing the templates in cacti? Am I missing a step?

Spark
Posts: 15
Joined: Wed Jan 26, 2005 6:48 am

#4 Post by Spark » Fri Nov 18, 2005 6:53 am

Hi,
Than you can add devices :D

The files to put in {HOME}/cacti/resource/snmp_queries folder is:

snmp_queries/cable_interface_bw.xml
snmp_queries/modem_upstreams.xml
snmp_queries/upstream_fec.xml
snmp_queries/upstream_ugs_utilization.xml
snmp_queries/upstream_utilization.xml
snmp_queries/upstream_snr.xml (changed from upstreams_snr.xml to upstream_snr.xml)

And import template:
cacti_data_query_snmp_fec_upstream.xml
cacti_data_query_snmp_interface_bandwidth_utilization.xml
cacti_data_query_snmp_modems_per_upstreams.xml
cacti_data_query_snmp_ugs_upstream.xml
cacti_data_query_snmp_upstreams_snr.xml
cacti_data_query_snmp_upstreams_utilization.xml


I will test the templates in a new cacti instalation to check if are errors :P

Thanks
Last edited by Spark on Thu Dec 01, 2005 5:45 pm, edited 1 time in total.

speed
Posts: 3
Joined: Wed Oct 20, 2004 9:35 pm

Re: Templates to Cisco uBR (SNR, FEC, Modems Ups, Intf. Uti)

#5 Post by speed » Tue Nov 22, 2005 3:57 pm

I'm trying to import these into Version 0.8.6g and there's no error, but none of these seem to import. Any thoughts on this?

Thanks
Spark wrote:Hi all,
I made some templates Cisco uBR, the templates are:

Interface Upstream SNR/FEC
Interface Upstream SNR
Interface Upstream Modems Upstream
Interface Upstream Utilization
Interface Upstream UGS
Interface Utilization

You need to put in cacti/resource/snmp_queries/ the files:
cable_interface_bw.xml
modem_upstreams.xml
upstream_fec.xml
upstream_ugs_utilization.xml
upstream_utilization.xml
upstreams_snr.xml

And import template:
cacti_graph_template_interface_downstream_bw.xml
cacti_graph_template_interface_modems_por_upstream.xml
cacti_graph_template_interface_ugs.xml
cacti_graph_template_interface_upstream_fec.xml
cacti_graph_template_interface_upstream_snr.xml
cacti_graph_template_interface_upstream_utilization.xml

Exported from Version 0.8.6e

Thanks

Graph

Spark
Posts: 15
Joined: Wed Jan 26, 2005 6:48 am

#6 Post by Spark » Thu Nov 24, 2005 4:55 am

Hi, I try and have the same problem.....
I will upgrade the cacti and export again from Version 0.8.6g

Thanks

ashvillerob
Posts: 7
Joined: Fri Feb 18, 2005 12:01 pm

Have you had a chance?

#7 Post by ashvillerob » Fri Nov 25, 2005 6:21 pm

Sparc-

Have you had a chance to upgrade Cacti and "re" export your templates yet. I would really like to try them also?

Thanks!

swen
Posts: 1
Joined: Mon Nov 28, 2005 9:55 am

#8 Post by swen » Mon Nov 28, 2005 9:58 am

Same here, I try to import the templates with 0.8.6f but no go. Tried to paste and also the browse way, but neither works. I really like to have this too.

Thanks,
- Swen

ashvillerob
Posts: 7
Joined: Fri Feb 18, 2005 12:01 pm

#9 Post by ashvillerob » Wed Nov 30, 2005 4:01 pm

I got tired of waiting and finally made my own SNR templates that I will share if anyone wants them. There are two issues though.

Number 1.....I have a mixture of line cards throughout my network (1x6S, 1x6U, 2x8U, and 5x20S) so I had to make several different data templates.

Number 2..... Since I did not know any other method to do this, I actually made an individual data template for every possible US interface which is used to poll the specefic mib for that interface. For example on a 1x6 card I made 24 seperate data templates to gather the data. Then I created a new Graph template for each line card and used the 6 coresponding data templates for the US SNR data source for each graph. So I end up with one graph for each line card which graphs all the related US interfaces SNR.

Again this is a lot of templates. Somewhere around 70. So I would encourage you to make your own from scratch rather than trying to figure mine out. I am sure there is a much, much simplier way. I am just not familiar with how to create a xml file to do this all in one step.

Spark
Posts: 15
Joined: Wed Jan 26, 2005 6:48 am

#10 Post by Spark » Wed Nov 30, 2005 6:03 pm

Hi,
Yes more one day and I upload all the templates

Sorry :O

Thanks

Spark
Posts: 15
Joined: Wed Jan 26, 2005 6:48 am

#11 Post by Spark » Thu Dec 01, 2005 6:03 pm

Hi,

I update the templates and you can try, I try and test with a new instalation Version 0.8.6g and works good :D

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

Thanks

cliff
Posts: 2
Joined: Thu May 18, 2006 1:56 pm

#12 Post by cliff » Thu May 18, 2006 2:05 pm

These templates work greate except it cuts off on Upstream# at upstre.
So if I had a graph it would be titled like this
"area name - UBR - SNR - Cable1/0-upstre" it doesn't add the upstream port number. Did you do anything special to fix this?

cliff
Posts: 2
Joined: Thu May 18, 2006 1:56 pm

#13 Post by cliff » Thu May 18, 2006 2:11 pm

If only I would have read your original post further. I fixed this by adding 100 to the field lengths. It works great. THANKS!

rrobbinstx
Posts: 1
Joined: Thu Sep 07, 2006 10:32 am
Location: Houston TX
Contact:

Works Great

#14 Post by rrobbinstx » Thu Sep 07, 2006 10:34 pm

All the graphs work great but I am also looking for a downstream utilization graph. Can anyone help?

fbrockerhoff
Posts: 7
Joined: Wed Oct 11, 2006 2:07 am

#15 Post by fbrockerhoff » Mon Oct 16, 2006 6:25 am

Hello,

I'm using Cacti 0.8.6c (Debian) and tried to import the templates, but got an error. I'm clicking on "Import Template", choosed the (local on my laptop based) first xml-file in the unzipped archiv and clicked on 'save'. Then an error message appeard: 'Error: XML: Hash version does not exist.'.

Any idea what I did wrong? EDIT: Does the templates only work with the cacti version they're taken from?

Regards,

Falk

Post Reply