How do I know which SNMP queries to use?

I am using Open STA for performance testing from a Windows client, connecting to an SNMP engine on a TurboLinux server. My Open STA client lists a ton of SNMP queries I can run on the Linux server, but the queries are just Perl scripts (at least I think it's Perl), so I do not know which ones to choose to get the performance metrics I need. These are the three metrics I need:

1. Page faults (or amount of memory used)
2. Bytes through the server's network card
3. Processor utilization
jmccondaAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
DVBConnect With a Mentor Commented:
If you can read SNMP MIBs, read the HOST-RESOURCES-MIB.txt file on your Linux server. This will give you all the MIBS you need about host resources. If you can do some Perl coding, good sample code is available in the Essential SNMP book from ORA.

See the hrStorageEntry  and hrMemorySize in the MIB.
For the Bytes through the network card, see the ip MIB.
Processor utilization,  hrSWRunPerfCPU should do, or you could use Net::SNMP to write a script to output this data from w, or vmstat.
I would suggest using Net::SNMP for this and sending out notifications from the Linux box rather than polling it.
0
 
jmccondaAuthor Commented:
Great ideas. I'm very new to SNMP so this comment helped a great deal in getting started with using it for performance testing. Thanks!
0
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.