Super simple SNMP traffic graph - for dummies!!!

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3, 4, 5  Next
Author Message
WirelessOverSand
DD-WRT Novice


Joined: 09 Jun 2006
Posts: 26

PostPosted: Thu Dec 07, 2006 15:15    Post subject: Reply with quote
[/quote]

Its eth1, hence it's .6[/quote]

Quote:
6.) Enter "Target address" to you router's IP
7.) Enter "Green OID" = 1.3.6.1.2.1.2.2.1.16.8 (or .4, see below)
8.) Enter "BlueOID" = 1.3.6.1.2.1.2.2.1.10.8 (or .4, see below)


so is the OID the last parameter? e.g:
"Red OID" = 1.3.6.1.2.1.2.2.1.16.6
"Yellow OID" = 1.3.6.1.2.1.2.2.1.10.6
to monitor the input and output of the wireless link as well?

Thanks,

Stu
[/b]

_________________
"There's Sand in my Router"
Sponsor
wifiguyny
DD-WRT Novice


Joined: 10 Nov 2006
Posts: 39

PostPosted: Sun Dec 24, 2006 17:56    Post subject: IPTables Reply with quote
Thanks for posting this information. I found that when I enable my firewall, I can't perform SNMP management of the device. Do you know how I would fix that? I assume using IPTables, but I don't know how to do that. Thanks again.
saivert
DD-WRT Novice


Joined: 10 Jun 2006
Posts: 23
Location: Norway

PostPosted: Sun Dec 31, 2006 13:26    Post subject: A simple reporting website Reply with quote
How do I go about setting up a simple website that displays the data reports from STG as nice graphs ? I don't want the hassle with MRTG (which is BLOAT when you're only using ONE router).

Maybe some webalizer like software but for use with traffic reports.

Edit: And NO, I do not want to code it myself.

_________________
I own a Linksys WRT54G v3.1 and I am using DD-WRT
dicksons
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 980
Location: Coal Creek Canyon, Colorado

PostPosted: Tue Jan 16, 2007 22:50    Post subject: Reply with quote
wifiguyny

if you need to monitor from the wan side of the router then you need to open the port thru the firewall.

go to admin/commands, type in

/usr/sbin/iptables -I INPUT -p udp --dport 161 -j ACCEPT

and use the "save firewall" button

I suspect you also need to reboot the router, but maybe not

_________________
linksys GSv2, Gv4, Gv2, GLv1, G-TM, Buffalo wbr2, whr, whr-hp, whr-g125, wli-tx4-g54hp, Moto wr850gp, Alix.3C2
emetic
DD-WRT Novice


Joined: 23 Jan 2007
Posts: 19

PostPosted: Sat Jan 27, 2007 4:44    Post subject: Reply with quote
I just wanted to point out that you can pass the configuration file you save with SNMPTrafficGrapher, to open it automatically. For example:

Code:
stg.exe "D:\Data\Router.stg"
emetic
DD-WRT Novice


Joined: 23 Jan 2007
Posts: 19

PostPosted: Sat Jan 27, 2007 4:51    Post subject: Re: Super simple SNMP traffic graph - for dummies!!! Reply with quote
Eko wrote:
This is for all "dummies"...

7.) Enter "Green OID" = 1.3.6.1.2.1.2.2.1.16.8 (or .4, see below)
8.) Enter "BlueOID" = 1.3.6.1.2.1.2.2.1.10.8 (or .4, see below)

Apparently, I am even below the level of "dummy".

I had no idea what an "OID" was. (A quick Google tells me it's an "object ID". Uh-huh.) I have a WRTSL54GS. Do I simply use the OIDs from (7) and (8) above? Even if the answer is "yes", how can I check on my own? (Edification is a good thing.)

Thanks.
Eko
DD-WRT Developer/Maintainer


Joined: 07 Jun 2006
Posts: 5771

PostPosted: Sat Jan 27, 2007 7:57    Post subject: Reply with quote
Install Getif, then you can browse snmp variables, or see the interfaces.
wrtsl54gs has wan interface on eth1, so it would be .4 for you.
chanceoliver
DD-WRT Novice


Joined: 27 Jan 2007
Posts: 1

PostPosted: Sat Jan 27, 2007 20:40    Post subject: Re: Super simple SNMP traffic graph - for dummies!!! Reply with quote
emetic wrote:
Eko wrote:
This is for all "dummies"...

7.) Enter "Green OID" = 1.3.6.1.2.1.2.2.1.16.8 (or .4, see below)
8.) Enter "BlueOID" = 1.3.6.1.2.1.2.2.1.10.8 (or .4, see below)

