Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How do I know which SNMP queries to use?

Posted on 2002-04-12
2
Medium Priority
?
315 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
2 Comments
 
LVL 3

Accepted Solution

by:
DVB earned 400 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

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Suggested Courses

772 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