> ## Documentation Index
> Fetch the complete documentation index at: https://doc.lwops.cn/llms.txt
> Use this file to discover all available pages before exploring further.

# 6.7. PVE

> 相关脚本及模板联系技术中心获取 一、将pve.py脚本放至/itops/zabbix/share/zabbix/externalscripts目录，修改脚本参数： ZABBIX_SERVER_IP= '采集端IP'（高可用使用VIP地址） def init(self, ip, username...

相关脚本及模板联系技术中心获取 一、将pve.py脚本放至/itops/zabbix/share/zabbix/externalscripts目录，修改脚本参数：

# ZABBIX\_SERVER\_IP= '采集端IP'（高可用使用VIP地址）

# def **init**(self, ip, username = None, password = None, port = '端口')

![enter image description here](https://lwweb.oss-cn-shenzhen.aliyuncs.com/docs/images/yuque/pve/image-01.png)

二、模板导入\[P1.]-迁移\[P2.]-监控\[P3.]（提供虚拟化监控账密，权限管理员） 模板导入 ![enter image description here](https://lwweb.oss-cn-shenzhen.aliyuncs.com/docs/images/yuque/pve/image-02.png) 迁移 ![enter image description here](https://lwweb.oss-cn-shenzhen.aliyuncs.com/docs/images/yuque/pve/image-03.png) 监控 ![enter image description here](https://lwweb.oss-cn-shenzhen.aliyuncs.com/docs/images/yuque/pve/image-04.png) 三、监控后会在/itops/zabbix/share/zabbix/externalscripts/pve 目录里会生成一份名为ticket.txt 文件 ![enter image description here](https://lwweb.oss-cn-shenzhen.aliyuncs.com/docs/images/yuque/pve/image-05.png) 目录或文件名可在脚本中修改 ![enter image description here](https://lwweb.oss-cn-shenzhen.aliyuncs.com/docs/images/yuque/pve/image-06.png)

四、监控效果

![enter image description here](https://lwweb.oss-cn-shenzhen.aliyuncs.com/docs/images/yuque/pve/image-07.png)
