zoukankan      html  css  js  c++  java
  • Zabbix agentd 命令

    #zabbix_agentd -p 查看zabbix所有的内置监控项

    [root@nod01 zabbix_agentd.d]# zabbix_agentd -p
    agent.hostname [s|Zabbix server]
    agent.ping [u|1]
    agent.version [s|3.0.20]
    system.localtime[utc] [u|1533566990]
    system.run[echo test] [m|ZBX_NOTSUPPORTED] [Remote commands are not enabled.]
    web.page.get[localhost,,80] [m|ZBX_NOTSUPPORTED] [HTTP get error: cannot connect to [[localhost]:80]: [111] Connection refused]
    web.page.perf[localhost,,80] [m|ZBX_NOTSUPPORTED] [HTTP get error: cannot connect to [[localhost]:80]: [111] Connection refused]
    web.page.regexp[localhost,,80,OK] [m|ZBX_NOTSUPPORTED] [HTTP get error: cannot connect to [[localhost]:80]: [111] Connection refused]
    vfs.file.size[/etc/passwd] [u|1080]

    root@nod01 zabbix_agentd.d]# zabbix_agentd -p | grep packages

    #环境说明10.0.0.34为server 10.0.0.33为agent

    #zabbix服务端安装10.0.0.34

    [root@zabbixserver ~]# yum -y install zabbix-get

    [root@zabbixserver ~]# zabbix_get -s 10.0.0.33 -k 'system.uptime'
    28598

    [root@zabbixserver ~]# zabbix_get -s 10.0.0.33 -k 'tps'
    0.55

    [root@zabbixserver ~]# zabbix_get -s 10.0.0.33 -k 'estab'
    3

  • 相关阅读:
    C#进行图片压缩
    C# ASHX生成验证码图片及校验
    SQL和MYSQL及数据库
    复制项目取消SVN
    SQL获取表结构的字段说明和结构
    SQL如何创建存储过程
    python 自带模块 os模块
    osi七层简介(通俗易懂)
    Python sys模块
    python 的装饰器
  • 原文地址:https://www.cnblogs.com/nodchen/p/9434133.html
Copyright © 2011-2022 走看看