dbforbix插件监控数据库(Oracle、Postgresql)

	**dbforbix可监控多种数据库,如:
	oracle、mysql、postgresql、sqlserver、DB2、SQLANY、Allbase**
	此处用于监控oracle及postgresql

(1)Install dbforbix
下载地址:https://github.com/Jenychen1996/zabbix-templates.git

·unzip /tmp/dbforbix06-master.zip -d /opt/
·mv /opt/dbforbix06-master/ /opt/dbforbix
·cd dbforbix/
·chmod +x run.sh
·cd conf/
·mv config.props.sample config.props
·mv oraclequery.props.sample oraclequery.props
·mv pgsqlquery.props.sample pgsqlquery.props

Tips:

Oracle    =  	jdbc:oracle:thin:@<host>:<LISTENER_PORT>:<instance>
PostgreSQL     =     jdbc:postgresql://<host>:<port>/<database>
MS Sql Server  =     jdbc:jtds:sqlserver://<host>:<port>/<instancename>
MySQL Server  =     jdbc:mysql://[host:port],[host:port].../[database]
DB2        =     jdbc:db2://<servername>:<port>/<installation>

(2)Monitor oracle database
①vi config.props
dbforbix插件监控数据库(Oracle、Postgresql)
dbforbix插件监控数据库(Oracle、Postgresql)
②Import template to zabbix gui
模板下载地址: https://github.com/Jenychen1996/zabbix-templates.git
dbforbix插件监控数据库(Oracle、Postgresql)
③Connect the host as template_oracle.xml
dbforbix插件监控数据库(Oracle、Postgresql)

(3)Monitor postgresql database
①vi config.props
dbforbix插件监控数据库(Oracle、Postgresql)
②Import template to zabbix gui
模板下载地址: https://github.com/Jenychen1996/zabbix-templates.git
dbforbix插件监控数据库(Oracle、Postgresql)
③Connect the host as template_oracle.xml
dbforbix插件监控数据库(Oracle、Postgresql)
④Success to catch data
dbforbix插件监控数据库(Oracle、Postgresql)

有问题请联系QQ:2057359164 Github:https://github.com/Jenychen1996

相关文章:

  • 2021-04-15
  • 2021-10-13
  • 2022-02-03
  • 2022-12-23
  • 2022-02-01
  • 2021-12-20
  • 2021-12-10
猜你喜欢
  • 2022-12-23
  • 2022-01-22
  • 2022-01-31
  • 2022-01-01
  • 2022-12-23
  • 2021-12-10
  • 2022-02-26
相关资源
相似解决方案