Solved

How do I know which SNMP queries to use?

Posted on 2002-04-12
2
289 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 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

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 discusses moving either the default database or any database to a new volume.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

759 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now