PDA

View Full Version : how to graph network traffic using snmp?


rootlinux
20-02-2005, 16:25
Hi,

I am using Zabbix 1.1alpha5 and it works great...

Now, I am starting to try to monitor the network traffic for a Motorola Canopy via snmp v2.

I am monitoring the below snmp v2 key: -
ifInOctets1
ifOutOctets1

Am I correct? It seems that the graph I am getting is not like the normal one...the graph line keeps on increasing...

:confused:

Please someone help me...guide me, thanks.

lbergman
21-02-2005, 04:35
You might try storing the value as a delta in the itme config. If stored as is the graph just grows. The rfc specs that traffic values like you are graphing are an ever increasing value and what you really want is likely the difference between the value you got last and the one you have now.

By the way, I am trying to graph a canopy unit as an experiment and can't seem to get the radiodbm value to return. Had luck with this?

rootlinux
21-02-2005, 05:44
Below is my config: -

Description: ifInOctets1
Host: canopy.001
Type: SNMPv2 agent
SNMP community: Canopy
SNMP OID: 1.3.6.1.2.1.2.2.1.10.1
SNMP Port: 161
Key: ifInOctets1
Units:
Use multiplier: Do not use
Update interval (in sec): 60
Keep history (in days): 365
Keep trends (in days): 365
Status: Monitored
Type of information: Numeric
Store value: Delta (simple change)

What do you think I should put in the "Units"?

The graph I am getting is a "packets transferred" or "bytes transferred"?

:confused:

lbergman
21-02-2005, 14:16
"b"
If you use this the graph will be marked in bytes Kilobytes, or Megabytes as appropriate.

blazergst
13-11-2007, 03:16
lbergman

I use for dBm:

SNMPv2
OID .1.3.6.1.4.1.161.19.3.2.2.8.0
Store as Numeric(float)
multiplier is -1
Store value as is

georgew
30-03-2008, 08:28
I'm still trying to figure out which end is up on zabbix...

So far I have it discovering the various nodes in a sprawling canopy network, but I have not figured out how to graph any of the details.

Can someone share the basic method of creating a canopy graph?

My hope is that I can build a templates for the sm, ap, backhaul, and router devices once, and let auto-discovery populate the system (and remove them). I think I have the auto-discovery and auto-removal (after 30 days) working fine, but I have not yet figured out how to graph the data yet.

A quick how-to would be great... I have found many of the needed elements in the zabbix menues, but I don't know how to put it all together yet.

This was much easier under cacti, but I like the idea of using zabbix to do a templated auto-discovery. I have specific private network ranges for the various classes of devices, so I can tell what kind of device I am discovering based on the ip range it is in. So it should be simply a matter of creating templates with appropriate graphs... Then it should all fall neatly into place.

I'll do my server room next, but I have a feeling that will be easier.

George

georgew
06-05-2009, 22:40
Well, I'm back for a second try at this. I'm shocked that there are no answers to what I thought were simple questions.

Are there any canopy users out there?

I will document and post everything i figure out, but it would be helpful to hear from some zabbix-canopy users to see what all they are doing...


Thanks in advance!
George

jroberson
07-05-2009, 16:57
Can you snmpwalk the devices? (Check out page 111 in the Zabbix manual (http://www.zabbix.com/downloads/ZABBIX%20Manual%20v1.6.pdf)) If you can get that working then try the generic SNMP templates in Zabbix and see if any of the standard OIDs will work for you. You can then use those as starting points to refine your specific items using the SNMP utilities in Linux (or you can find others on the Internet). You should also check the Zabbix Wiki (http://www.zabbix.com/wiki/doku.php) for other templates. Once you have one device working you can try another and see if any of the OIDs change on you. Once you have your Canopy template finished, share it on the wiki. :)

georgew
12-05-2009, 09:23
Well, I finally made some breakthroughs. I was having a lot of SNMP problems that were due to bugs, and stale documentation... But I now have working graphs, so I'm on my way to building up a template.

georgew
12-05-2009, 09:25
lbergman

I use for dBm:

SNMPv2
OID .1.3.6.1.4.1.161.19.3.2.2.8.0
Store as Numeric(float)
multiplier is -1
Store value as is

I tried this and got the error:

Type of received value [-69 dBm] is not suitable for value type [Numeric (float)]

It looks like I'm getting a mixed value, a number and a string. Is there a way to trim the string off?