Cisco ADSL info

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

Moderators: Developers, Moderators

PayableOnDeath
Posts: 18
Joined: Mon Jul 13, 2009 4:11 pm

Post by PayableOnDeath »

Hi

I have put this on my cacti but it doesnt seem to be working.
I am using cacti Version 0.8.7d
my router is a Cisco 877W

When I run Verbose Query I get the following output

Code: Select all

+ Running data query [13].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/adslLine.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.10.94.1.1.3.1.1'
+ Index found at OID: '.1.3.6.1.2.1.10.94.1.1.3.1.1.12' value: ''
+ index_parse at OID: '.1.3.6.1.2.1.10.94.1.1.3.1.1.12' results: '12'
+ Located input field 'adslIfIndex' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.10.94.1.1.3.1.1'
+ Found item [adslIfIndex='12'] index: 12 [from regexp oid parse]
+ Located input field 'adslAtucInvSerialNumber' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.10.94.1.1.3.1.1'
+ Found item [adslAtucInvSerialNumber=''] index: 12 [from value]
+ Located input field 'adslAtucInvVendorID' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.10.94.1.1.3.1.2'
+ Found item [adslAtucInvVendorID='STMI'] index: 12 [from value]
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/adslLine.xml'
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/adslLine.xml'
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/adslLine.xml'
I am guessing its something to do with the mibs?

any ideas?


Thanks

David
PayableOnDeath
Posts: 18
Joined: Mon Jul 13, 2009 4:11 pm

Post by PayableOnDeath »

Hi

Still cant seem to get this to graph

the poller cache shows

Code: Select all

Host: Home Router , SNMP Query: ADSL Line MIB
Index: 12 , Field Name: adslAtucInvVendorID , Field Value: STMI
OID: .1.3.6.1.2.1.10.94.1.1.3.1.2.12
Host: Home Router , SNMP Query: ADSL Line MIB
Index: 12 , Field Name: adslAtucInvSerialNumber , Field Value:
OID: .1.3.6.1.2.1.10.94.1.1.3.1.1.12
Host: Home Router , SNMP Query: ADSL Line MIB
Index: 12 , Field Name: adslIfIndex , Field Value: 12
OID: .1.3.6.1.2.1.10.94.1.1.3.1.1.12 

There is only 1 .rrd file been generated
/var/www/cacti/rra/home_router_adslaturcurratn_50.rrd

output of "rrdtool info home_router_adslaturcurratn_50.rrd"

Code: Select all

