Zabbix简单介绍ppt

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

Zabbix2.2简单介绍朱玮2016.8什么是zabbix1.Zabbix是企业级开源监控软件。2.Zabbix用MySQL,PostgreSQL,SQLite,OracleorIBMDB2等存储数据,它后端程序用C写的,前端用PHP写的。3.Zabbix支持SNMP、Agent、IPMI、JMX、SSH、Telnet等多种监控方式,并支持多种通知机制。Zabbix运行流程添加监控主机配置监控项存入数据库Zabbix-AgentZabbix-ServerWeb前端PHP告警触发条件进行分析触发告警采集数据存储数据读取数据用于展示写入数据用于保存配置Zabbix测试环境架构ZabbixServer2.210.183.145.64ZabbixAgentSNMPothersMysql5.610.183.145.71ZabbixProxy2.210.183.145.62Apache2.410.183.145.67PHP5.410.183.145.68Zabbixtermshost-anetworkeddevicethatyouwanttomonitor,withIP/DNS.hostgroup-alogicalgroupingofhosts;itmaycontainhostsandtemplates.Hostsandtemplateswithinahostgrouparenotinanywaylinkedtoeachother.Hostgroupsareusedwhenassigningaccessrightstohostsfordifferentusergroups.item-aparticularpieceofdatathatyouwanttoreceiveoffofahost,ametricofdata.Zabbixtermstrigger-alogicalexpressionthatdefinesaproblemthresholdandisusedto“evaluate”datareceivedinitemsWhenreceiveddataareabovethethreshold,triggersgofrom'Ok'intoa'Problem'state.Whenreceiveddataarebelowthethreshold,triggersstayin/returntoan'Ok'state.event-asingleoccurrenceofsomethingthatdeservesattentionsuchasatriggerchangingstateoradiscovery/agentauto-registrationtakingplaceZabbixtermsaction-apredefinedmeansofreactingtoanevent.Anactionconsistsofoperations(e.g.sendinganotification)andconditions(whentheoperationiscarriedout)template-asetofentities(items,triggers,graphs,screens,applications,low-leveldiscoveryrules,webscenarios)readytobeappliedtooneorseveralhostsZabbixtermsapplication-agroupingofitemsinalogicalgroupwebscenario-oneorseveralHTTPrequeststochecktheavailabilityofawebsite配置监控Zabbix完整的监控配置流程Hostgroups(主机组)Host(主机)Applications(监控项组)Items(监控项)Triggers(触发器)Event(事件)Actions(处理动作组)Usergroups(用户组)Users(用户)Medias(告警方式)Audit(日志审计)配置主机监控的3个阶段1.手动添加Hostsgroups、Hosts、Application、items、Triggers……2.设置好模板,模块中已经设置好了Application、items、Triggers等,添加Host,选择Hostsgroups和模板。3.根据Zabbix自动发现功能,设置discovery规则,根据Action功能自动添加Hosts,选择Hostsgroups和模板。Discovery功能1.Networkdiscovery该功能可以依据IP、Availabilityofexternalservices(FTP,SSH,WEB,POP3,IMAP,TCP,etc)、zabbixagent信息、SNMP信息来发现主机或节点,然后通过设置Action规则,实现自动添加Hosts、Hostsgroups,自动关联模板等操作。Networkdiscovery案例1.自动添加10.183.145.95-99,并关联ping模板1.创建discovery规则2.创建action规则Networkdiscovery案例1.添加10.183.145.68-80之间部署agent的Linux节点,并关联linux模板1.创建discovery规则2.创建action规则Activeagentauto-registrationActiveAgentAuto-Registration(主动注册功能)主要用于Agent主动且自动向Server注册Zabbix-Agent工作方式有Active(主动模式)和Passive(被动模式)主动模式是Agent将采集到的数据主动发送给Server,而不需要Server每次连接Agent等待采集,通常采用主动模式会使Zabbix具有更好的性能。Activeagentauto-registration案例1:配置10.183.145.81-82agent自动注册,使用HostMetadataItem1.在zabbix_agentd.conf中,新增HostMetadataItem=system.uname2.通过web前端设置Action,创建auto-registration规则Activeagentauto-registration案例1:配置10.183.145.83-84agent自动注册,使用HostMetadata1.在zabbix_agentd.conf中,新增HostMetadata=CPIC2008Monitoring2.通过web前端设置Action,创建auto-registration规则Low-leveldiscoveryLow-leveldiscoveryprovidesawaytoautomaticallycreateitems,triggers,andgraphsfordifferententitiesonacomputer.Forinstance,Zabbixcanautomaticallystartmonitoringfilesystemsornetworkinterfacesonyourmachine,withouttheneedtocreateitemsforeachfilesystemornetworkinterfacemanually.AdditionallyitispossibletoconfigureZabbixtoremoveunneededentitiesautomaticallybasedonactualresultsofperiodicallyperformeddiscovery.

1 / 17
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功