Apparently, I am even below the level of "dummy".

I had no idea what an "OID" was. (A quick Google tells me it's an "object ID". Uh-huh.) I have a WRTSL54GS. Do I simply use the OIDs from (7) and (8) above? Even if the answer is "yes", how can I check on my own? (Edification is a good thing.)

Thanks.


Do you know (or anyone know) how to set the OID to monitor a specific port (port 48)? I have a Dell switch that i want to monitor on our Internet port. Our XO router will not allow SNMP.
johnboy86
DD-WRT Novice


Joined: 08 Feb 2007
Posts: 10

PostPosted: Wed Feb 14, 2007 11:19    Post subject: Reply with quote
It would be nice if the client ran on Linux. I have no Windows boxes and I don't feel like setting up MRTG just to monitor my home traffic...

Is there a Linux version or similar?
digerati
DD-WRT User


Joined: 28 Feb 2007
Posts: 57

PostPosted: Wed Feb 28, 2007 20:11    Post subject: Re: Super simple SNMP traffic graph - for dummies!!! Reply with quote
WirelessOverSand wrote:
Eko wrote:


1.) enable SNMP on your router


Okay, Dummy here! How do you turn on SNMP on my WRT54GS, DDWRT V23 ??????

I'd like to give it a try!

OKay - I found it- 3/4 of the way down Administration - Services page (Dummy!)
[/b]
Got it running now, but not sure what it is telling me. I'm using Windoze Task Manager to monitor my own traffic, and running Traffic Grapher.

It seems to correlate with my own traffic - but is it seeing other traffic on the other wireless connections? What is the significance of the green line and blue line on the graph?"Help" is no help (okay - I know it's free!!)



WHERE? I have a WRT54G V5 Serial starting with CDFB0 and its using:

Firmware: DD-WRT v23 SP2 (09/15/06) micro
Time: 01:53:13 up 8 days, 15:41, load average: 0.11, 0.05, 0.00

I want to know how to turn on SNMP on this router as I think it doesnt come with a snmp daemon. I thought that come with the standard version of the software.

That brings me to another question, I search and search and cant find any info on why I cant or can install the standard version on this router.

Some one clarify please, make it easily understandable too.
Eko
DD-WRT Developer/Maintainer


Joined: 07 Jun 2006
Posts: 5771

PostPosted: Fri Mar 02, 2007 9:22    Post subject: Reply with quote
Sorry, you can't use this on v5 router with micro firmware only.

Any you can't install standard firmware, because you can't pack 4mb firmware into 2mb flash chip.
zone97
DD-WRT Novice


Joined: 24 Mar 2007
Posts: 12

PostPosted: Sun Mar 25, 2007 4:27    Post subject: Reply with quote
Can anything be setup so you can tell what bandwidth is used from port 1, port2, port 3 individually not grouped.
punker_4_real
DD-WRT User


Joined: 22 Oct 2006
Posts: 243

PostPosted: Fri May 11, 2007 22:16    Post subject: Re: Super simple SNMP traffic graph - for dummies!!! Reply with quote
Eko wrote:
[size=18]
Thats it!




willl this work on V24? if so how do i do this
mtn_man
DD-WRT Novice


Joined: 27 May 2007
Posts: 1

PostPosted: Mon May 28, 2007 1:25    Post subject: Reply with quote
When I attempted to run this on my Buffalo WHR-G54S with DD-WRT v 23 sp2 I didn't get any results when I set to the eth0 interface (based on info displayed by GETIF), but then I noticed that my WAN IP was associated with VLAN1 on interface 7 (eth0 is on 6).

Changed it to 7 and it works
CptanPanic
DD-WRT Novice


Joined: 13 Jun 2007
Posts: 5

PostPosted: Thu Jun 14, 2007 0:08    Post subject: Reply with quote
I have it working on my WRT54G v2.2, but the numbers are not scaled correctly. It is looks like it is kBps, can I get it in kbps?
Thanks,
CP
Goto page Previous  1, 2, 3, 4, 5  Next Display posts from previous:    Page 2 of 5
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum