Switch Port Monitoring

We currently have 2 HP ProCurve 2650 switches running parallel using Commander/Member configuration. We just starting using Cacti to monitor our network traffic. I am trying to get the OID for each of the 100 ports (50 and 50) to break down graphing of each port. When I run SNMPWALK to export the OID list I can only physically see 50 ports. We have one IP address assigned to the Commander but the IP address on the Member is disabled.

Logically all 100 ports work on the network but is there some reason SNMPWALK will only detect the first switch?

Is there a way to get all 100 ports from SNMPWALK or will I have to scan each one seperatly?

If I have to scan each one seperatly would I have to enable and assign an IP to the Member switch?
Who is Participating?
from_expConnect With a Mentor Commented:
you have to go to:
download appropriate mib and complete snmpwalk agains downloaded file.

to clarify some things:
there are standard oids, like if-mib. in most cases devices can be queried against if-mib
but in some cases (like this one) you have to query device against manufacturers mib.
you can create new template for cacti to use hp private mibs.
btw, can you get all interface statistics using simple snmpwalk with hp private mibs?
armitdeptAuthor Commented:
Yes, we can get stats on the interface, but what I am wondering is in order to monitor the stack as a whole, why is only the commander coming up in the snmp walk? Both switches are configured with snmp.
WEBINAR: GDPR Implemented - Tips & Lessons Learned

Join the WatchGuard team on Thursday, March 29th as we recount some valuable lessons learned in weighing the needs of a business against the new regulatory environment, look ahead at the two months left before implementation, and help you understand the steps you can take today!

cacti perfmorms snmpwalk using standard if-mib
but you need hp private mibs
armitdeptAuthor Commented:
I am basically trying to create a custom data template for the ports on the switch. I have created some custom data templates in the past for our HP Procurve Router and things went very smooth. I am using the following command to get a custom MIB straight from the Switch using SNMPWALK.

snmpwalk -v 1 -c "community name" -One "IPADDRESS" iso > outputfile.txt (I have changed the quoted information for security reasons)

This command creates a MIB file containing thousands of lines of information for example (pasted right from the output file I am assuming these are what you are talking about representing each port)

IF-MIB::ifOutUcastPkts.1 = Counter32: 255451335
IF-MIB::ifOutUcastPkts.2 = Counter32: 26533705
IF-MIB::ifOutUcastPkts.3 = Counter32: 0
IF-MIB::ifOutUcastPkts.4 = Counter32: 3165421
IF-MIB::ifOutUcastPkts.5 = Counter32: 26257979
IF-MIB::ifOutUcastPkts.6 = Counter32: 15357813
IF-MIB::ifOutUcastPkts.7 = Counter32: 0
IF-MIB::ifOutUcastPkts.8 = Counter32: 2726112
IF-MIB::ifOutUcastPkts.9 = Counter32: 5436354

Now the question is I have the first 50 ports in the stack in this output file but is there a way to get the second 50 ports from this method? Will I have to use another method or configuration?
armitdeptAuthor Commented:
Sorry I forgot to mention there is OID codes representing each of the 50 ports also included in this file which in the case of the router I used to create the data template for the router. I just need the OID for the second switch in the stack so we can monitor every port seperatly to track bandwidth.
yes, you are on the right way, but needed oid codes you should look in the procurve private mib files
armitdeptAuthor Commented:
We are looking to get to the other switch in the virtual stack. As noted above: Now the question is I have the first 50 ports in the stack in this output file but is there a way to get the second 50 ports from this method? Will I have to use another method or configuration?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.