Billion router template including SNR, line speed and att.

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

Moderators: Developers, Moderators

Post Reply
time
Posts: 32
Joined: Mon Jun 27, 2005 6:30 pm

Billion router template including SNR, line speed and att.

Post by time »

Hi All,

After reading through this thread:

http://forums.cacti.net/about11128-0-asc-0.html

I made up some graph templates to monitor the Signal to Noise Ratio (SNR) as well as Line Speed and Attenuation of my Billion router. I've tested this on a 7402VGP but the OIDs should be the same for all Billion routers. I've attached a host template which includes these three graph templates and the usual "SNMP - Interface Statistics" associated with it.

Screenshots are included below showing examples of these graphs, note that I included weekly graphs as the daily ones are pretty flat. Let me know if you have any questions!

Tim
Attachments
Example Signal to Noise Ratio graph
Example Signal to Noise Ratio graph
snr.png (31.65 KiB) Viewed 27339 times
Example Line Speed graph, this is ADSL2+
Example Line Speed graph, this is ADSL2+
line_speed.png (25.25 KiB) Viewed 27339 times
Example Line Attenuation graph
Example Line Attenuation graph
line_att.png (23.13 KiB) Viewed 27339 times
cacti_host_template_billion_router.xml
Billion router host template
(158.9 KiB) Downloaded 2491 times
Cougar
Posts: 9
Joined: Wed Apr 19, 2006 12:39 pm

Post by Cougar »

Hi there,

Just to let you know I have used this on my Billion 7402G and all works well.

I had to upgrade my cacti and what a nightmare.. got it working after a few hours though.

Is there anyone out there who is graphing current in/out speeds?

Thanks
cafuego
Posts: 1
Joined: Fri Jun 29, 2007 8:06 pm

Updated Template

Post by cafuego »

Tim's template does not generate any data to SNR/Attenuation/Line speed on my 7404. However, the correct OID numbers were fairly easy to spot in snmpwalk, so please find attached an updated template :-)
Attachments
cacti_host_template_billion_router_7404.xml
Template for 7404VGP-M
(157.72 KiB) Downloaded 2121 times
time
Posts: 32
Joined: Mon Jun 27, 2005 6:30 pm

OIDs have changed

Post by time »

Hi All,

The OIDs for obtaining these values seems to have changed in a recent firmware update (I'm now running 5.53 on my 7402) and the old template will give you a "WARNING: Result from SNMP not valid. Partial Result" message in the log file. If you start getting this message it is very simple to fix, just navigate to the data templates page and click on the first Billion data template (Billion - Downstream Attenuation). Decrement the last digit of the OID by one from 4 to 3, making it now equal to .1.3.6.1.2.1.10.94.1.1.2.1.5.3 then click save.

Repeat this for each of the data templates, decrement each one by one and all your graphs should be working again. :)
Gomo
Posts: 9
Joined: Sun Jul 17, 2005 4:04 am

Post by Gomo »

Thanks heaps cafuego!! I know this threads heaps old but thought I would push through a big thanks ;) :D

Oh if anyone wanted to see a live working demo check here ;)
http://gomo.ath.cx/cacti/graph_view.php ... &leaf_id=8
Gomo
Posts: 9
Joined: Sun Jul 17, 2005 4:04 am

Post by Gomo »

Hehe Back a few months later to say once again thank you! :) about 4 months after having my graphs working perfect.. my Hard drive died.. My Girlfriend came along, and I hadn't been able to get things running until now seeing as I have the free time from now and then :)

Anyone trying to find my graphs they are all here http://gomo.pointclark.net/export/

You should be able to find the modem graphs! I Must say they are very good!
demosthenes
Posts: 3
Joined: Sun Mar 22, 2009 1:13 am

can't get it to work

Post by demosthenes »

I have a Billion 7404-VGO-M modem and I can't get this to work. I am using Ubuntu and have installed Cacti and can confirm it appears to be working. I have successfully imported the template as instructed and the last digit also appears to already be '3' so I have not touched it. I just get the error that no SNMP data could be returned and extracted this from the debugging log. I am new to Cacti.

+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1'
+ No SNMP data returned
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/interface.xml'
demosthenes
Posts: 3
Joined: Sun Mar 22, 2009 1:13 am

Post by demosthenes »

response over here

http://forums.whirlpool.net.au/forum-re ... 1170864#r4

"These are for my 7404R2, I doubt they've changed, but it's possible.

Attenuation:
Downstream: .1.3.6.1.2.1.10.94.1.1.2.1.5.3
Upstream: .1.3.6.1.2.1.10.94.1.1.3.1.5.3

SNR:
Downstream: .1.3.6.1.2.1.10.94.1.1.2.1.4.3
Upstream: .1.3.6.1.2.1.10.94.1.1.3.1.4.3

Line Speed:
Downstream: .1.3.6.1.2.1.10.94.1.1.4.1.2.3
Upstream: .1.3.6.1.2.1.10.94.1.1.5.1.2.3

You might also find these useful:

Modem Uptime (time since boot): .1.3.6.1.2.1.1.3.0"

and here

http://au.billion.com/forums/index.php? ... st&p=66640

"From memory, the OIDs in the template aren't quite right (one of the numbers is one out.)

The OIDs I'm using are:
Downstream Attenuation: .1.3.6.1.2.1.10.94.1.1.2.1.5.3
Downstream SNR: .1.3.6.1.2.1.10.94.1.1.2.1.4.3
Downstream Speed: .1.3.6.1.2.1.10.94.1.1.4.1.2.3
Upstream Attenuation: .1.3.6.1.2.1.10.94.1.1.3.1.5.3
Upstream SNR: .1.3.6.1.2.1.10.94.1.1.3.1.4.3
Upstream Speed: .1.3.6.1.2.1.10.94.1.1.5.1.2.3"

All working in Cacti now - tool of choice! Now I just need to work out how to enter the other templates such as connect time, and do other cool stuff with Cacti
Chrysalis
Cacti User
Posts: 70
Joined: Fri Sep 19, 2008 10:14 am
Location: UK

Post by Chrysalis »

guys what I would really love to do is get the error rates graphed in cacti.

I have already looked at the snmpd treewalk and sadly snmpd is not monitoring it.

Meaning to get the errors I would have to.

telnet into router.
port a1 show.
grep the output to look for crc error line.
send the numeric value to cacti to graph.

This is beyond my skills I think, is it even going to be possible?

(a) the billion has no grep command so basically the full output from port a1 show would have to go back to the linux box hosting cacti and then grep is ran on it.
(b) the linux box would have to login to router on telnet, then issue command on router, then send output back to itself (somehow) before processing data.

or perhaps is possible to somehow make the snmpd provide the error values? I dont know if snmpd configuration is read only or not.

It is kick ass the billions can be graphed in cacti but seems a job half done by the billion devs in that you cant get all stats over snmpd.
demosthenes
Posts: 3
Joined: Sun Mar 22, 2009 1:13 am

Post by demosthenes »

yeah tell me about it - our 7404-VGO-M (latest firmware) went nuts today and a few weeks back dropping in and out while we're trying to make calls - very frustrating. I can graph SNR and see drops there, but error rates or something more helpful to identify any patterns would be very useful.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests