以下表格是zabbix agent所支持的所有.docx

以下表格是zabbix agent所支持的所有.docx

ID:27228096

大小:31.12 KB

页数:18页

时间:2018-12-02

以下表格是zabbix agent所支持的所有.docx_第1页
以下表格是zabbix agent所支持的所有.docx_第2页
以下表格是zabbix agent所支持的所有.docx_第3页
以下表格是zabbix agent所支持的所有.docx_第4页
以下表格是zabbix agent所支持的所有.docx_第5页
资源描述:

《以下表格是zabbix agent所支持的所有.docx》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库

1、以下表格是zabbixagent所支持的所有.请大家一一过目,认识他们就行,不需要背下来。Key描述返回值参数详细说明agent.hostname返回被监控端名称字符串-返回配置文件中配置的被监控端的名称agent.ping检测被监控端是否存活1–运行中其他–未运行-使用函数nodata()检测客户端是否正在运行agent.versionzabbixagent版本字符串-例如返回:1.8.2kernel.maxfiles系统支持最大的openfiles整数kernel.maxproc系统支持最大的进程数量整数log[file,<

2、regexp>,,,,]监控日志文件Log.file–文件详细路径regexp–正则encoding–编码maxlines–zabbixagent向server或者proxy发送最大的行数。这个参数覆盖配置文件zabbxi_agentd.conf中的’MaxLinesPerSecond’  mode–可选值:all(默认),skip(跳过处理老数据).mode参数从2.0版本开始支持output–可选项,输出格式模板.Theescapesequenceisr

3、eplacedwiththematchedtextwhileanN(whereN=1…9)escapesequenceisreplacedwithNthmatchedgroup(oranemptystringiftheNexceedsthenumberofcapturedgroups).  Ifisleftempty–thewholelinecontainingthematchedtextisreturned.Notethatallglobalregularexpressiontypesexcept‘Resul

4、tisTRUE’alwaysreturnthewholematchedlineandtheparameterisignored.output是2.2中新加入的功能这个监控项只能设置为activecheck(主动模式).如果文件不存在或者没有相应的权限,那么监控项状态会转变为unsupported.示例:log[/var/log/syslog]log[/var/log/syslog,error]log[/home/zabbix/logs/logfile,,,100]logrt[file_pattern,

5、p>,,,,]MonitoringoflogfilewithlogLog.file_pattern–文件绝对路径regexp–regularexpressiondescribingtherequiredcontentTheitemmustbeconfiguredasanactivecheck.Logrotationisbasedonthelastmodificationtimeoffiles.示例:logrt[“/home/zabbix/logs/^logfil

6、e[0-9]{1,3}$”,,,100]–willmatcharotationsupport.patternencoding–codepageidentifiermaxlines–maximumnumberofnewlinespersecondtheagentwillsendtoZabbixserverorproxy.Thisparameteroverridesthevalueof‘MaxLinesPerSecond’inzabbix_agentd.confmode–possiblevalues:all(default),ski

7、p(skipprocessingofolderdata).Themodeparameterissupportedfromversion2.0.output–anoptionaloutputformattingtemplate.TheescapesequenceisreplacedwiththematchedtextwhileanN(whereN=1…9)escapesequenceisreplacedwithNthmatchedgroup(oranemptystringiftheNexceedsthenumberofcap

8、turedgroups).  Ifisleftempty–thewholelinecontainingthematchedtextisreturned.Notethatallglobalregularexpressiontypesexcept‘R

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。