给我一份Zabbix监控服务器内存、磁盘、电源、温度、cpu的模板

时间: 2023-07-10 09:34:35 浏览: 61
以下是一个Zabbix监控服务器内存、磁盘、电源、温度、CPU的模板,你可以在Zabbix中导入并使用: ```xml <?xml version="1.0" encoding="UTF-8"?> <zabbix_export version="4.4" date="2020-06-29T10:21:35Z"> <hosts> <host> <host>Server</host> <name>Server</name> <templates> <template> <name>Template OS Linux</name> </template> </templates> <interfaces> <interface> <type>1</type> <main>1</main> <useip>1</useip> <ip>192.168.1.1</ip> <dns></dns> <port>10050</port> <bulk>1</bulk> </interface> </interfaces> <groups> <group> <name>Linux servers</name> </group> </groups> <applications> <application> <name>CPU</name> </application> <application> <name>Memory</name> </application> <application> <name>Disks</name> </application> <application> <name>Temperature</name> </application> <application> <name>Power Supply</name> </application> </applications> <items> <item> <name>CPU load</name> <type>0</type> <snmp_community></snmp_community> <snmp_oid>1.3.6.1.4.1.2021.10.1.3.1</snmp_oid> <key>system.cpu.load[percpu,avg1]</key> <delay>30s</delay> <history>90d</history> <trends>365d</trends> <value_type>0</value_type> <data_type>0</data_type> <units> %</units> <application>CPU</application> </item> <item> <name>Memory Usage</name> <type>0</type> <snmp_community></snmp_community> <snmp_oid>1.3.6.1.4.1.2021.4.6.0</snmp_oid> <key>vm.memory.size[total]</key> <delay>30s</delay> <history>90d</history> <trends>365d</trends> <value_type>3</value_type> <data_type>0</data_type> <units> B</units> <application>Memory</application> </item> <item> <name>Memory Used</name> <type>0</type> <snmp_community></snmp_community> <snmp_oid>1.3.6.1.4.1.2021.4.6.0</snmp_oid> <key>vm.memory.size[used]</key> <delay>30s</delay> <history>90d</history> <trends>365d</trends> <value_type>3</value_type> <data_type>0</data_type> <units> B</units> <application>Memory</application> </item> <item> <name>Root partition free space</name> <type>0</type> <snmp_community></snmp_community> <snmp_oid>1.3.6.1.4.1.2021.9.1.6.1</snmp_oid> <key>vfs.fs.size[/,free]</key> <delay>300s</delay> <history>90d</history> <trends>365d</trends> <value_type>3</value_type> <data_type>0</data_type> <units> B</units> <application>Disks</application> </item> <item> <name>Temperature Sensor 1</name> <type>4</type> <snmp_community></snmp_community> <snmp_oid>.1.3.6.1.4.1.22222.4.1.1</snmp_oid> <key>temperature.sensor[1]</key> <delay>60s</delay> <history>90d</history> <trends>365d</trends> <value_type>3</value_type> <data_type>0</data_type> <units> C</units> <application>Temperature</application> </item> <item> <name>Power Supply 1 voltage</name> <type>4</type> <snmp_community></snmp_community> <snmp_oid>.1.3.6.1.4.1.22222.6.1.1</snmp_oid> <key>power.supply.voltage[1]</key> <delay>60s</delay> <history>90d</history> <trends>365d</trends> <value_type>4</value_type> <data_type>0</data_type> <units> V</units> <application>Power Supply</application> </item> </items> <discovery_rules> <discovery_rule> <name>Disks discovery</name> <type>0</type> <key>system.disks.discovery</key> <delay>3600s</delay> <history>90d</history> <trends>365d</trends> <status>0</status> <allowed_hosts></allowed_hosts> <filter> <evaltype>0</evaltype> <conditions> <condition> <conditiontype>2</conditiontype> <operator>2</operator> <value></value> </condition> </conditions> </filter> <iprange>192.168.1.1/24</iprange> <lifetime>30d</lifetime> <item_prototypes> <item_prototype> <name>Free space on {#FSNAME}</name> <type>0</type> <snmp_community></snmp_community> <snmp_oid>1.3.6.1.4.1.2021.9.1.6.{#FSINDEX}</snmp_oid> <key>vfs.fs.size[{#FSNAME},free]</key> <delay>300s</delay> <history>90d</history> <trends>365d</trends> <value_type>3</value_type> <data_type>0</data_type> <units> B</units> <application>Disks</application> </item_prototype> </item_prototypes> </discovery_rule> </discovery_rules> </host> </hosts> </zabbix_export> ``` 请注意,此模板可能需要根据你的具体环境进行修改和调整。

