zabbix oracle监控插件orabbix部署安装

1,下载orabbix插件包(插件包同时满足在大部分POSIX-linux及unix和大部分版本的windows下运行,玩转类似但不等同于Tomcat)

  wget http://www.smartmarmot.com/downloads/orabbix-1.2.3.zip

2,解压插件包部署(插件包是绿色的解压即可使用)

  unzip orabbix-1.2.3.zip

  具体设置见

  zabbix oracle监控插件orabbix部署安装

orabbix 插件监控oracle之权限设定sql语句

1,账号创建,指定数据及临时表空间profile及账号状态;
  create user zabbix identified by ruiy default tablespace system temporary tablespace temp profile default account unlock;

2,给账号赋权限

  grant connect,resource,dba to zabbix;
  alter user zabbix default role all;
  grant select any table to zabbix;
  grant create session to zabbix;
  grant select any dictionary to zabbix;
  grant unlimited tablespace to zabbix;

3,针对oracle-11G还需执行如下一条语句

  exec dbms_network_acl_admin.create_acl(acl => ‘resolve.xml‘,description => ‘resolve acl‘,principal=‘zabbix‘,is_grant => true,privilege => ‘resolve‘);

  exec dbms_network_acl_admin.assign_acl(acl => ‘resolve.xml‘,host =>‘*‘);

4,检验一下上面的配置结果

  select utl_inaddr.get_host_name(‘127.0.0.1‘) from dual;

 

zabbix oracle监控插件orabbix部署安装,布布扣,bubuko.com

zabbix oracle监控插件orabbix部署安装

上一篇:sql中int字段实现百分比


下一篇:PHP批量过滤MYSQL数据库内站外链接和图片