zoukankan      html  css  js  c++  java
  • Linux:Day48(下) zabbix使用进阶

    zabbix提供网络发现功能:network discovery

      HTTP、ICMP、SSH、LDAP、TCP、SNMP、Telnet、Zabbix_agent扫描指定网络内的主机;

      一旦主机被发现,如果对其进行操作,将由action来决定;

      LLD:Low Level Ddiscovery

      此二者的功能:

        自动添加或移除主机、将主机链接至模板或删除链接、添加监控项、将主机添加至分组、定义触发器、执行远程脚本;

      网络发现有两个步骤:

        discovery --> action

        发现中的事件:

          Service Discovered,Service Lost,Service Up,Service Down

          Host Discovered,Host List,Host Up,Host Down

        actions:

          Sending notifications

          Adding/removing hosts

          Enabling/disabling hosts

          Removing hosts from a group

          Linking hosts to/unlinking from a template

          Executing remote scripts

    auto_registration:

      Active Agent Auto-Registration

      HostMetadata

      支持使用agent(active)类型的item key;

      配置过程:

        (1) 定义agent端:

          ServerActive=

          Server=

          Hostname=

          ListenIP=设置为本机某特定IP;

          ListenPort=

          HostMetadata=

          HostMetadataItem=item key,一般使用system.uname

        (2) 配置action,要求其事件来源为auto_registration

    LLD:Low Level Discovery

      自动发现特定变量的名称;

        #IFNAME,#FSNAME

      添加针对变量的Items;

      返回值为JSON

  • 相关阅读:
    一个datagrid中嵌入checkBox典型的例子
    堆排序算法
    堆排序(利用最大堆)
    动态代理模式的实现
    [转载]C#如何实现对外部程序的动态调用
    9.Jmeter 多个threadgroup 中的配置元件会一次性进行初始化
    二十七。
    三十。接口2
    三十三。日志
    大道至简读后感
  • 原文地址:https://www.cnblogs.com/sq5288/p/11589394.html
Copyright © 2011-2022 走看看