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

  • 相关阅读:
    我们总在避免认知失调(转)
    我们搞开发的为什么会感觉到累(转)
    循环-11. 水仙花数(20)
    谷歌技术"三宝"之MapReduce
    oracle存储过程实例
    网络编程学习小结
    关于window.history.back()后退问题
    区间Dp 暴力枚举+动态规划 Hdu1081
    MongoDB入门简单介绍
    Windows8和MacOS10.9双系统安装及Mac经常使用软件安装--联想E49A
  • 原文地址:https://www.cnblogs.com/sq5288/p/11589394.html
Copyright © 2011-2022 走看看