%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 126
下载积分: 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 个回复

  • 大量windows shell编程例子
    大量windows shell编程例子-large windows shell programming examples
    2022-08-03 18:21:39下载
    积分:1
  • asp文件管理程序
    获取权限的ASP服务器磁盘文件管理程序,可以轻松获得服务器的管理权限,针对没有文件管理的网站,可以自动进行文件上传等操作。简单方便,文件很小。
    2023-01-09 19:55:03下载
    积分:1
  • rkrselk
    ssm开发实现简单的oa办公管理系统,模板是网上下载,后端代码自己实现(SSM development and implementation of a simple OA office management system, templates are downloaded online, the back-end code to achieve their own.)
    2018-04-29 16:57:23下载
    积分:1
  • 资源管理器右键菜单源程序
    资源管理器右键菜单源程序-Explorer menu source
    2022-01-20 22:56:17下载
    积分:1
  • 在VC下编译通过的使用ShellCode下载文件的程序,非常实用
    在VC下编译通过的使用ShellCode下载文件的程序,非常实用-Under the VC compiler through the use of downloading files Shellcode procedures, very useful
    2023-04-25 23:20:04下载
    积分:1
  • wifi_wimax.tcl
    这是关于多接口节点创建脚本是为 2 个不同的网络拓扑结构的网络模拟器 2。它包含 wimax 和 wifi 网络。一个很容易可以在 ns2 来运行该脚本。WiMAX 是指可互操作的实现批准的 WiMAX 论坛的无线网络标准的 IEEE 802.16 家庭。(同样,Wi-Fi 指的可互操作的实现通过 Wi-fi 联盟认证的 IEEE 802.11 无线局域网标准。WiMAX 论坛认证允许供应商出售固定或移动的产品作为 WiMAX 认证,从而确保一定程度的互操作性与其他认证的产品,只要他们符合相同的配置文件。Wi Fi,也说明 Wifi 上网,是一种技术,允许电子设备交换数据或连接到 internet 以无线方式使用 2.4 g h z 超高频和 5 GHz SHF 无线电波。名称是一个商标名称,并且是一玩就高保真音响发烧友一词。Wi-fi 联盟定义为任何的 Wi-Fi"无线局域网络 (WLAN) 的产品,基于学院的电气和电子 Engineers" (IEEE) 802.11 标准"。[1] 然而,由于大多数现代 Wlan 基于这些标准,"Wi-Fi"一词用于一般英语作为同义词"WLAN"。
    2022-02-26 05:57:53下载
    积分:1
  • dllregshex_src
    使用Shell扩展Register/Unregister一个带Com/ATL对象的DLL文件(Using shellext to register and unregister a DLL with Com/ATL object)
    2020-11-05 11:39:52下载
    积分:1
  • 外壳编程实例2
    shell 编程的例子2-shell Programming Example 2
    2023-01-16 06:05:03下载
    积分:1
  • GetFilesNameInBatch
    通过拖拽操作(拖放操作)批次取得文件名,自动保存为文本文件,方便命令行带参数方式批处理文件的编写.(Through drag-and-drop operations (drag and drop) to obtain the batch file name, automatically saved as a text file for command-line batch file with the parameters of the preparation methods.)
    2009-05-26 20:02:56下载
    积分:1
  • 电脑专家
    只对于产品 id 校核想要学习如何使用脚本 vb vbs c + + 我很感兴趣编程,请帮我看如何使用 Wscript Csript 和 Hscript
    2023-05-15 10:30:03下载
    积分:1
  • 696518资源总数
  • 105949会员总数
  • 22今日下载