添加无效对象、无效索引监控指标 <item> <name>Database invalid object count</name> <type>11</type> <snmp_community/> <snmp_oid/> <key>db.odbc.select[db invalid object count,{$DSN}]</key> <delay>5m</delay> <history>7d</history> <trends>365d</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units/> <snmpv3_contextname/> <snmpv3_securityname/> <snmpv3_securitylevel>0</snmpv3_securitylevel> <snmpv3_authprotocol>0</snmpv3_authprotocol> <snmpv3_authpassphrase/> <snmpv3_privprotocol>0</snmpv3_privprotocol> <snmpv3_privpassphrase/> <params>SELECT count(1) FROM dba_objects WHERE status != 'VALID'</params> <ipmi_sensor/> <authtype>0</authtype> <username>{$DB_USERNAME}</username> <password>{$DB_PASSWORD}</password> <publickey/> <privatekey/> <port/> <description/> <inventory_link>0</inventory_link> <applications> <application> <name>Winn Database</name> </application> </applications> <valuemap/> <logtimefmt/> <preprocessing/> <jmx_endpoint/> <timeout>3s</timeout> <url/> <query_fields/> <posts/> <status_codes>200</status_codes> <follow_redirects>1</follow_redirects> <post_type>0</post_type> <http_proxy/> <headers/> <retrieve_mode>0</retrieve_mode> <request_method>1</request_method> <output_format>0</output_format> <allow_traps>0</allow_traps> <ssl_cert_file/> <ssl_key_file/> <ssl_key_password/> <verify_peer>0</verify_peer> <verify_host>0</verify_host> <master_item/> </item> <trigger> <expression>{Winn Template Oracle DB:db.odbc.select[db invalid object count,{$DSN}].last()}>=3</expression> <recovery_mode>0</recovery_mode> <recovery_expression/> <name>The database has more than three invalid objects</name> <correlation_mode>0</correlation_mode> <correlation_tag/> <url/> <status>0</status> <priority>4</priority> <description/> <type>0</type> <manual_close>1</manual_close> <dependencies/> <tags> <tag> <tag>Application</tag> <value>Oracle</value> </tag> <tag> <tag>Field</tag> <value>Database</value> </tag> <tag> <tag>Scope</tag> <value>Infrastructure</value> </tag> <tag> <tag>Type</tag> <value>Technical</value> </tag> </tags> </trigger> <item> <name>Database invalid index count</name> <type>11</type> <snmp_community/> <snmp_oid/> <key>db.odbc.select[db invalid index count,{$DSN}]</key> <delay>5m</delay> <history>7d</history> <trends>365d</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units/> <snmpv3_contextname/> <snmpv3_securityname/> <snmpv3_securitylevel>0</snmpv3_securitylevel> <snmpv3_authprotocol>0</snmpv3_authprotocol> <snmpv3_authpassphrase/> <snmpv3_privprotocol>0</snmpv3_privprotocol> <snmpv3_privpassphrase/> <params>SELECT count(1) FROM dba_indexes WHERE status = 'UNUSABLE'</params> <ipmi_sensor/> <authtype>0</authtype> <username>{$DB_USERNAME}</username> <password>{$DB_PASSWORD}</password> <publickey/> <privatekey/> <port/> <description/> <inventory_link>0</inventory_link> <applications> <application> <name>Winn Database</name> </application> </applications> <valuemap/> <logtimefmt/> <preprocessing/> <jmx_endpoint/> <timeout>3s</timeout> <url/> <query_fields/> <posts/> <status_codes>200</status_codes> <follow_redirects>1</follow_redirects> <post_type>0</post_type> <http_proxy/> <headers/> <retrieve_mode>0</retrieve_mode> <request_method>1</request_method> <output_format>0</output_format> <allow_traps>0</allow_traps> <ssl_cert_file/> <ssl_key_file/> <ssl_key_password/> <verify_peer>0</verify_peer> <verify_host>0</verify_host> <master_item/> </item> <trigger> <expression>{Winn Template Oracle DB:db.odbc.select[db invalid index count,{$DSN}].last()}>=3</expression> <recovery_mode>0</recovery_mode> <recovery_expression/> <name>The database has more than three invalid indexes</name> <correlation_mode>0</correlation_mode> <correlation_tag/> <url/> <status>0</status> <priority>4</priority> <description/> <type>0</type> <manual_close>1</manual_close> <dependencies/> <tags> <tag> <tag>Application</tag> <value>Oracle</value> </tag> <tag> <tag>Field</tag> <value>Database</value> </tag> <tag> <tag>Scope</tag> <value>Infrastructure</value> </tag> <tag> <tag>Type</tag> <value>Technical</value> </tag> </tags> </trigger> <item> <name>Database invalid partition index count</name> <type>11</type> <snmp_community/> <snmp_oid/> <key>db.odbc.select[db invalid partition index count,{$DSN}]</key> <delay>5m</delay> <history>7d</history> <trends>365d</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units/> <snmpv3_contextname/> <snmpv3_securityname/> <snmpv3_securitylevel>0</snmpv3_securitylevel> <snmpv3_authprotocol>0</snmpv3_authprotocol> <snmpv3_authpassphrase/> <snmpv3_privprotocol>0</snmpv3_privprotocol> <snmpv3_privpassphrase/> <params>SELECT count(1) FROM dba_ind_partitions WHERE status = 'UNUSABLE'</params> <ipmi_sensor/> <authtype>0</authtype> <username>{$DB_USERNAME}</username> <password>{$DB_PASSWORD}</password> <publickey/> <privatekey/> <port/> <description/> <inventory_link>0</inventory_link> <applications> <application> <name>Winn Database</name> </application> </applications> <valuemap/> <logtimefmt/> <preprocessing/> <jmx_endpoint/> <timeout>3s</timeout> <url/> <query_fields/> <posts/> <status_codes>200</status_codes> <follow_redirects>1</follow_redirects> <post_type>0</post_type> <http_proxy/> <headers/> <retrieve_mode>0</retrieve_mode> <request_method>1</request_method> <output_format>0</output_format> <allow_traps>0</allow_traps> <ssl_cert_file/> <ssl_key_file/> <ssl_key_password/> <verify_peer>0</verify_peer> <verify_host>0</verify_host> <master_item/> </item> <trigger> <expression>{Winn Template Oracle DB:db.odbc.select[db invalid partition index count,{$DSN}].last()}>=3</expression> <recovery_mode>0</recovery_mode> <recovery_expression/> <name>The database has more than three invalid partition indexes</name> <correlation_mode>0</correlation_mode> <correlation_tag/> <url/> <status>0</status> <priority>4</priority> <description/> <type>0</type> <manual_close>1</manual_close> <dependencies/> <tags> <tag> <tag>Application</tag> <value>Oracle</value> </tag> <tag> <tag>Field</tag> <value>Database</value> </tag> <tag> <tag>Scope</tag> <value>Infrastructure</value> </tag> <tag> <tag>Type</tag> <value>Technical</value> </tag> </tags> </trigger>
添加数据库无效对象监控
来源:这里教程网
时间:2026-03-03 18:58:37
作者:
编辑推荐:
- 添加数据库无效对象监控03-03
- 如何查看rman 备份与恢复的进度03-03
- 业务软件系统升级前数据库备份03-03
- 查看Oracle表空间使用率03-03
- 优化Extract抽取进程性能,解决OGG抽取日志延迟 2017-11-12 175803-03
- 数据库数据恢复-ORACLE数据库的常见故障&各种故障下的数据恢复可能性03-03
- [20230905]奇怪的语法.txt03-03
- [20230906]显示最近统计分析的操作报表.txt03-03
下一篇:
相关推荐
-
雷神推出 MIX PRO II 迷你主机:基于 Ultra 200H,玻璃上盖 + ARGB 灯效
2 月 9 日消息,雷神 (THUNDEROBOT) 现已宣布推出基于英
-
制造商 Musnap 推出彩色墨水屏电纸书 Ocean C:支持手写笔、第三方安卓应用
2 月 10 日消息,制造商 Musnap 现已在海外推出一款 Oce
热文推荐
- ORA-39014问题处理
ORA-39014问题处理
26-03-03 - 淘宝的“泛娱乐化”自救?
淘宝的“泛娱乐化”自救?
26-03-03 - 直播、AI赋能,美团披着荆棘前行
直播、AI赋能,美团披着荆棘前行
26-03-03 - Oracle 11.2.0.4 创建普通表,区及段默认是否会分配
Oracle 11.2.0.4 创建普通表,区及段默认是否会分配
26-03-03 - 数据库 SQL执行时长
数据库 SQL执行时长
26-03-03 - 数据库内存交换异常 故障报告
数据库内存交换异常 故障报告
26-03-03 - 大模型加持,讯飞智能办公本X3助办公效率再提速
大模型加持,讯飞智能办公本X3助办公效率再提速
26-03-03 - 从线上化走向智能化,数字办公助力企业实现"效率+安全”双提升|爱分析报告
从线上化走向智能化,数字办公助力企业实现"效率+安全”双提升|爱分析报告
26-03-03 - enq:TX – row lock contention产生原因及处理脚本
- Oracle 11G 区管理方式
Oracle 11G 区管理方式
26-03-03
