LR monitoring MySQL

Source: Internet
Author: User
Tags snmp snmpwalk cpu usage

Sapphire's personal space describes how LoadRunner monitors the CPU usage of MySQL and appache processes
Here's how:
The company's new products need to monitor the MySQL and Appache process, the master to help finally succeed.


Server-side readiness:


1, log on the server, verify that the SNMP service can monitor the MySQL and HTTP process information:


Snmpwalk-os-c public-v 1 172.16.100.28|grep mysql


Snmpwalk-os-c public-v 1 172.16.100.28|grep http


You can have data.


If there is no data, then you need to manually configure the file. Go to step 2


2.

[Email protected] root]# cd/etc/snmp/

[Email protected] snmp]# VI snmpd.conf


Expand Visibility: Change the data behind the view SystemView included * * * * to a larger range


3. Run the following command


[[email protected] snmp]#/etc/init.d/portmap start


[[email protected] snmp]#/ETC/INIT.D/SNMPD start


4. Verify again


Verify that the SNMP service can monitor MySQL and HTTP process information:


Snmpwalk-os-c public-v 1 172.16.100.28|grep mysql


Snmpwalk-os-c public-v 1 172.16.100.28|grep http



Adding monitoring parameters to the Lunnerrunner


1, control the scene-run-add SNMP to the Monitoring window


2, in the SNMP to the Monitoring window right click, add the server and MySQL, Appache PID


Add the path to the PID: mgmt--mib-2--host-hrswrunperf--runperftable--hrswrunperfenter--HRSWRUNPERFCPU (if you want to monitor the memory then it should be * * * Mem) to find the required PID
But "Add monitoring parameters in Lunnerrunner" This "SNMP to monitoring window" I did not find the second step in the run, I do not understand how to operate, I hope that the monitoring of MySQL predecessors can explain to me in detail to listen to


1, control the scene-run-add SNMP to the Monitoring window


2, in the SNMP to the Monitoring window right click, add the server and MySQL, Appache PID


Add the path to the PID: mgmt--mib-2--host-hrswrunperf--runperftable--hrswrunperfenter--HRSWRUNPERFCPU (if you want to monitor the memory then it should be * * * Mem) to find the required PID

LR monitoring MySQL

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.