Zabbix3.0 配置模板监控windows agent端的内存及磁盘容量并触发报警。
来源:互联网 发布:网络运营学校 编辑:程序博客网 时间:2024/05/20 01:09
记录一下,存为xml文件就可以导入使用了。这里配了监控内存百分比 内存使用量byte 自动发现agent主机的磁盘并监控磁盘使用百分比、使用容量、空闲容量。<?xml version="1.0" encoding="UTF-8"?><zabbix_export> <version>3.0</version> <date>2017-09-28T07:30:18Z</date> <groups> <group> <name>win</name> </group> </groups> <templates> <template> <template>For Windows Agent</template> <name>A 监控windows agent端的模板</name> <description/> <groups> <group> <name>win</name> </group> </groups> <applications> <application> <name>FileSystem</name> </application> <application> <name>Memory</name> </application> </applications> <items> <item> <name>内存使用百分比</name> <type>0</type> <snmp_community/> <multiplier>0</multiplier> <snmp_oid/> <key>vm.memory.size[pused]</key> <delay>60</delay> <history>90</history> <trends>365</trends> <status>0</status> <value_type>0</value_type> <allowed_hosts/> <units>%</units> <delta>0</delta> <snmpv3_contextname/> <snmpv3_securityname/> <snmpv3_securitylevel>0</snmpv3_securitylevel> <snmpv3_authprotocol>0</snmpv3_authprotocol> <snmpv3_authpassphrase/> <snmpv3_privprotocol>0</snmpv3_privprotocol> <snmpv3_privpassphrase/> <formula>1</formula> <delay_flex/> <params/> <ipmi_sensor/> <data_type>0</data_type> <authtype>0</authtype> <username/> <password/> <publickey/> <privatekey/> <port/> <description/> <inventory_link>0</inventory_link> <applications> <application> <name>Memory</name> </application> </applications> <valuemap/> <logtimefmt/> </item> <item> <name>内存使用量</name> <type>0</type> <snmp_community/> <multiplier>0</multiplier> <snmp_oid/> <key>vm.memory.size[used]</key> <delay>60</delay> <history>90</history> <trends>365</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units>B</units> <delta>0</delta> <snmpv3_contextname/> <snmpv3_securityname/> <snmpv3_securitylevel>0</snmpv3_securitylevel> <snmpv3_authprotocol>0</snmpv3_authprotocol> <snmpv3_authpassphrase/> <snmpv3_privprotocol>0</snmpv3_privprotocol> <snmpv3_privpassphrase/> <formula>1</formula> <delay_flex/> <params/> <ipmi_sensor/> <data_type>0</data_type> <authtype>0</authtype> <username/> <password/> <publickey/> <privatekey/> <port/> <description/> <inventory_link>0</inventory_link> <applications> <application> <name>Memory</name> </application> </applications> <valuemap/> <logtimefmt/> </item> </items> <discovery_rules> <discovery_rule> <name>自动发现文件系统(磁盘)</name> <type>0</type> <snmp_community/> <snmp_oid/> <key>vfs.fs.discovery</key> <delay>1800</delay> <status>0</status> <allowed_hosts/> <snmpv3_contextname/> <snmpv3_securityname/> <snmpv3_securitylevel>0</snmpv3_securitylevel> <snmpv3_authprotocol>0</snmpv3_authprotocol> <snmpv3_authpassphrase/> <snmpv3_privprotocol>0</snmpv3_privprotocol> <snmpv3_privpassphrase/> <delay_flex/> <params/> <ipmi_sensor/> <authtype>0</authtype> <username/> <password/> <publickey/> <privatekey/> <port/> <filter> <evaltype>0</evaltype> <formula/> <conditions> <condition> <macro>{#FSTYPE}</macro> <value>@File systems for discovery</value> <operator>8</operator> <formulaid>A</formulaid> </condition> </conditions> </filter> <lifetime>30</lifetime> <description/> <item_prototypes> <item_prototype> <name>磁盘剩余可用容量:$1</name> <type>0</type> <snmp_community/> <multiplier>0</multiplier> <snmp_oid/> <key>vfs.fs.size[{#FSNAME},free]</key> <delay>600</delay> <history>90</history> <trends>365</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units>B</units> <delta>0</delta> <snmpv3_contextname/> <snmpv3_securityname/> <snmpv3_securitylevel>0</snmpv3_securitylevel> <snmpv3_authprotocol>0</snmpv3_authprotocol> <snmpv3_authpassphrase/> <snmpv3_privprotocol>0</snmpv3_privprotocol> <snmpv3_privpassphrase/> <formula>1</formula> <delay_flex/> <params/> <ipmi_sensor/> <data_type>0</data_type> <authtype>0</authtype> <username/> <password/> <publickey/> <privatekey/> <port/> <description/> <inventory_link>0</inventory_link> <applications> <application> <name>FileSystem</name> </application> </applications> <valuemap/> <logtimefmt/> <application_prototypes/> </item_prototype> <item_prototype> <name>已用磁盘空间百分比: $1</name> <type>0</type> <snmp_community/> <multiplier>0</multiplier> <snmp_oid/> <key>vfs.fs.size[{#FSNAME},pused]</key> <delay>600</delay> <history>90</history> <trends>365</trends> <status>0</status> <value_type>0</value_type> <allowed_hosts/> <units>%</units> <delta>0</delta> <snmpv3_contextname/> <snmpv3_securityname/> <snmpv3_securitylevel>0</snmpv3_securitylevel> <snmpv3_authprotocol>0</snmpv3_authprotocol> <snmpv3_authpassphrase/> <snmpv3_privprotocol>0</snmpv3_privprotocol> <snmpv3_privpassphrase/> <formula>1</formula> <delay_flex/> <params/> <ipmi_sensor/> <data_type>0</data_type> <authtype>0</authtype> <username/> <password/> <publickey/> <privatekey/> <port/> <description/> <inventory_link>0</inventory_link> <applications> <application> <name>FileSystem</name> </application> </applications> <valuemap/> <logtimefmt/> <application_prototypes/> </item_prototype> <item_prototype> <name>磁盘已使用容量: $1</name> <type>0</type> <snmp_community/> <multiplier>0</multiplier> <snmp_oid/> <key>vfs.fs.size[{#FSNAME},used]</key> <delay>600</delay> <history>90</history> <trends>365</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units>B</units> <delta>0</delta> <snmpv3_contextname/> <snmpv3_securityname/> <snmpv3_securitylevel>0</snmpv3_securitylevel> <snmpv3_authprotocol>0</snmpv3_authprotocol> <snmpv3_authpassphrase/> <snmpv3_privprotocol>0</snmpv3_privprotocol> <snmpv3_privpassphrase/> <formula>1</formula> <delay_flex/> <params/> <ipmi_sensor/> <data_type>0</data_type> <authtype>0</authtype> <username/> <password/> <publickey/> <privatekey/> <port/> <description/> <inventory_link>0</inventory_link> <applications> <application> <name>FileSystem</name> </application> </applications> <valuemap/> <logtimefmt/> <application_prototypes/> </item_prototype> </item_prototypes> <trigger_prototypes> <trigger_prototype> <expression>{For Windows Agent:vfs.fs.size[{#FSNAME},pused].last()}>85</expression> <name>已用磁盘空间百分比: {#FSNAME} > 85%</name> <url/> <status>0</status> <priority>2</priority> <description/> <type>0</type> <dependencies/> </trigger_prototype> </trigger_prototypes> <graph_prototypes/> <host_prototypes/> </discovery_rule> </discovery_rules> <macros/> <templates/> <screens/> </template> </templates> <triggers> <trigger> <expression>{For Windows Agent:vm.memory.size[pused].last()}>85</expression> <name>内存使用百分比达到告警阈值:>85%</name> <url/> <status>0</status> <priority>2</priority> <description/> <type>0</type> <dependencies/> </trigger> </triggers></zabbix_export>
阅读全文
0 0
- Zabbix3.0 配置模板监控windows agent端的内存及磁盘容量并触发报警。
- Zabbix3.0.4监控Windows的CPU使用百分比并在CPU使用率超过90%触发报警
- Zabbix3.0 配置自动发现agent主机并添加监控
- zabbix3.0 server zabbix appliance 监控windows agent 并邮件提醒
- zabbix3.0.2 监控mysql服务down的时候不触发报警的问题修复
- windows远程磁盘容量监控
- zabbix3.0 之短信报警配置
- zabbix系列(九)zabbix3.0实现自动触发zabbix-agent端shell脚本任务
- 【zabbix教程四】——zabbix3.0监控磁盘IO与自定义模板
- 【zabbix教程四】——zabbix3.0监控磁盘IO与自定义模板
- zabbix3.0邮件报警
- python监控windows的cpu,内存,磁盘
- zabbix监控之二---zabbix导入模板,配置监控项、触发器及报警媒介
- zabbix3.0.4邮件报警配置
- zabbix3.2邮件报警配置
- 磁盘监控报警-nagios
- 编译安装zabbix3.0 agent端
- 编译安装zabbix3.0 agent端
- 做到这一点,你也可以成为优秀的程序员
- Spring boot 整合RabbitMq有简单到深入
- linux创建线程和windows创建线程对比
- qtableview + QAbstractTableModel 表头排序
- Java陷阱一箩筐----面试题集
- Zabbix3.0 配置模板监控windows agent端的内存及磁盘容量并触发报警。
- jquery ajax参数详解
- 将后台JSON数据填充Form表单
- apache2+djiango+logging configuration
- 网络安全事件频发,怎么保护自己的生物识别信息?
- Manifest merger failed with multiple errors, Error:Execution failed for task ':app:processDebu
- tcp/ip协议栈--socket API 之accept()
- Cookie实现记住密码的功能
- Android实现RecyclerView侧滑删除和长按拖拽-ItemTouchHelper