相关推荐

最新推荐

recommend-type

zabbix监控4.4升级至5.0的详细教程

主要介绍了zabbix监控4.4升级至5.0的详细教程,本文给大家介绍的非常详细,对大家的学习或工作具有一定的参考借鉴价值,需要的朋友可以参考下
recommend-type

Python从ZabbixAPI获取信息及实现Zabbix-API 监控的方法

主要介绍了Python从ZabbixAPI获取信息及实现Zabbix-API 监控的方法,需要的朋友可以参考下
recommend-type

zabbix监控环境-安装+基本配置+微信告警

zabbix([`zæbiks])是一个基于WEB界面的提供分布式系统监视以及网络监视功能的企业级的开源解决方案。 zabbix能监视各种网络参数,保证服务器系统的安全运营;并提供灵活的通知机制以让系统管理员快速定位/解决...
recommend-type

使用Python脚本zabbix自定义key监控oracle连接状态

主要介绍了使用Python脚本zabbix自定义key监控oracle连接状态,本文给大家介绍的非常详细,具有一定的参考借鉴价值,需要的朋友可以参考下
recommend-type

zabbix-4.0监控 使用手册.docx

基于linux系统的分布式监控工具,兼具web页面,功能强大,操作简单,手册描述了部署方式及使用方式。
recommend-type

zigbee-cluster-library-specification

最新的zigbee-cluster-library-specification说明文档。
recommend-type

管理建模和仿真的文件

管理Boualem Benatallah引用此版本:布阿利姆·贝纳塔拉。管理建模和仿真。约瑟夫-傅立叶大学-格勒诺布尔第一大学,1996年。法语。NNT:电话:00345357HAL ID:电话:00345357https://theses.hal.science/tel-003453572008年12月9日提交HAL是一个多学科的开放存取档案馆,用于存放和传播科学研究论文,无论它们是否被公开。论文可以来自法国或国外的教学和研究机构,也可以来自公共或私人研究中心。L’archive ouverte pluridisciplinaire
recommend-type

实现实时数据湖架构:Kafka与Hive集成

![实现实时数据湖架构:Kafka与Hive集成](https://img-blog.csdnimg.cn/img_convert/10eb2e6972b3b6086286fc64c0b3ee41.jpeg) # 1. 实时数据湖架构概述** 实时数据湖是一种现代数据管理架构,它允许企业以低延迟的方式收集、存储和处理大量数据。与传统数据仓库不同,实时数据湖不依赖于预先定义的模式,而是采用灵活的架构,可以处理各种数据类型和格式。这种架构为企业提供了以下优势: - **实时洞察:**实时数据湖允许企业访问最新的数据,从而做出更明智的决策。 - **数据民主化:**实时数据湖使各种利益相关者都可
recommend-type

2. 通过python绘制y=e-xsin(2πx)图像

可以使用matplotlib库来绘制这个函数的图像。以下是一段示例代码: ```python import numpy as np import matplotlib.pyplot as plt def func(x): return np.exp(-x) * np.sin(2 * np.pi * x) x = np.linspace(0, 5, 500) y = func(x) plt.plot(x, y) plt.xlabel('x') plt.ylabel('y') plt.title('y = e^{-x} sin(2πx)') plt.show() ``` 运行这段
recommend-type

JSBSim Reference Manual

JSBSim参考手册,其中包含JSBSim简介,JSBSim配置文件xml的编写语法,编程手册以及一些应用实例等。其中有部分内容还没有写完,估计有生之年很难看到完整版了,但是内容还是很有参考价值的。