%confdir%mp.txtren%confdir%\%confname%%confname%.bakren%confdir%mp.txt%confname%REM判断操作系统为64位还是32位if/i%ostype%==x86(  gotoWIN32-IMDN开发者社群-imdn.cn"> %confdir%mp.txtren%confdir%\%confname%%confname%.bakren%confdir%mp.txt%confname%REM判断操作系统为64位还是32位if/i%ostype%==x86(  gotoWIN32 - IMDN开发者社群-imdn.cn">
登录
首页 » shell » zabbix自动安装及卸载脚本

zabbix自动安装及卸载脚本

于 2022-08-07 发布 文件大小:953.73 kB
0 177
下载积分: 2 下载次数: 1

代码说明:

@echo offREM *********************************************REM 用途:用于windows自动安装zabbix客户端REM 编制人:REM 修订人:无REM *********************************************REM 变量定义set homepath=C:zabbixset confname=zabbix_agentd.win.confset confdir=%homepath%confset win32dir=%homepath%win32set win64dir=%homepath%win64set ostype=%PROCESSOR_IDENTIFIER:~0,3%REM 获取主机名for /f "delims=" %%x in ("hostname") do set Hname=%%xREM 更新conf文件内容(for /f "delims=" %%i in (%confdir%\%confname%) do (   Set str=%%i  SetLocal EnableDelayedExpansion  Set str=!Str:tempname=%Hname%!  echo !str!  EndLocal ))>%confdir% mp.txtren %confdir%\%confname% %confname%.bakren %confdir% mp.txt %confname%REM 判断操作系统为64位还是32位if /i %ostype% == x86 (   goto WIN32

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 这是一个免费的文件加密工具窗口。
    Shellfish is a free file encryption utility for Windows. Shellfish is designed to integrate with the Windows Shell, and it uses the Blowfish encryption algorithm, hence the name "Shellfish".
    2022-01-26 04:23:48下载
    积分:1
  • 如果你曾查过微软的知识库文章的话,一定有这样的不爽经历:先用浏览器访问msdn.microsoft.com,在那个小小的搜索编辑框中输入文章号码,然后等待查询结...
    如果你曾查过微软的知识库文章的话,一定有这样的不爽经历:先用浏览器访问msdn.microsoft.com,在那个小小的搜索编辑框中输入文章号码,然后等待查询结果返回,最后还要点击搜索结果中至少一篇文章的链接。这样做耽误相当多的时间。现在使用本文提供的工具后,一切都变得简单了。-If you have investigated the Microsoft Knowledge Base article, it must have experienced such a bad mood : using the browser to visit anyone in that small search input box editorial article number, and then wait for the results of inquiries to return eventually, click on search results for at least one article links. Do a lot of wasted time. Now use the tools provided in this paper, everything becomes simple.
    2022-05-27 02:10:20下载
    积分:1
  • Linux考试系统
    linux实习题考试控制系统linux实习题考试控制系统linux实习题考试控制系统linux实习题考试控制系统linux实习题考试控制系统linux实习题考试控制系统linux实习题考试控制系统linux实习题考试控制系统linux实习题考试控制系统linux实习题考试控制系统linux实习题考试控制系统linux实习题考试控制系统linux实习题考试控制系统linux实习题考试控制系统linux实习题考试控制系统linux实习题考试控制系统linux实习题考试控制系统linux实习题考试控制系统linux实习题考试控制系统linux实习题考试控制系统linux实习题考试控制系统linux实习题考试控制系统linux实习题考试控制系统linux实习题考试控制系统linux实习题考试控制系统
    2022-02-02 20:22:25下载
    积分:1
  • 386p
    386保护模式简介 (Introduction for 386 guard mode)
    2021-01-02 16:38:57下载
    积分:1
  • in
    说明:  LAMMPS上用于计算聚合物+杆状填料的普通剪切过程的输入文件(Input file for calculation of common shear process of polymer + rod packing on LAMMPS)
    2020-02-03 16:42:00下载
    积分:1
  • 精灵
    Genie-shell for ucos 一、 基本要求(必做) (1) 设计并实现ucos的shell模型 (2) 实现简单的Shell命令 hostname命令在屏幕上打印一句话,即自定义的本机名称。 hello 命令可以带多个参数,如hello a b c d,回车后会显示: hello,I am Genie your argv is: a b c d (3)实现在串口和LCD的同步显示,即所有的命令操作过程都要显示在串口和LCD上。 二、 提高要求(选做) 自己设计几条新的命令,比如输入time即可显示时间,输入data即可显示日期或者可以通过命令设置时间和日期等。 -Genie- shell for TRACK 1, basic requirements (regimen) (1) design and implement CENTER shell model (2) to achieve a simple Shel l command hostname command on the screen print a word that is, since the definition of the machine name. Hello orders can take a number of parameters, such as hello a b c d, Enter will show : hello, I am your argv Genie is : a b c d (3) Achieve the serial synchronous and LCD display, that is, all the orders must show that the process of the serial and LCD. Two, raising requirements (election so) designed several new orders, such as the importation of time will be shown, input data can indicate the date or can be ordered through the set-
    2022-12-07 00:05:03下载
    积分:1
  • Linux shell
    说明:  shell 常用命令 直接将.gz改成.chm即可使用(Common shell commands directly change. GZ to. CHM for use)
    2020-06-18 09:00:03下载
    积分:1
  • t_shell 一个简单完整的命令解释程序 适合shell入门的实例程序...
    t_shell 一个简单完整的命令解释程序 适合shell入门的实例程序-t_shell a simple explanation of command shell entry procedures for the sample program
    2022-04-20 10:02:07下载
    积分:1
  • 自动关机程序
    自动关机程序-Automatic shutdown procedures
    2022-06-11 11:31:53下载
    积分:1
  • 程序为一个可编程并行接口的实验源程序,通过该程序,可用于编程的接口。
    此程序为一可编程并行接口实验源程序,通过此实验可掌握8255方式0的工作原理及使用方法。编程从8255C口输入数据,再从A口输出。-procedure for a programmable parallel interface experiment source, the passage of this experiment can seize 8,255 0 means the working principle and methods of use. Programming from the 8255C I input data, from A mouth output.
    2022-04-30 23:00:17下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载