• 自学Zabbix之路15.2 Zabbix数据库表结构简单解析-Items表


    点击返回:自学Zabbix之路

    点击返回:自学Zabbix4.0之路

    点击返回:自学zabbix集锦

    自学Zabbix之路15.2 Zabbix数据库表结构简单解析-Items表

     Items表记录了item的所有设置。在Zabbix中,最多的操作就是对items的。如添加监控项、删除监控项、更新监控配置等。

     

    itemid:item的id 

    type:item的type,和前端见面配置item的type的对应。数据库中,这一列的值是0到17的数字,分别代表不同的类型:

    •  0:Zabbix agent 
    •  1:SNMPv1 agent 
    •  2:Zabbix trapper 
    •  3:simple check 
    •  4:SNMPv2 agent 
    •  5:Zabbix internal 
    •  6:SNMPv3 agent 
    •  7:Zabbix agent(active) 
    •  8:Zabbix aggregate  
    •  9:web item 
    • 10:external check 
    • 11:database monitor 
    • 12:IPMI agent 
    • 13:SSH agent 
    • 14:TELNET agent 
    • 15:calculated 
    • 16:JMX agent 
    • 17:SNMP trap 

    hostid:item所在的host的hostid。如果该item是属于template,那么这里显示的是templateid 

    name:item的名字

    key_:item的key 

    delay:这里的delay,实际就是在配置item时候配置的“Update Interval”

    trends:前端配置中的存储trend的时间

    status:item的状态

    • 0:item是enabled状态
    • 1:item是disabled状态
    • 3:numeric unsigned
    • 4:text

    value_type:item返回值的类型,配置item时候配置的“Type of Information”

    trapper_hosts:当item为trapper类型的时候,记录了也许发送的host

    units: item配置界面中的‘units’

    multiplier:针对这个item是否启用了 ’custom multiplier‘

    delta: item配置界面上的‘store value’

    snmpv3*: 都是和SNMP3相关的配置

    formula:页面设置item时候“User custom multiplier”配置的数字

    error:item的错误信息

    lastlogsize:针对log和logrt类型的items使用时,记录上衣系读取时日志文件的大小

    logtimefmt:针对log和logrt有效,配置日志中时间的格式

    templateid:记录Host上item对应的在template上的item的itemid

    valuemapid:Item配置界面中选择“valuemap”的id

    delay_flex:Item配置界面中选择“Fexible interval”的id

    params:当需要额外参数item时,记录这些参数的地方

    ipmi_sensor:使用IPMI类型的items需要设定的参数

    data_type:Item配置界面中‘datatype’ 选择item返回的数据类型

    authtype:使用SSHI类型的items时有效,选择SSH登陆的类型

    username:使用SSHI类型的items时有效,选择SSH登陆的用户名

    password:使用SSHI类型的items时有效,选择SSH登陆的密码

    publickey:使用SSHI类型的items时有效,但是只有当authtype设置we使用publickey时才有效

    privatekey:使用SSHI类型的items时有效,但是只有当authtype设置we使用privatekey时才有效

    mtime:针对log和logrt有效,配置日志文件的修改时间

    flags:

    • 0:表示一个普通的item
    • 4:表示是discover生成的item

    interfaceid:当使用hosts类型的item时生效,用来选择host上不同的interface

    port:使用SNMP监控室使用的端口号

    description:Item配置界面上的“Description”

    inventory_link:如果这个item的值要座位host的inventory,这里填写的是对应的inventoied

    state:当前item的状态

    • 0:正常
    • 1:not supported 
  • 相关阅读:
    acwing2-01背包问题
    背包问题(转载)
    考研易错点 二叉树的度和图的度
    考研易错点*s++
    考研复习易错点数组指针和指针数组
    Android Crash Learning
    Mysql5.7中的分组排序
    康师傅JVM:StringTable(十三)
    RocketMQ集群搭建
    RocketMq的单机安装
  • 原文地址:https://www.cnblogs.com/yaoyaojcy/p/8267445.html
Copyright © 2020-2023  润新知