saltstack的安装简述:在之前应公司要求配置了zabbix监控所有的服务器,在管理zabbix,有时候需要监控agent机的某些性能时,默认的zabbix没有相应的模板去实现,因此需要自己去写相应的脚本去监控,这样的话就需要在每台agent机上都写一遍脚本,由于公司的服务器数量比较多,感..
分类:
其他好文 时间:
2015-04-30 01:16:17
阅读次数:
196
本文参考(小强的博客)http://www.wpython.com/556.html以及http://www.it165.net/os/html/201406/8507.html进行部署。操作系统:Centos6.5salt-master:192.168.203.30salt-minion:192.168.203.31salt-master安装:[root@zabbix~]#http://www.it165.net/os/html/201406/8507..
分类:
其他好文 时间:
2015-04-29 11:54:24
阅读次数:
140
%中值滤波器 用MATLAB实现中值滤波程序如下:
clc;clear;close;
I=imread('e:\role0\003i.bmp');
I=rgb2gray(I);
J=imnoise(I,'salt',0.02);
subplot(231),imshow(I);
title('原图像');
subplot(232),imshow(J);
title('添加椒盐噪声图像'); ...
分类:
其他好文 时间:
2015-04-28 16:09:01
阅读次数:
154
(此文章同时发表在本人微信公众号“dotNET每日精华文章”) Azure Automation是Azure内置的一项自动化运维基础功能,微软为了让大家更快上手使用这项功能,特意推出了一本免费电子书供大家下载阅读。 随着Azure在各国的不断落地和推广,微软也加大了Azure技术的布道工作。最近微软...
分类:
其他好文 时间:
2015-04-27 23:27:32
阅读次数:
204
一、Maven project management and build automation tool, more and more developers use it to manage the project jar. This article describes how Eclipse in...
分类:
系统相关 时间:
2015-04-27 21:36:42
阅读次数:
289
1. 安装salt-master和salt-minion安装过程不再赘述,请参考http://docs.saltstack.com/en/latest/topics/installation/index.html2. 安装salt-api,cherrypy用来jenkins与salt通信启用salt...
saltstack一.安装1.EPEL(yum源)rpm-Uvhhttp://ftp.linux.ncsu.edu/pub/epel/6/i386/epel-release-6-8.noarch.rpm2.安装主控端yuminstallsalt-master-ychkconfigsalt-masteronservicesalt-masterstart3.安装被控端yuminstallsalt-minion-ychkconfigsalt-miniononservicesalt-m..
分类:
其他好文 时间:
2015-04-27 15:31:52
阅读次数:
231
执行命令时,忘记语法,可以使用sys.doc模块查询salt模块相关使用方法。#salt‘*‘sys.docdisk1、执行命令时,查找minion目标(targeting)常用有三种方式:salt‘shell正则’命令
例:#salt‘host*‘cmd.run‘df-h‘#我们主机ID是host加数字的
salt–E‘perl正则’命令#--pcre,不?.
分类:
其他好文 时间:
2015-04-27 00:48:16
阅读次数:
217
为什么要用自动化配置管理工具?由于企业不断发展,传统运维已经跟不上步伐,现在都在招运维开发工程师,薪资也高不少,像我们这传统的运维显然遇到了瓶颈,薪资也是提不上去,所以要面临转型。时不我待,转起大脑,向DevOPS迈进,首先熟练使用一个自动化配置管理工具,凭自己..
分类:
其他好文 时间:
2015-04-24 19:28:07
阅读次数:
197