Goldengate异构 mysql——>oracl
Goldengate异构 mysql——>oracl实验环境:源端:192.168.9.146CentOS6.4 64bitmysql5.1.66Oracle GoldenGate Command Interpreter for MySQLVersion 11.2.1.0.1 OGGCORE_11.2.1....
Mysql 导出txt格式
Mysql 导出txt格式1. select display_name, alias, address from nagios_hosts into outfile '/tmp/test2.txt'; 导出文件格式:192.26.1.180.app.rhl6.4 管理员: ...
Goldengate参数简要说明
Goldengate参数简要说明*******************************************************************************MANAGER进程参数配置说明:PORT:指定服务监听端口;默认端口为7809DYNAM...
Puppet 常见错误列表
<strong><span style="font-size:18px;">Puppet 常见错误列表</span></strong><br /><hr /><br /><br />1.Failed to retrieve current state of resource: Could not retrieve information from source(s)<br /><br /><br />err: //test/File[/tmp/sky]: Failed to retrieve current state of resource: Could not r...
Linux中eclipse调试mysql源代码
<strong><span style="font-size:18px;">Linux中eclipse调试mysql源代码</span></strong><br /><hr /><br /><br />系统:Redhat Linux 6.4<br /><br /><br />准备的包:<br /> eclipse-cpp-luna-SR1-linux-gtk-x86_64 .tar.gz<br /> cmake-2.8.4.tar<br /> mysql-5.6.22.tar.gz<br />(可以到个...
Windows通过hosts文件解析域名
<strong><span style="font-size:18px;">Windows通过hosts文件解析域名</span></strong><br /><hr /><br /><br />测试环境:windows 7 (31bit)<br />文件路径:<br />C:\Windows\System32\drivers\etc\hosts<br /><br /><br />文件内容:<br /># Copyright (c) 1993-2009 Microsoft Corp.<br />#<br />...
sftp简单使用
<strong><span style="font-size:18px;">sftp简单使用</span></strong><br /><hr /><br /><br />sftp 是一个交互式文件传输程式。它类似于 ftp, 但它进行加密传输,比FTP有更高的安全性。<br /><br /><br /><br /><br /><br /><br />在命令行模式下:sftp username@ip 或者 username@域名<br /><br /><br />回...
Linux压缩工具的性能比较
<strong><span style="font-size:18px;">Linux压缩工具的性能比较</span></strong><br /><hr /><br />一、Linux压缩工具概述 <br /><br /><br />在Linux系统中,提供了许多压缩工具,虽然方便,但也难免造成一些混乱。笔者通过一段时间的整理,将它们理一理顺,希望能够对大家有所帮助: <br />首先,我们...
Python 编程练习
<strong><span style="font-size:18px;">Python 编程练习</span></strong><br /><hr /><br /><br />作一下简单学习,主要分享一下Python的学习课本,非常不错。<br /><br /><br />输出:print 'hello'<br />输入:input()<br />函数:<br />def sayHello():<br /> print 'hello'<br /><br /><br ...
Puppet+foreman 本地yum安装手册
Puppet+foreman 本地yum安装手册server:192.168.9.248 szpuppet.server.comagent:192.168.9.143 zabbix操作系统:CentOS6.4本地yum[root@szpuppet yum.repos.d]# cat rhle64_centos.repo [foreman]name=Foremanbaseurl=file:///root/foreman-repo-master/foremanenabled=1gpgcheck=0[puppet]na...
Nsca安装简单步骤
Nsca安装简单步骤下载并安装nscawget http://nchc.dl.sourceforge.net/project/nagios/nsca-2.x/nsca-2.9.1/nsca-2.9.1.tar.gztar zxf nsca-2.9.1.tar.gzcd nsca-2.9.1./configuremake all以上步骤检查正确执行以后:1)、会在src目录下生成两个程序 nsca send_nsca(主程序)2)、sample-config中会有nsca.cfg...
ImportError: No module named cElementTree
ImportError: No module named cElementTree进行yum安装时报错操作系统CentOS6.42.6.32-358.el6.x86_64[root@shnagiosapp7 ~]# yum install gccLoaded plugins: fastestmirrorDetermining fastest mirrorsServer  ...
简单oracle安装步骤
简单oracle安装步骤 一: 安装包:cd /etc/yum.repos.d/vi rhel54.repo[Server]name=Red Hat Enterprise Linux Serverbaseurl=ftp://172.26.0.11/Server64/enabled=1gpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-releaseyum -y install yum -y install binutilsyum -y install ...
被动式监控oracle的rman备份情况
被动式监控oracle的rman备份情况dbbackup.sh点击(此处)折叠或打开[oracle@db rman]$ cat dbbackup.sh cd /home/db/oracle/. ./.bash_profilemv /oradata/rman/db_* /oradata/rmanbak/db_*logName=db_rman_`date +\'%Y%m%d%H%M%S\'`...
ndo2db: mysql_error: ‘Unknown column ‘importance’ in ‘field list”
ndo2db: mysql_error: ‘Unknown column ‘importance’ in ‘field list”问题描述:解决方法执行 mysql-upgrade-2.0.0.sql(这个文件在ndoutils-2.0.0/db/mysql-upgrade-2.0.0.sql这个位置。)方法mysl -uroot -pmysql> use nagios;mysql> source /home/anzhuangbao/ndoutils-2.0.0/db/mysql-upg...
ndo2db: Warning: Retrying message send. This can occur
ndo2db: Warning: Retrying message send. This can occur because you have too few messages allowed 问题描述:[root@nagios log]#tail -f /var/log/messagesul 16 12:10:47 nagios ndo2db: Warning: Retrying message send. This can occur because you have too few messages allowed or too few total b...
Nagios+centreon汉化
Nagios+centreon汉化下载语言文件 :http://cacti-nagios.googlecode.com/files/messages.mo 创建语言目录 :mkdir -p /usr/local/centreon/www/locale/zh_CN/LC_MESSAGES/ 移动下载的messages.mo至第2步创建的目录 :mv messages.mo /usr/local/centreon/www/locale/zh_CN/LC_MESSAGE...
Nagios警告邮件的特殊配置
Nagios警告邮件的特殊配置nagios发警告邮件是采用本机的smtp服务,可以查看commands.cfg中关于发邮件的命令的定义,使用本机的mail命令,这就需要开启本机的smtp服务,为了安全可以在防火墙上设置拒绝其他的机器连本机的25号端口现在我们的网络里面有一个邮件服务器,所以要求使用这台现有的邮件服务器,不开启本机的smtp...
Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update!
Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update!通过web界面修改某个服务时报错例如对某个服务进行临时安排其执行时间,或者不让它发警告,web页面上都有这样的设置.但是常常会有错误信息如下:Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update!The p...
PHP Deprecated: Assigning the return value of new by reference is deprecated
PHP Deprecated: Assigning the return value of new by reference is deprecated现象:PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/pear/DB/common.php on line 1166PHP Deprecated: Assigning the return value of new by reference is depr...