Network Discovery rules and auto-add hosts

Source: Internet
Author: User

Version:zabbix 3.0

I. Configuring Network Discovery Rules

Device Uniqueness Criteria: Select the hostname as the unique identifier (the name shown in the configuation hosts)

Second, view the discovered host (Monitoring->discovery)

PS: Display (API-1) needs to be defined in/etc/hosts 172.16.0.116 api-1

Third, automatically add the hosts (join the corresponding group, links corresponding template)

You can now see the added host (configuation->hosts)

Q&s

The hosts were not found after step one

Solve:

1 TCPDUMP-VNN host 172.16.0.116 and Port 10050 #发现服务器并没有发送discovery包到客户端

2nd Log Open Debugging (debuglevel=5)

Tail-f/tmp/zabbix_server.log | grep discover

  9983:20160312:174909.385__zbx_zbx_setproctitle () Title:'Discoverer #1 [processed 1 rules in 0.020067 sec, performing discovery]'  9983:20160312:174909.393In Discover_service ()9983:20160312:174909.394Discovery:item [System.uname] Error:a TLS connection is configured to being used with agent and support forTLS is not a compiled into server. 9983:20160312:174909.394End of Discover_service (): FAIL9983:20160312:174909.394In Discovery_update_service () IP:'172.16.0.115'Dns:"'Port10050Status1Value"'  9983:20160312:174909.395In Discovery_register_host () IP:'172.16.0.115'Status1Value"'  9983:20160312:174909.395End of Discovery_register_host ()9983:20160312:174909.395End of Discovery_update_service ()9983:20160312:174909.396In discovery_update_host ()9983:20160312:174909.397End of Discovery_update_host ()9983:20160312:174909.397In discovery_clean_services ()9983:20160312:174909.397End of Discovery_clean_services ()9983:20160312:174909.400__zbx_zbx_setproctitle () Title:'Discoverer #1 [processed 1 rules in 0.014707 sec, idle sec]'  9965:20160312:174923.275query [Txnlev:0] [Selectrefresh_unsupported,discovery_groupid,snmptrap_logging,severity_name_0,severity_name_1,severity_name_2, Severity_name_3,severity_name_4,severity_name_5,hk_events_mode,hk_events_trigger,hk_events_internal,hk_events_ Discovery,hk_events_autoreg,hk_services_mode,hk_services,hk_audit_mode,hk_audit,hk_sessions_mode,hk_sessions, Hk_history_mode,hk_history_global,hk_history,hk_trends_mode,hk_trends_global,hk_trends,default_inventory_mode from config]9967:20160312:174935.465In Substitute_key_macros () data:'Zabbix[process,discoverer,avg,busy]'  9967:20160312:174935.465End of Substitute_key_macros (): Succeed Data:'Zabbix[process,discoverer,avg,busy]'  9967:20160312:174935.465In Get_value () key:'Zabbix[process,discoverer,avg,busy]'  9985:20160312:174935.671In Evaluate_function ()function:'Zabbix server:zabbix[process,discoverer,avg,busy].avg (10m)'  9983:20160312:174939.404__zbx_zbx_setproctitle () Title:'Discoverer #1 [processed 1 rules in 0.014707 sec, performing discovery]'  9983:20160312:174939.413In Discover_service ()9983:20160312:174939.413Discovery:item [System.uname] Error:a TLS connection is configured to being used with agent and support forTLS is not a compiled into server. 9983:20160312:174939.413End of Discover_service (): FAIL

Requires TLS support (Yum install-y OpenSSL openssl-devel) Configure--with-openssl

(2.0 Network Discovery does not require this)

Network Discovery rules and auto-add hosts

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.