Solved

How do I know which SNMP queries to use?

Posted on 2002-04-12
2
303 Views
Last Modified: 2010-03-17
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
0
Comment
Question by:jmcconda
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
DVB earned 100 total points
ID: 6938599
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
 

Author Comment

by:jmcconda
ID: 6942231
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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
linux, squid server 23 71
linux, squid, exchange 14 186
AIX    Volume group Auto ON/OFF question 2 148
grep command usage 10 29
I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question