zabbix硬件监控通用模版

zabbix_export:
  version: '6.0'
  templates:
    -
      uuid: 8638ddead0a0416297455d72ecdcd076
      template: 'Template of Snmp RuiJie General'
      name: 'Ruijie硬件监控'
      groups:
        -
          name: Templates/Network devices
      items:
        -
          uuid: 063d2bb3edd64113a95d0215fdceaf0c
          name: CPU使用率(1min内)
          type: SNMP_AGENT
          snmp_oid: .1.3.6.1.4.1.4881.1.1.10.2.36.1.1.2.0
          key: 'CPUUsage[last1min]'
          units: '%'
          tags:
            -
              tag: Application
              value: 性能
        -
          uuid: 700666feb3ef43feb68523ca55640fbb
          name: CPU使用率(5min内)
          type: SNMP_AGENT
          snmp_oid: .1.3.6.1.4.1.4881.1.1.10.2.36.1.1.3.0
          key: CPUUsage_last5min
          units: '%'
          tags:
            -
              tag: Application
              value: 性能
        -
          uuid: 341e2cb7372d4cf49b2afd5a045739cb
          name: CPU使用率(5s内)
          type: SNMP_AGENT
          snmp_oid: .1.3.6.1.4.1.4881.1.1.10.2.36.1.1.1.0
          key: CPUUsage_last5sec
          units: '%'
          tags:
            -
              tag: Application
              value: 性能
        -
          uuid: 236a8292058745269e3b166c0c7b696b
          name: 序列号
          type: SNMP_AGENT
          snmp_oid: enterprises.4881.1.1.10.2.1.1.24.0
          key: dev.serial
          delay: 1d
          history: 7d
          trends: '0'
          value_type: CHAR
          tags:
            -
              tag: Application
              value: 常规
        -
          uuid: 2e07dbe2cbb349a3b1ac3d4bb6b0ebb3
          name: 软件版本
          type: SNMP_AGENT
          snmp_oid: enterprises.4881.1.1.10.2.1.1.2.0
          key: dev.software.version
          delay: 1d
          history: 7d
          trends: '0'
          value_type: CHAR
          tags:
            -
              tag: Application
              value: 常规
        -
          uuid: f4309682963647a39f32fc2b7a3a8aca
          name: 固件版本
          type: SNMP_AGENT
          snmp_oid: enterprises.4881.1.1.10.2.1.1.3.0
          key: dev.version
          delay: 1d
          history: 7d
          trends: '0'
          value_type: CHAR
          tags:
            -
              tag: Application
              value: 常规
        -
          uuid: 635e552e732e41ffaa803f1a8757f5c0
          name: 空闲内存(KB/B)
          type: SNMP_AGENT
          snmp_oid: .1.3.6.1.4.1.4881.1.1.10.2.35.1.1.1.8.1
          key: MemoryFree
          units: B
          description: 不同型号锐捷返回内存单位可能为B/KB,请根据具体情况对进程的倍率调整
          tags:
            -
              tag: Application
              value: 性能
        -
          uuid: ed93bc3565aa4b56b3a07828feea8c8e
          name: 内存大小(KB/B)
          type: SNMP_AGENT
          snmp_oid: .1.3.6.1.4.1.4881.1.1.10.2.35.1.1.1.6.1
          key: MemorySize
          units: B
          description: 不同型号锐捷返回内存单位可能为B/KB,请根据具体情况对进程的倍率调整
          tags:
            -
              tag: Application
              value: 性能
        -
          uuid: 5a03424f10484a058cb8ddf3535027c0
          name: 内存使用率
          type: SNMP_AGENT
          snmp_oid: .1.3.6.1.4.1.4881.1.1.10.2.35.1.1.1.3.1
          key: MemoryUsage
          units: '%'
          tags:
            -
              tag: Application
              value: 性能
        -
          uuid: d22fa0e0d02b4619957f25410854f9b5
          name: 已用内存(KB/B)
          type: SNMP_AGENT
          snmp_oid: .1.3.6.1.4.1.4881.1.1.10.2.35.1.1.1.7.1
          key: MemoryUsed
          units: B
          description: 不同型号锐捷返回内存单位可能为B/KB,请根据具体情况对进程的倍率调整
          tags:
            -
              tag: Application
              value: 性能
      discovery_rules:
        -
          uuid: 8dd330fed0fb4b6da2d3977aa18bd6f7
          name: 设备信息
          type: SNMP_AGENT
          snmp_oid: 'discovery[{#SNMPVALUE},enterprises.4881.1.1.10.2.1.1.25.1.1]'
          key: dev.info
          delay: 1h
          lifetime: 10d
          description: 索引号
          item_prototypes:
            -
              uuid: 3c6fdbdf0c7949a3b5a54335e28d4f97
              name: '设备 {#SNMPVALUE} 描述'
              type: SNMP_AGENT
              snmp_oid: 'enterprises.4881.1.1.10.2.1.1.25.1.2.{#SNMPINDEX}'
              key: 'dev.descr[{#SNMPVALUE}]'
              delay: 1d
              history: 7d
              trends: '0'
              value_type: CHAR
              tags:
                -
                  tag: Application
                  value: 设备信息
            -
              uuid: b79ca4c03653448b8451ced5259b65d1
              name: '设备 {#SNMPVALUE} 固件版本'
              type: SNMP_AGENT
              snmp_oid: 'enterprises.4881.1.1.10.2.1.1.25.1.3.{#SNMPINDEX}'
              key: 'dev.firmware[{#SNMPVALUE}]'
              delay: 1d
              history: 7d
              trends: '0'
              value_type: CHAR
              tags:
                -
                  tag: Application
                  value: 设备信息
            -
              uuid: 7032ad545a494d0999c7d96957528e09
              name: '设备 {#SNMPVALUE} 序列号'
              type: SNMP_AGENT
              snmp_oid: 'enterprises.4881.1.1.10.2.1.1.25.1.7.{#SNMPINDEX}'
              key: 'dev.serial[{#SNMPVALUE}]'
              delay: 1d
              history: 7d
              trends: '0'
              value_type: CHAR
              tags:
                -
                  tag: Application
                  value: 设备信息
            -
              uuid: fc460bc7750849f8bd3618e84afee954
              name: '设备 {#SNMPVALUE}系统版本'
              type: SNMP_AGENT
              snmp_oid: 'enterprises.4881.1.1.10.2.1.1.25.1.5.{#SNMPINDEX}'
              key: 'dev.version[{#SNMPVALUE}]'
              delay: 1d
              history: 7d
              trends: '0'
              value_type: CHAR
              tags:
                -
                  tag: Application
                  value: 设备信息
        -
          uuid: 149595da01db4a5a8fa64c0be30ed2c8
          name: 风扇
          type: SNMP_AGENT
          snmp_oid: 'discovery[{#SNMPVALUE},enterprises.4881.1.1.10.2.1.1.21.1.3]'
          key: fan
          delay: 1h
          lifetime: 10d
          item_prototypes:
            -
              uuid: 490b3576efee4bcea4d8ad7d37da7919
              name: '风扇{#SNMPVALUE} 状态'
              type: SNMP_AGENT
              snmp_oid: 'enterprises.4881.1.1.10.2.1.1.21.1.2.{#SNMPINDEX}'
              key: 'fan.status[FAN{#SNMPVALUE}]'
              delay: 60s
              history: 7d
              valuemap:
                name: '设备状态'
              tags:
                -
                  tag: Application
                  value: 风扇
              trigger_prototypes:
                -
                  uuid: 9d445c1b997f429aa207d7c9d0951c06
                  expression: 'last(/Template of Snmp RuiJie General/fan.status[FAN{#SNMPVALUE}])=1'
                  name: '设备 {HOST.NAME} 风扇 {#SNMPINDEX} 状态不正常'
                  priority: HIGH
                  description: |
                    4 - 正常
                    1 - 缺失
                  manual_close: 'YES'
        -
          uuid: 18f97fdf24d74c1d89ed59622329eadf
          name: 电源
          type: SNMP_AGENT
          snmp_oid: 'discovery[{#SNMPVALUE},enterprises.4881.1.1.10.2.1.1.18.1.3]'
          key: power
          delay: 1h
          lifetime: 10d
          item_prototypes:
            -
              uuid: 1497baabf4434998a385dbce6e93afda
              name: '电源 {#SNMPVALUE} 状态'
              type: SNMP_AGENT
              snmp_oid: 'enterprises.4881.1.1.10.2.1.1.18.1.2.{#SNMPINDEX}'
              key: 'power.status[{#SNMPVALUE}]'
              delay: 60s
              history: 7d
              valuemap:
                name: '设备状态'
              tags:
                -
                  tag: Application
                  value: 电源
              trigger_prototypes:
                -
                  uuid: 6c1aa6fe933942f78404740f9d9cd0fc
                  expression: 'last(/Template of Snmp RuiJie General/power.status[{#SNMPVALUE}])=1'
                  name: '设备 {HOST.NAME} 电源 {#SNMPINDEX} 状态不正常'
                  priority: HIGH
                  description: |
                    4 - 正常
                    1 - 缺失
                  manual_close: 'YES'
        -
          uuid: 99540e0902ec4f8cbf8a0e8080e68da0
          name: 风扇模块
          type: SNMP_AGENT
          snmp_oid: 'discovery[{#SNMPVALUE},enterprises.4881.1.1.10.2.1.1.42.1.1.1]'
          key: switch1.fan
          delay: 1h
          lifetime: 1d
          description: 模块名称
          item_prototypes:
            -
              uuid: 3b76d284ef7a464caa588c0771605895
              name: '风扇 {#SNMPINDEX} 序列号'
              type: SNMP_AGENT
              snmp_oid: 'enterprises.4881.1.1.10.2.1.1.42.1.9.1.{#SNMPINDEX}'
              key: 'switch1.fan.serial[{#SNMPINDEX}]'
              delay: 1d
              history: 7d
              trends: '0'
              value_type: CHAR
              tags:
                -
                  tag: Application
                  value: '交换机1 风扇模块'
            -
              uuid: e4a657565f69494b959adfb1ecfdcd22
              name: '风扇 {#SNMPINDEX} 当前转速'
              type: SNMP_AGENT
              snmp_oid: 'enterprises.4881.1.1.10.2.1.1.43.1.5.1.{#SNMPINDEX}.1'
              key: 'switch1.fan.speed[{#SNMPINDEX}]'
              delay: 60s
              history: 7d
              tags:
                -
                  tag: Application
                  value: '交换机1 风扇模块'
            -
              uuid: e92c07f09df74be09df755e54a872ecb
              name: '风扇 {#SNMPINDEX} 状态'
              type: SNMP_AGENT
              snmp_oid: 'enterprises.4881.1.1.10.2.1.1.42.1.3.1.{#SNMPINDEX}'
              key: 'switch1.fan.status[{#SNMPINDEX}]'
              delay: 60s
              history: 7d
              valuemap:
                name: '设备状态'
              tags:
                -
                  tag: Application
                  value: '交换机1 风扇模块'
              trigger_prototypes:
                -
                  uuid: 60b6169cea874578ac5d08e85b800a53
                  expression: 'last(/Template of Snmp RuiJie General/switch1.fan.status[{#SNMPINDEX}])=1'
                  name: '设备 {HOST.NAME} 风扇 {#SNMPINDEX} 状态不正常'
                  priority: HIGH
                  description: |
                    4 - 正常
                    1 - 缺失
                  manual_close: 'YES'
            -
              uuid: 9833551865284d498a9e7ef35b43a582
              name: '风扇 {#SNMPINDEX} 转速上限'
              type: SNMP_AGENT
              snmp_oid: 'enterprises.4881.1.1.10.2.1.1.43.1.6.1.{#SNMPINDEX}.1'
              key: 'swith1.fan.upper[{#SNMPINDEX}]'
              delay: 1d
              history: 7d
              value_type: FLOAT
              tags:
                -
                  tag: Application
                  value: '交换机1 风扇模块'
            -
              uuid: 13fb8a5bc3f74663b6219911732b6a15
              name: '风扇 {#SNMPINDEX} 版本'
              type: SNMP_AGENT
              snmp_oid: 'enterprises.4881.1.1.10.2.1.1.42.1.8.1.{#SNMPINDEX}'
              key: 'swithc1.fan.version[{#SNMPINDEX}]'
              delay: 1d
              history: 7d
              trends: '0'
              value_type: CHAR
              tags:
                -
                  tag: Application
                  value: '交换机1 风扇模块'
        -
          uuid: ebc3b1034caf4bc296ee7cf0c8e2148f
          name: 电源适配器模块
          type: SNMP_AGENT
          snmp_oid: 'discovery[{#SNMPVALUE},enterprises.4881.1.1.10.2.1.1.41.1.1.1]'
          key: switch1.module
          delay: 1h
          lifetime: 1d
          description: 模板名称
          item_prototypes:
            -
              uuid: abc04c479e12499187b08eda01d1a219
              name: '电源模块 {#SNMPVALUE} 额定电流'
              type: SNMP_AGENT
              snmp_oid: 'enterprises.4881.1.1.10.2.1.1.41.1.13.1.{#SNMPINDEX}'
              key: 'switch1.power.amp[{#SNMPINDEX}]'
              delay: 1d
              history: 7d
              units: A
              tags:
                -
                  tag: Application
                  value: '交换机1 电源模块'
            -
              uuid: 925a248f536642abb784ea7f05a294e4
              name: '电源模块 {#SNMPVALUE} 序列号'
              type: SNMP_AGENT
              snmp_oid: 'enterprises.4881.1.1.10.2.1.1.41.1.8.1.{#SNMPINDEX}'
              key: 'switch1.power.serial[{#SNMPINDEX}]'
              delay: 1d
              history: 7d
              trends: '0'
              value_type: CHAR
              tags:
                -
                  tag: Application
                  value: '交换机1 电源模块'
            -
              uuid: c323de25d40b4deea20027d6c64ed455
              name: '电源模块 {#SNMPVALUE} 状态'
              type: SNMP_AGENT
              snmp_oid: 'enterprises.4881.1.1.10.2.1.1.41.1.3.1.{#SNMPINDEX}'
              key: 'switch1.power.status[{#SNMPINDEX}]'
              delay: 60s
              history: 7d
              valuemap:
                name: '设备状态'
              tags:
                -
                  tag: Application
                  value: '交换机1 电源模块'
              trigger_prototypes:
                -
                  uuid: 680873cd89e748c08ce74c397a3a2996
                  expression: 'last(/Template of Snmp RuiJie General/switch1.power.status[{#SNMPINDEX}])=1'
                  name: '设备 {HOST.NAME} 风扇 {#SNMPINDEX} 状态不正常'
                  priority: HIGH
                  manual_close: 'YES'
            -
              uuid: 00bf5f1b113a4583bb435184cadd5527
              name: '电源模块 {#SNMPVALUE} 额定功率'
              type: SNMP_AGENT
              snmp_oid: 'enterprises.4881.1.1.10.2.1.1.41.1.10.1.{#SNMPINDEX}'
              key: 'switch1.power.upper[{#SNMPINDEX}]'
              delay: 1d
              history: 7d
              units: W
              tags:
                -
                  tag: Application
                  value: '交换机1 电源模块'
            -
              uuid: 1c7dbc0b7b744cf094cb097158a7fc65
              name: '电源模块 {#SNMPVALUE} 当前功率'
              type: SNMP_AGENT
              snmp_oid: 'enterprises.4881.1.1.10.2.1.1.41.1.11.1.{#SNMPINDEX}'
              key: 'switch1.power.value[{#SNMPINDEX}]'
              delay: 60s
              history: 7d
              units: W
              tags:
                -
                  tag: Application
                  value: '交换机1 电源模块'
            -
              uuid: c32d85f4cedb4c9d95e41cebbb63a0fb
              name: '电源模块 {#SNMPVALUE} 版本'
              type: SNMP_AGENT
              snmp_oid: 'enterprises.4881.1.1.10.2.1.1.41.1.7.1.{#SNMPINDEX}'
              key: 'switch1.power.version[{#SNMPINDEX}]'
              delay: 1d
              history: 7d
              trends: '0'
              value_type: CHAR
              tags:
                -
                  tag: Application
                  value: '交换机1 电源模块'
            -
              uuid: 2421ccd9dfa9406ea400323513ecbef9
              name: '电源模块 {#SNMPVALUE} 当前电压'
              type: SNMP_AGENT
              snmp_oid: 'enterprises.4881.1.1.10.2.1.1.41.1.16.1.{#SNMPINDEX}'
              key: 'switch1.power.voltage[{#SNMPINDEX}]'
              delay: 60s
              history: 7d
              value_type: FLOAT
              units: V
              tags:
                -
                  tag: Application
                  value: '交换机1 电源模块'
        -
          uuid: 452526d75ef64bd6b057051ae1f315e0
          name: 其他模块
          type: SNMP_AGENT
          snmp_oid: 'discovery[{#SNMPVALUE},enterprises.4881.1.1.10.2.1.1.44.1.4.1.0]'
          key: switch1.other
          delay: 1h
          lifetime: 1d
          description: 模块名称
          item_prototypes:
            -
              uuid: 2c195795d44946a98c96446afe60beee
              name: '模块 {#SNMPVALUE} 温度上限值'
              type: SNMP_AGENT
              snmp_oid: 'enterprises.4881.1.1.10.2.1.1.44.1.7.1.0.{#SNMPINDEX}'
              key: 'switch1.temp.upper[{#SNMPVALUE}]'
              delay: 1d
              history: 7d
              units:tags:
                -
                  tag: Application
                  value: '交换机1 其他模块'
            -
              uuid: 7d02885a606d42fb88da3ec2ca1cd2fe
              name: '模块 {#SNMPVALUE} 当前温度'
              type: SNMP_AGENT
              snmp_oid: 'enterprises.4881.1.1.10.2.1.1.44.1.6.1.0.{#SNMPINDEX}'
              key: 'switch1.temp.value[{#SNMPVALUE}]'
              delay: 60s
              history: 7d
              units:tags:
                -
                  tag: Application
                  value: '交换机1 其他模块'
              trigger_prototypes:
                -
                  uuid: 3d1208a765c641749e80c97e160a1e66
                  expression: 'sum(/Template of Snmp RuiJie General/switch1.temp.value[{#SNMPVALUE}],300s)>80'
                  name: '设备 {HOST.NAME} 模块 {#SNMPVALUE} 温度持续5分钟大于80℃'
                  priority: HIGH
                  manual_close: 'YES'
            -
              uuid: 865318980c7d4fed9aa20a913b6b151b
              name: '模块 {#SNMPVALUE} 当前电压'
              type: SNMP_AGENT
              snmp_oid: 'enterprises.4881.1.1.10.2.1.1.44.1.5.1.0.{#SNMPINDEX}'
              key: 'switch1.voltage[{#SNMPVALUE}]'
              delay: 60s
              history: 7d
              units: V
              tags:
                -
                  tag: Application
                  value: '交换机1 其他模块'
      valuemaps:
        -
          uuid: 2851250bd54e4c98b0bda1c53c55fefa
          name: '设备状态'
          mappings:
            -
              value: '1'
              newvalue: 缺失
            -
              value: '4'
              newvalue: 正常
  • 18
    点赞
  • 18
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
Zabbix监控IIS服务器,我们可以使用Zabbix提供的Windows模板来实现。以下是使用Zabbix监控IIS的步骤: 1. 在Zabbix服务器上导入Windows模板:首先,我们需要在Zabbix服务器上导入和配置Windows模板。打开Zabbix Web界面,在“配置”选项卡下,点击“模板”,然后点击“导入”按钮。选择合适的Windows模板并导入。 2. 配置IIS服务器监控:在Zabbix监控IIS服务器,我们需要在目标Windows主机上安装Zabbix的Agent。确保Zabbix Agent与Zabbix服务器通信。在IIS服务器上安装Zabbix的Agent,并配置Agent的配置文件,指定Zabbix服务器的IP地址和端口。 3. 配置监控项:Zabbix提供了多个监控项来监控IIS服务器的性能指标。在Zabbix Web界面上,点击“配置”选项卡下的“模板”,找到导入的Windows模板。在“监控项”选项卡下,添加合适的监控项,例如HTTP响应时间、连接数和访问速率等。 4. 配置触发器:为了及时发现问题,我们需要配置触发器。在Zabbix Web界面上,进入导入的Windows模板,点击“触发器”选项卡,并添加适当的触发器。例如,当HTTP响应时间超过阈值或连接数超出设定范围时,触发警报。 5. 配置图形和仪表盘:为了更直观地展现IIS服务器的性能指标,我们可以配置图形和仪表盘。在Zabbix Web界面上,进入导入的Windows模板,点击“图形”选项卡,添加适当的图形。在“仪表盘”选项卡下,创建自定义仪表盘以展示所需的IIS监控信息。 通过以上步骤,我们就可以使用Zabbix监控IIS服务器了。Zabbix提供了丰富的功能和可定制性,帮助我们实时监控和管理IIS服务器的性能和稳定性,以保证应用程序的正常运行。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值