filename = "home_router_adslaturcurratn_50.rrd"
rrd_version = "0003"
step = 300
last_update = 1247697302
ds[adslAturCurrAtn].type = "GAUGE"
ds[adslAturCurrAtn].minimal_heartbeat = 600
ds[adslAturCurrAtn].min = 0.0000000000e+00
ds[adslAturCurrAtn].max = 6.3000000000e+02
ds[adslAturCurrAtn].last_ds = "60"
ds[adslAturCurrAtn].value = 1.2000000000e+02
ds[adslAturCurrAtn].unknown_sec = 0
ds[adslAtucCurrAtn].type = "GAUGE"
ds[adslAtucCurrAtn].minimal_heartbeat = 600
ds[adslAtucCurrAtn].min = 0.0000000000e+00
ds[adslAtucCurrAtn].max = 6.3000000000e+02
ds[adslAtucCurrAtn].last_ds = "U"
ds[adslAtucCurrAtn].value = NaN
ds[adslAtucCurrAtn].unknown_sec = 2
rra[0].cf = "AVERAGE"
rra[0].rows = 4100
rra[0].cur_row = 82
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[0].cdp_prep[1].value = NaN
rra[0].cdp_prep[1].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 700
rra[1].cur_row = 687
rra[1].pdp_per_row = 6
rra[1].xff = 5.0000000000e-01
rra[1].cdp_prep[0].value = 6.0000000000e+01
rra[1].cdp_prep[0].unknown_datapoints = 0
rra[1].cdp_prep[1].value = NaN
rra[1].cdp_prep[1].unknown_datapoints = 1
rra[2].cf = "AVERAGE"
rra[2].rows = 775
rra[2].cur_row = 401
rra[2].pdp_per_row = 24
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = 1.2000000000e+02
rra[2].cdp_prep[0].unknown_datapoints = 5
rra[2].cdp_prep[1].value = NaN
rra[2].cdp_prep[1].unknown_datapoints = 7
rra[3].cf = "AVERAGE"
rra[3].rows = 797
rra[3].cur_row = 270
rra[3].pdp_per_row = 288
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = 1.2000000000e+02
rra[3].cdp_prep[0].unknown_datapoints = 269
rra[3].cdp_prep[1].value = NaN
rra[3].cdp_prep[1].unknown_datapoints = 271
rra[4].cf = "MAX"
rra[4].rows = 4100
rra[4].cur_row = 1455
rra[4].pdp_per_row = 1
rra[4].xff = 5.0000000000e-01
rra[4].cdp_prep[0].value = NaN
rra[4].cdp_prep[0].unknown_datapoints = 0
rra[4].cdp_prep[1].value = NaN
rra[4].cdp_prep[1].unknown_datapoints = 0
rra[5].cf = "MAX"
rra[5].rows = 700
rra[5].cur_row = 164
rra[5].pdp_per_row = 6
rra[5].xff = 5.0000000000e-01
rra[5].cdp_prep[0].value = 6.0000000000e+01
rra[5].cdp_prep[0].unknown_datapoints = 0
rra[5].cdp_prep[1].value = NaN
rra[5].cdp_prep[1].unknown_datapoints = 1
rra[6].cf = "MAX"
rra[6].rows = 775
rra[6].cur_row = 44
rra[6].pdp_per_row = 24
rra[6].xff = 5.0000000000e-01
rra[6].cdp_prep[0].value = 6.0000000000e+01
rra[6].cdp_prep[0].unknown_datapoints = 5
rra[6].cdp_prep[1].value = NaN
rra[6].cdp_prep[1].unknown_datapoints = 7
rra[7].cf = "MAX"
rra[7].rows = 797
rra[7].cur_row = 357
rra[7].pdp_per_row = 288
rra[7].xff = 5.0000000000e-01
rra[7].cdp_prep[0].value = 6.0000000000e+01
rra[7].cdp_prep[0].unknown_datapoints = 269
rra[7].cdp_prep[1].value = NaN
rra[7].cdp_prep[1].unknown_datapoints = 271


can anyone help me get this working correctly?
PayableOnDeath
Posts: 18
Joined: Mon Jul 13, 2009 4:11 pm

Post by PayableOnDeath »

Well after only getting Attenuation working and nothing else no matter what I tried I gave up on the one posted here

I had another look on the internet and found this one, easy install and works
http://www.alcatron.net/?p=42

shows me
Attenuation
SNR
and Synced Line Speed
dieselboy
Cacti User
Posts: 135
Joined: Wed May 27, 2009 5:10 pm

Re:

Post by dieselboy »

gandalf wrote:Just wanting to add my 2 cents to this quite old thread.
Based on the OIDs used in the script, I decided to implement a pure SNMP version to make it as fast as possible (currently maintaining about 200 adsl devices, plans include growing to 3500).
So please find an XML export of my SNMP Data Query attached.
It requires cacti087b at least
Find some few pics attached as well
Reinhard

Just updated the Templates! Please delete old stuff and redo! Data Templates were changed to reduce size to a THIRD!
Ganalf this does not work with my setup 0.8.7g. I get the same error "unmet dependency".
jlazkano
Cacti User
Posts: 52
Joined: Wed Mar 25, 2009 5:39 pm

Re: Cisco ADSL info

Post by jlazkano »

Hello,

I can not connect to http://www.alcatron.net/?p=42

Someone could upload the files?

Regards.
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests