Discover prtg monitoring database, include the articles, news, trends, analysis and practical advice about prtg monitoring database on alibabacloud.com
In the previous blog post, we introduced the key features, data reading and writing, and application scenarios of the necessary-influxdb for Internet-level monitoring systems:The influxdb of the time-series database of Internet-level monitoring systemIn this article, we introduce the construction of the INFLUXDB database
To view the number of database connections per User:Select S.username,count (p.pid) from V$session S, v$process p where s.paddr = P.addr GROUP by S.username;To view the maximum number of connections allowed for a databaseSelect value from V$parameter t where t.name= ' processes ';View current number of connectionsSelect COUNT (*) from v$process;To modify the maximum number of connections to a databasealter system SET processes = + scope = SPFile;(You
Operations on the Oracle monitoring database 1. Check SQL _idselect a from the view gv $ session. SQL _id from gv $ session a where. USERNAME = 'dbrwdadm '---- the database user performing the operation and. OSUSER = 'L. jqiao-pc' ---- system user, generally your computer name and. SQL _id is not null; www.2cto.com 2. query the specific operation select sysdate a
AccountTo establish a database cacti account on the monitored MySQL server, you need process, SUPER, REPLICATION client permissions, SQL as follows:GRANT PROCESS, SUPER, REPLICATION CLIENT on*.* to ' cacti ' @ '% ' identified by ';3. Add a host above cacti:3.1 Views Create devices3.2 Go in and then click the Add button to add the host3.3 Enter the descriptor and hostname or IP address, click the Create button in the lower right corner.3.4 Interface e
Recently when performing performance tests, the developer directly hung all the business tables into the Oracle database because of the space data to be mounted. Several recent tests have found that the response time and throughput are not ideal, after some analysis of the suspect may have problems in Oracle, so I looked for the relevant monitoring program on the net, eventually found spotlight, but no deta
The students who have done Zabbix know that Zabbix collects relevant monitoring data through a dedicated agent or SNMP, and then stores it in the database and displays it in real time. Zabbix monitoring data is mainly divided into the following two categories:Historical data: Historyrelated tables, from the History_uint table can be queried to the maximum, minimu
Tags: use init data source BSP HTM href directory map user1. Download Druid 2. Put the druid you just downloaded into the Lib directory under Tomcat 3. Configure the service startup file to be monitored, add:-djava.net.preferipv4stack=true-dcom.sun.management.jmxremote- dcom.sun.management.jmxremote.port=4090-dcom.sun.management.jmxremote.rmi.port=4090- Dcom.sun.management.jmxremote.ssl=false-dcom.sun.management.jmxremote.authenticate=false- djava.rmi.server.hostname=192.168.9.135 The IP and por
Achieve the following goals1, monitor the Oracle database monitoring and the status of the instance, if the monitoring or the instance hangs, then starts, and the Mail informs, the script attempts to start the corresponding service2, if the service started successfully, then the mail notification just hung, and now has started successfully, if the startup failed,
Continue to the CLI mode test. this time, a simple real-time monitoring and scheduling function of the database is implemented by using the previous "dead loop with latency" method. Function to be implemented: monitor the user table. if a new record is added, add it to table user2. (It can be used in practical scenarios, such as data processing)
Below is the PHP code (dbtest. php)
The code is as follows:
Continue to the CLI mode test. this time, a simple real-time monitoring and scheduling function of the database is implemented by using the previous "dead loop with latency" method. Function to be implemented: monitor the user table. if a new record is added, add it to table user2. (It can be used in practical scenarios, such as data processing)
Below is the PHP code (dbtest. php)
The code is as follows:
Dynamic Monitoring of JDBC database access operations-p6spy and jdbcp6spy
P6spy is a JDBC Driver packaging tool. Through encapsulation of JDBC Driver, p6spy monitors and analyzes SQL statements for various purposes.P6spy1.3 http://sourceforge.net/projects/p6spy/ sf.net? Source = directory
WSJdbcDataSource PoolConnectionDataSource
Ojdbc6 cannot be injected. It is confirmed that there may be version problems.
following lineDate.timezone = Asia/shanghai.CreateMySQLConnection DirectoryAgent-side database connection and password[email protected] zabbix]# mkdir-p/var/lib/zabbix# vi/var/lib/zabbix/.my.cnf[Client]password=User=rootSocket=/home/mysql/mysqldb/db_master/mysql.sock.Edit/etc/zabbix/zabbix_agentd.dJoinAgentEnd Information# CD/ETC/ZABBIX/ZABBIX_AGENTD.D# VI userparameter_mysql.confUserparameter=mysql.status[*],echo "show global status where Variable_n
, type, sum (source_size) source_size,Sum (parsed_size) parsed_size, sum (code_size) code_size, sum (error_size) error_size,Sum (source_size) + sum (parsed_size) + sum (code_size) + sum (error_size) size_requiredFrom dba_object_sizeGroup by type order by 2;
10. Monitor the log cache hit rate in SGA, which should be less than 1%
Select name, gets, misses, immediate_gets, immediate_misses,Decode (gets, 100, misses/gets *) ratio1,Decode (immediate_gets + immediate_misses, 0, 0,Immediate_misses /
To monitor what SQL operations a process has made on a database.1, first find the process ID, open-Task Manager-process, in general, the Process ID column is hidden, so click on the view above-select the column-pid tick, then see can be called See your Process ID, and then find your program corresponding to the process ID.2. Log in to the database you want to listen to, run select db_id ('
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.