zabbix oracle监控插件orabbix部署安装

时间:2014-05-09 12:33:21   收藏:0   阅读:593

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

  具体设置见

  bubuko.com,布布扣

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

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!