The Network People Solutions for Hosting Providers | ||
How do I monitor my switch? I just set up my copy of rrdutil to monitor network traffic across my switch. I thought I'd document what I did in case others wish to do the same thing. First, I did a lot of reading about SNMP and various MIBs. Most of this turned out to be unnecessary since there is a standardized layout for SNMP data about network traffic, and most devices can be polled using the same set of OIDs that RRDUtil already uses to monitor the interfaces on NET-SNMP hosts. Basically, all I needed was to find the names of the interfaces for each port on my switch, which I did as follows:
1) "public" is the SNMP community string my switch uses 2) 192.168.1.254 is the IP address of my switch 3) That long string of numbers at the end is saying "give me the names of all the interfaces on the device." The "STRINGs" returned are the names of the interfaces for each port on the switch-- your switch may name these ports differently than mine. Once I had these, configuring rrdutil was as easy as adding the following to rrdutil.conf:
That's all there is to it... Now there's a graph for each switch port available through rrdutil.cgi Hope this helps someone out. -- David
Last modified on 5/20/05. |
|