IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Using Cacti To Monitor Modems, How to monitor modem stats, line quality, etc
Demosthenes
post Mar 22 2009, 05:03 PM
Post #1


Newbie
*

Group: Members
Posts: 90
Joined: 25-January 07
From: Canberra
Member No.: 6,932
Billion Hardware: 7404vgom



I have found an interesting thread on the Cacti forum suggesting how to use Cacti to monitor Billion modems. I have installed Cacti on my Ubuntu system and it seems to be working as it's graphing my memory load out of the box. Not sure what else Cacti can do though.

http://forums.cacti.net/viewtopic.php?t=19757

Installed the template and getting the following in debug mode as no data was returned. Anyone else have any luck with Cacti or can suggest better methods to monitor a Billion modem?

I have used the mrtg method under http://au.billion.com/forums/index.php?showtopic=4309 for some time although I heard Cacti is better so though I would give it a shot.

I am using Naked ADSL so it is very important to keep an eye on line quality and uptime.

On another node did anyone ever work out how to save the modem log to disk and monitor specific aspects such as the firewall?

+ 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'r
Go to the top of the page
 
+Quote Post
ozbird
post Mar 31 2009, 06:28 AM
Post #2


Newbie
*

Group: Members
Posts: 9
Joined: 12-November 05
Member No.: 3,493



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
Go to the top of the page
 
+Quote Post
Demosthenes
post Mar 31 2009, 06:28 PM
Post #3


Newbie
*

Group: Members
Posts: 90
Joined: 25-January 07
From: Canberra
Member No.: 6,932
Billion Hardware: 7404vgom



QUOTE (ozbird @ Mar 31 2009, 07:58 AM) *
From memory, the OIDs in the template aren't quite right


Thanks for this - I have linked this back to the Cacti forum and the below forum after the below response over there:

http://forums.whirlpool.net.au/forum-repli...fm?t=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"
Go to the top of the page
 
+Quote Post
Demosthenes
post Mar 31 2009, 06:39 PM
Post #4


Newbie
*

Group: Members
Posts: 90
Joined: 25-January 07
From: Canberra
Member No.: 6,932
Billion Hardware: 7404vgom



now I'm getting this out of debug for the attenuation graph - I think broke something else in Cacti..


RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Procyon - Line Attenuation" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="decibels" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/lib/cacti/rra/procyon_up_att_22.rrd":up_att:AVERAGE \
DEF:b="/var/lib/cacti/rra/procyon_down_att_21.rrd":down_att:AVERAGE \
CDEF:cdefa=a,10,/ \
CDEF:cdefe=b,10,/ \
AREA:cdefa#96E78AFF:"Upstream Att." \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE2:cdefe#A150AAFF:"Downstream Att." \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"

RRDTool Says:

ERROR: opening '/var/lib/cacti/rra/procyon_up_att_22.rrd': No such file or directory
Go to the top of the page
 
+Quote Post
Demosthenes
post Apr 1 2009, 05:21 PM
Post #5


Newbie
*

Group: Members
Posts: 90
Joined: 25-January 07
From: Canberra
Member No.: 6,932
Billion Hardware: 7404vgom



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
Go to the top of the page
 
+Quote Post
impossiblylikely
post Nov 30 2009, 07:08 PM
Post #6


Newbie
*

Group: Members
Posts: 2
Joined: 2-November 09
Member No.: 19,586
Billion Hardware: 7800N



Relatedly to the above - can anybody tell me the OID for Line Speed on a 7800n?
Alternatively, can somebody tell me what numbers I would expect to find in the output of snmpwalk for a given up and down linespeed on a modem with a known OID?

To explain, I have attempted to capture linespeed on a 7800n using the OID .1.3.6.1.2.1.10.94.1.1.4.1.2.3
This is not the correct OID for a 7800n.

I also tried doing an snmpwalk, and looking through the output for a number that matched the linespeed reported in the web interface.
My current linespeed, according to the web interface is 734 / 13478 kbps - but neither of these numbers appear in the output.
Accordingly, I assume that there must be a multiplier or similar - could somebody with another modem tell me if they are aware of a multiplier?

Thanks!
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 30th July 2010 - 06:29 PM