Named 监控

  1. 配置 named.conf ,在options 配置节增加如下配置(同时检查/var/named 文件夹权限),然后重启named服务。

    tatistics-file "/var/named/named.stats";

  2. 在zabbix agent目录下新增脚本 named.sh ,并执行chmod +x named.sh

               #!/bin/bash
    
            if [[ -z "$1" ]]; then exit 1; fi
    
            RNDC_BIN=/usr/sbin/rndc
    STATS='/var/named/named.stats'
    METRIC="$1" cat /dev/null > $STATS
    if ! $RNDC_BIN stats; then exit 1; fi if [ -s ${STATS} ]; then named_success=$(awk '/success/ {print $2}' $STATS)
    named_referral=$(awk '/referral/ {print $2}' $STATS)
    named_nxrrset=$(awk '/nxrrset/ {print $2}' $STATS)
    named_nxdomain=$(awk '/nxdomain/ {print $2}' $STATS)
    named_recursion=$(awk '/recursion/ {print $2}' $STATS)
    named_failure=$(awk '/failure/ {print $2}' $STATS) case "$METRIC" in
    "success") if ! [ -z $named_success ]; then echo $named_success; else echo 0; fi
    ;;
    "referral") if ! [ -z $named_referral ]; then echo $named_referral; else echo 0; fi
    ;;
    "nxrrset") if ! [ -z $named_nxrrset ]; then echo $named_nxrrset; else echo 0; fi
    ;;
    "nxdomain") if ! [ -z $named_nxdomain ]; then echo $named_nxdomain; else echo 0; fi
    ;;
    "recursion") if ! [ -z $named_recursion ]; then echo $named_recursion; else echo 0; fi
    ;;
    "failure") if ! [ -z $named_failure ]; then echo $named_failure; else echo 0; fi
    ;;
    *) echo "$METRIC not valid!"; exit 1;
    esac else
    echo "${STATS} does not exist!" >&2
    exit 1
    fi exit 0
  3. zabbix_agentd 新增 UserParameter 配置,重启zabbix_agentd

    UserParameter=named[*],/usr/local/zabbix327/bin/named.sh $1

    UserParameter=named_udp,netstat -nua | grep -c :53

    UserParameter=named_tcp,netstat -nta | grep -c :53

  4. 测试,在zabbix server 端使用zabbix_get 测试.

    /usr/local/zabbix/bin/zabbix_get -s load-31 -p 10051 -k "named[failure]"

  5. 新增zabbix named 监控模板

        <?xml version="1.0" encoding="UTF-8"?>
    <zabbix_export>
    <version>4.0</version>
    <date>2019-03-28T08:07:50Z</date>
    <groups>
    <group>
    <name>Templates</name>
    </group>
    </groups>
    <templates>
    <template>
    <template>Template_APP_Named</template>
    <name>Template_APP_Named</name>
    <description/>
    <groups>
    <group>
    <name>Templates</name>
    </group>
    </groups>
    <applications>
    <application>
    <name>Named</name>
    </application>
    </applications>
    <items>
    <item>
    <name>Named failure count</name>
    <type>0</type>
    <snmp_community/>
    <snmp_oid/>
    <key>named[failure]</key>
    <delay>60s</delay>
    <history>90d</history>
    <trends>365d</trends>
    <status>0</status>
    <value_type>0</value_type>
    <allowed_hosts/>
    <units/>
    <snmpv3_contextname/>
    <snmpv3_securityname/>
    <snmpv3_securitylevel>0</snmpv3_securitylevel>
    <snmpv3_authprotocol>0</snmpv3_authprotocol>
    <snmpv3_authpassphrase/>
    <snmpv3_privprotocol>0</snmpv3_privprotocol>
    <snmpv3_privpassphrase/>
    <params/>
    <ipmi_sensor/>
    <authtype>0</authtype>
    <username/>
    <password/>
    <publickey/>
    <privatekey/>
    <port/>
    <description/>
    <inventory_link>0</inventory_link>
    <applications>
    <application>
    <name>Named</name>
    </application>
    </applications>
    <valuemap/>
    <logtimefmt/>
    <preprocessing/>
    <jmx_endpoint/>
    <timeout>3s</timeout>
    <url/>
    <query_fields/>
    <posts/>
    <status_codes>200</status_codes>
    <follow_redirects>1</follow_redirects>
    <post_type>0</post_type>
    <http_proxy/>
    <headers/>
    <retrieve_mode>0</retrieve_mode>
    <request_method>0</request_method>
    <output_format>0</output_format>
    <allow_traps>0</allow_traps>
    <ssl_cert_file/>
    <ssl_key_file/>
    <ssl_key_password/>
    <verify_peer>0</verify_peer>
    <verify_host>0</verify_host>
    <master_item/>
    </item>
    <item>
    <name>Named nxdomain</name>
    <type>0</type>
    <snmp_community/>
    <snmp_oid/>
    <key>named[nxdomain]</key>
    <delay>60s</delay>
    <history>90d</history>
    <trends>365d</trends>
    <status>0</status>
    <value_type>0</value_type>
    <allowed_hosts/>
    <units/>
    <snmpv3_contextname/>
    <snmpv3_securityname/>
    <snmpv3_securitylevel>0</snmpv3_securitylevel>
    <snmpv3_authprotocol>0</snmpv3_authprotocol>
    <snmpv3_authpassphrase/>
    <snmpv3_privprotocol>0</snmpv3_privprotocol>
    <snmpv3_privpassphrase/>
    <params/>
    <ipmi_sensor/>
    <authtype>0</authtype>
    <username/>
    <password/>
    <publickey/>
    <privatekey/>
    <port/>
    <description/>
    <inventory_link>0</inventory_link>
    <applications>
    <application>
    <name>Named</name>
    </application>
    </applications>
    <valuemap/>
    <logtimefmt/>
    <preprocessing/>
    <jmx_endpoint/>
    <timeout>3s</timeout>
    <url/>
    <query_fields/>
    <posts/>
    <status_codes>200</status_codes>
    <follow_redirects>1</follow_redirects>
    <post_type>0</post_type>
    <http_proxy/>
    <headers/>
    <retrieve_mode>0</retrieve_mode>
    <request_method>0</request_method>
    <output_format>0</output_format>
    <allow_traps>0</allow_traps>
    <ssl_cert_file/>
    <ssl_key_file/>
    <ssl_key_password/>
    <verify_peer>0</verify_peer>
    <verify_host>0</verify_host>
    <master_item/>
    </item>
    <item>
    <name>Named nxrrset</name>
    <type>0</type>
    <snmp_community/>
    <snmp_oid/>
    <key>named[nxrrset]</key>
    <delay>60s</delay>
    <history>90d</history>
    <trends>365d</trends>
    <status>0</status>
    <value_type>0</value_type>
    <allowed_hosts/>
    <units/>
    <snmpv3_contextname/>
    <snmpv3_securityname/>
    <snmpv3_securitylevel>0</snmpv3_securitylevel>
    <snmpv3_authprotocol>0</snmpv3_authprotocol>
    <snmpv3_authpassphrase/>
    <snmpv3_privprotocol>0</snmpv3_privprotocol>
    <snmpv3_privpassphrase/>
    <params/>
    <ipmi_sensor/>
    <authtype>0</authtype>
    <username/>
    <password/>
    <publickey/>
    <privatekey/>
    <port/>
    <description/>
    <inventory_link>0</inventory_link>
    <applications>
    <application>
    <name>Named</name>
    </application>
    </applications>
    <valuemap/>
    <logtimefmt/>
    <preprocessing/>
    <jmx_endpoint/>
    <timeout>3s</timeout>
    <url/>
    <query_fields/>
    <posts/>
    <status_codes>200</status_codes>
    <follow_redirects>1</follow_redirects>
    <post_type>0</post_type>
    <http_proxy/>
    <headers/>
    <retrieve_mode>0</retrieve_mode>
    <request_method>0</request_method>
    <output_format>0</output_format>
    <allow_traps>0</allow_traps>
    <ssl_cert_file/>
    <ssl_key_file/>
    <ssl_key_password/>
    <verify_peer>0</verify_peer>
    <verify_host>0</verify_host>
    <master_item/>
    </item>
    <item>
    <name>Named recursion</name>
    <type>0</type>
    <snmp_community/>
    <snmp_oid/>
    <key>named[recursion]</key>
    <delay>60s</delay>
    <history>90d</history>
    <trends>365d</trends>
    <status>0</status>
    <value_type>0</value_type>
    <allowed_hosts/>
    <units/>
    <snmpv3_contextname/>
    <snmpv3_securityname/>
    <snmpv3_securitylevel>0</snmpv3_securitylevel>
    <snmpv3_authprotocol>0</snmpv3_authprotocol>
    <snmpv3_authpassphrase/>
    <snmpv3_privprotocol>0</snmpv3_privprotocol>
    <snmpv3_privpassphrase/>
    <params/>
    <ipmi_sensor/>
    <authtype>0</authtype>
    <username/>
    <password/>
    <publickey/>
    <privatekey/>
    <port/>
    <description/>
    <inventory_link>0</inventory_link>
    <applications>
    <application>
    <name>Named</name>
    </application>
    </applications>
    <valuemap/>
    <logtimefmt/>
    <preprocessing/>
    <jmx_endpoint/>
    <timeout>3s</timeout>
    <url/>
    <query_fields/>
    <posts/>
    <status_codes>200</status_codes>
    <follow_redirects>1</follow_redirects>
    <post_type>0</post_type>
    <http_proxy/>
    <headers/>
    <retrieve_mode>0</retrieve_mode>
    <request_method>0</request_method>
    <output_format>0</output_format>
    <allow_traps>0</allow_traps>
    <ssl_cert_file/>
    <ssl_key_file/>
    <ssl_key_password/>
    <verify_peer>0</verify_peer>
    <verify_host>0</verify_host>
    <master_item/>
    </item>
    <item>
    <name>Named referral</name>
    <type>0</type>
    <snmp_community/>
    <snmp_oid/>
    <key>named[referral]</key>
    <delay>60s</delay>
    <history>90d</history>
    <trends>365d</trends>
    <status>0</status>
    <value_type>0</value_type>
    <allowed_hosts/>
    <units/>
    <snmpv3_contextname/>
    <snmpv3_securityname/>
    <snmpv3_securitylevel>0</snmpv3_securitylevel>
    <snmpv3_authprotocol>0</snmpv3_authprotocol>
    <snmpv3_authpassphrase/>
    <snmpv3_privprotocol>0</snmpv3_privprotocol>
    <snmpv3_privpassphrase/>
    <params/>
    <ipmi_sensor/>
    <authtype>0</authtype>
    <username/>
    <password/>
    <publickey/>
    <privatekey/>
    <port/>
    <description/>
    <inventory_link>0</inventory_link>
    <applications>
    <application>
    <name>Named</name>
    </application>
    </applications>
    <valuemap/>
    <logtimefmt/>
    <preprocessing/>
    <jmx_endpoint/>
    <timeout>3s</timeout>
    <url/>
    <query_fields/>
    <posts/>
    <status_codes>200</status_codes>
    <follow_redirects>1</follow_redirects>
    <post_type>0</post_type>
    <http_proxy/>
    <headers/>
    <retrieve_mode>0</retrieve_mode>
    <request_method>0</request_method>
    <output_format>0</output_format>
    <allow_traps>0</allow_traps>
    <ssl_cert_file/>
    <ssl_key_file/>
    <ssl_key_password/>
    <verify_peer>0</verify_peer>
    <verify_host>0</verify_host>
    <master_item/>
    </item>
    <item>
    <name>Named success</name>
    <type>0</type>
    <snmp_community/>
    <snmp_oid/>
    <key>named[success]</key>
    <delay>60s</delay>
    <history>90d</history>
    <trends>365d</trends>
    <status>0</status>
    <value_type>0</value_type>
    <allowed_hosts/>
    <units/>
    <snmpv3_contextname/>
    <snmpv3_securityname/>
    <snmpv3_securitylevel>0</snmpv3_securitylevel>
    <snmpv3_authprotocol>0</snmpv3_authprotocol>
    <snmpv3_authpassphrase/>
    <snmpv3_privprotocol>0</snmpv3_privprotocol>
    <snmpv3_privpassphrase/>
    <params/>
    <ipmi_sensor/>
    <authtype>0</authtype>
    <username/>
    <password/>
    <publickey/>
    <privatekey/>
    <port/>
    <description/>
    <inventory_link>0</inventory_link>
    <applications>
    <application>
    <name>Named</name>
    </application>
    </applications>
    <valuemap/>
    <logtimefmt/>
    <preprocessing/>
    <jmx_endpoint/>
    <timeout>3s</timeout>
    <url/>
    <query_fields/>
    <posts/>
    <status_codes>200</status_codes>
    <follow_redirects>1</follow_redirects>
    <post_type>0</post_type>
    <http_proxy/>
    <headers/>
    <retrieve_mode>0</retrieve_mode>
    <request_method>0</request_method>
    <output_format>0</output_format>
    <allow_traps>0</allow_traps>
    <ssl_cert_file/>
    <ssl_key_file/>
    <ssl_key_password/>
    <verify_peer>0</verify_peer>
    <verify_host>0</verify_host>
    <master_item/>
    </item>
    <item>
    <name>Named Failure qps</name>
    <type>15</type>
    <snmp_community/>
    <snmp_oid/>
    <key>named_failure_qps</key>
    <delay>60s</delay>
    <history>90d</history>
    <trends>365d</trends>
    <status>0</status>
    <value_type>3</value_type>
    <allowed_hosts/>
    <units/>
    <snmpv3_contextname/>
    <snmpv3_securityname/>
    <snmpv3_securitylevel>0</snmpv3_securitylevel>
    <snmpv3_authprotocol>0</snmpv3_authprotocol>
    <snmpv3_authpassphrase/>
    <snmpv3_privprotocol>0</snmpv3_privprotocol>
    <snmpv3_privpassphrase/>
    <params>change(&quot;named[failure]&quot;)</params>
    <ipmi_sensor/>
    <authtype>0</authtype>
    <username/>
    <password/>
    <publickey/>
    <privatekey/>
    <port/>
    <description/>
    <inventory_link>0</inventory_link>
    <applications>
    <application>
    <name>Named</name>
    </application>
    </applications>
    <valuemap/>
    <logtimefmt/>
    <preprocessing/>
    <jmx_endpoint/>
    <timeout>3s</timeout>
    <url/>
    <query_fields/>
    <posts/>
    <status_codes>200</status_codes>
    <follow_redirects>1</follow_redirects>
    <post_type>0</post_type>
    <http_proxy/>
    <headers/>
    <retrieve_mode>0</retrieve_mode>
    <request_method>0</request_method>
    <output_format>0</output_format>
    <allow_traps>0</allow_traps>
    <ssl_cert_file/>
    <ssl_key_file/>
    <ssl_key_password/>
    <verify_peer>0</verify_peer>
    <verify_host>0</verify_host>
    <master_item/>
    </item>
    <item>
    <name>Named success qps</name>
    <type>15</type>
    <snmp_community/>
    <snmp_oid/>
    <key>named_success_qps</key>
    <delay>60s</delay>
    <history>90d</history>
    <trends>365d</trends>
    <status>0</status>
    <value_type>3</value_type>
    <allowed_hosts/>
    <units/>
    <snmpv3_contextname/>
    <snmpv3_securityname/>
    <snmpv3_securitylevel>0</snmpv3_securitylevel>
    <snmpv3_authprotocol>0</snmpv3_authprotocol>
    <snmpv3_authpassphrase/>
    <snmpv3_privprotocol>0</snmpv3_privprotocol>
    <snmpv3_privpassphrase/>
    <params>change(&quot;named[success]&quot;)</params>
    <ipmi_sensor/>
    <authtype>0</authtype>
    <username/>
    <password/>
    <publickey/>
    <privatekey/>
    <port/>
    <description/>
    <inventory_link>0</inventory_link>
    <applications>
    <application>
    <name>Named</name>
    </application>
    </applications>
    <valuemap/>
    <logtimefmt/>
    <preprocessing/>
    <jmx_endpoint/>
    <timeout>3s</timeout>
    <url/>
    <query_fields/>
    <posts/>
    <status_codes>200</status_codes>
    <follow_redirects>1</follow_redirects>
    <post_type>0</post_type>
    <http_proxy/>
    <headers/>
    <retrieve_mode>0</retrieve_mode>
    <request_method>0</request_method>
    <output_format>0</output_format>
    <allow_traps>0</allow_traps>
    <ssl_cert_file/>
    <ssl_key_file/>
    <ssl_key_password/>
    <verify_peer>0</verify_peer>
    <verify_host>0</verify_host>
    <master_item/>
    </item>
    <item>
    <name>Named tcp count</name>
    <type>0</type>
    <snmp_community/>
    <snmp_oid/>
    <key>named_tcp</key>
    <delay>60</delay>
    <history>7d</history>
    <trends>365d</trends>
    <status>0</status>
    <value_type>3</value_type>
    <allowed_hosts/>
    <units/>
    <snmpv3_contextname/>
    <snmpv3_securityname/>
    <snmpv3_securitylevel>0</snmpv3_securitylevel>
    <snmpv3_authprotocol>0</snmpv3_authprotocol>
    <snmpv3_authpassphrase/>
    <snmpv3_privprotocol>0</snmpv3_privprotocol>
    <snmpv3_privpassphrase/>
    <params/>
    <ipmi_sensor/>
    <authtype>0</authtype>
    <username/>
    <password/>
    <publickey/>
    <privatekey/>
    <port/>
    <description/>
    <inventory_link>0</inventory_link>
    <applications>
    <application>
    <name>Named</name>
    </application>
    </applications>
    <valuemap/>
    <logtimefmt/>
    <preprocessing/>
    <jmx_endpoint/>
    <timeout>3s</timeout>
    <url/>
    <query_fields/>
    <posts/>
    <status_codes>200</status_codes>
    <follow_redirects>1</follow_redirects>
    <post_type>0</post_type>
    <http_proxy/>
    <headers/>
    <retrieve_mode>0</retrieve_mode>
    <request_method>0</request_method>
    <output_format>0</output_format>
    <allow_traps>0</allow_traps>
    <ssl_cert_file/>
    <ssl_key_file/>
    <ssl_key_password/>
    <verify_peer>0</verify_peer>
    <verify_host>0</verify_host>
    <master_item/>
    </item>
    <item>
    <name>Named udp count</name>
    <type>0</type>
    <snmp_community/>
    <snmp_oid/>
    <key>named_udp</key>
    <delay>60</delay>
    <history>7d</history>
    <trends>365d</trends>
    <status>0</status>
    <value_type>3</value_type>
    <allowed_hosts/>
    <units/>
    <snmpv3_contextname/>
    <snmpv3_securityname/>
    <snmpv3_securitylevel>0</snmpv3_securitylevel>
    <snmpv3_authprotocol>0</snmpv3_authprotocol>
    <snmpv3_authpassphrase/>
    <snmpv3_privprotocol>0</snmpv3_privprotocol>
    <snmpv3_privpassphrase/>
    <params/>
    <ipmi_sensor/>
    <authtype>0</authtype>
    <username/>
    <password/>
    <publickey/>
    <privatekey/>
    <port/>
    <description/>
    <inventory_link>0</inventory_link>
    <applications>
    <application>
    <name>Named</name>
    </application>
    </applications>
    <valuemap/>
    <logtimefmt/>
    <preprocessing/>
    <jmx_endpoint/>
    <timeout>3s</timeout>
    <url/>
    <query_fields/>
    <posts/>
    <status_codes>200</status_codes>
    <follow_redirects>1</follow_redirects>
    <post_type>0</post_type>
    <http_proxy/>
    <headers/>
    <retrieve_mode>0</retrieve_mode>
    <request_method>0</request_method>
    <output_format>0</output_format>
    <allow_traps>0</allow_traps>
    <ssl_cert_file/>
    <ssl_key_file/>
    <ssl_key_password/>
    <verify_peer>0</verify_peer>
    <verify_host>0</verify_host>
    <master_item/>
    </item>
    <item>
    <name>Named port check</name>
    <type>0</type>
    <snmp_community/>
    <snmp_oid/>
    <key>net.tcp.service[tcp,,53]</key>
    <delay>10s</delay>
    <history>90d</history>
    <trends>365d</trends>
    <status>0</status>
    <value_type>3</value_type>
    <allowed_hosts/>
    <units/>
    <snmpv3_contextname/>
    <snmpv3_securityname/>
    <snmpv3_securitylevel>0</snmpv3_securitylevel>
    <snmpv3_authprotocol>0</snmpv3_authprotocol>
    <snmpv3_authpassphrase/>
    <snmpv3_privprotocol>0</snmpv3_privprotocol>
    <snmpv3_privpassphrase/>
    <params/>
    <ipmi_sensor/>
    <authtype>0</authtype>
    <username/>
    <password/>
    <publickey/>
    <privatekey/>
    <port/>
    <description/>
    <inventory_link>0</inventory_link>
    <applications>
    <application>
    <name>Named</name>
    </application>
    </applications>
    <valuemap/>
    <logtimefmt/>
    <preprocessing/>
    <jmx_endpoint/>
    <timeout>3s</timeout>
    <url/>
    <query_fields/>
    <posts/>
    <status_codes>200</status_codes>
    <follow_redirects>1</follow_redirects>
    <post_type>0</post_type>
    <http_proxy/>
    <headers/>
    <retrieve_mode>0</retrieve_mode>
    <request_method>0</request_method>
    <output_format>0</output_format>
    <allow_traps>0</allow_traps>
    <ssl_cert_file/>
    <ssl_key_file/>
    <ssl_key_password/>
    <verify_peer>0</verify_peer>
    <verify_host>0</verify_host>
    <master_item/>
    </item>
    </items>
    <discovery_rules/>
    <httptests/>
    <macros/>
    <templates/>
    <screens/>
    </template>
    </templates>
    <triggers>
    <trigger>
    <expression>{Template_APP_Named:net.tcp.service[tcp,,53].last(0)}&lt;1</expression>
    <recovery_mode>0</recovery_mode>
    <recovery_expression/>
    <name>named is not running on {HOSTNAME}</name>
    <correlation_mode>0</correlation_mode>
    <correlation_tag/>
    <url/>
    <status>0</status>
    <priority>5</priority>
    <description>named is not running
    Check named</description>
    <type>0</type>
    <manual_close>0</manual_close>
    <dependencies/>
    <tags/>
    </trigger>
    </triggers>
    <graphs>
    <graph>
    <name>Named failure query per seconds</name>
    <width>900</width>
    <height>200</height>
    <yaxismin>0.0000</yaxismin>
    <yaxismax>100.0000</yaxismax>
    <show_work_period>1</show_work_period>
    <show_triggers>1</show_triggers>
    <type>0</type>
    <show_legend>1</show_legend>
    <show_3d>0</show_3d>
    <percent_left>0.0000</percent_left>
    <percent_right>0.0000</percent_right>
    <ymin_type_1>0</ymin_type_1>
    <ymax_type_1>0</ymax_type_1>
    <ymin_item_1>0</ymin_item_1>
    <ymax_item_1>0</ymax_item_1>
    <graph_items>
    <graph_item>
    <sortorder>0</sortorder>
    <drawtype>5</drawtype>
    <color>FF7043</color>
    <yaxisside>0</yaxisside>
    <calc_fnc>4</calc_fnc>
    <type>0</type>
    <item>
    <host>Template_APP_Named</host>
    <key>named_failure_qps</key>
    </item>
    </graph_item>
    </graph_items>
    </graph>
    <graph>
    <name>Named session open</name>
    <width>900</width>
    <height>400</height>
    <yaxismin>0.0000</yaxismin>
    <yaxismax>100.0000</yaxismax>
    <show_work_period>0</show_work_period>
    <show_triggers>0</show_triggers>
    <type>0</type>
    <show_legend>1</show_legend>
    <show_3d>0</show_3d>
    <percent_left>0.0000</percent_left>
    <percent_right>0.0000</percent_right>
    <ymin_type_1>1</ymin_type_1>
    <ymax_type_1>0</ymax_type_1>
    <ymin_item_1>0</ymin_item_1>
    <ymax_item_1>0</ymax_item_1>
    <graph_items>
    <graph_item>
    <sortorder>0</sortorder>
    <drawtype>0</drawtype>
    <color>009900</color>
    <yaxisside>0</yaxisside>
    <calc_fnc>4</calc_fnc>
    <type>0</type>
    <item>
    <host>Template_APP_Named</host>
    <key>named_udp</key>
    </item>
    </graph_item>
    <graph_item>
    <sortorder>1</sortorder>
    <drawtype>0</drawtype>
    <color>0000AA</color>
    <yaxisside>0</yaxisside>
    <calc_fnc>4</calc_fnc>
    <type>0</type>
    <item>
    <host>Template_APP_Named</host>
    <key>named_tcp</key>
    </item>
    </graph_item>
    </graph_items>
    </graph>
    <graph>
    <name>Named statistics</name>
    <width>900</width>
    <height>200</height>
    <yaxismin>0.0000</yaxismin>
    <yaxismax>100.0000</yaxismax>
    <show_work_period>1</show_work_period>
    <show_triggers>1</show_triggers>
    <type>0</type>
    <show_legend>1</show_legend>
    <show_3d>0</show_3d>
    <percent_left>0.0000</percent_left>
    <percent_right>0.0000</percent_right>
    <ymin_type_1>0</ymin_type_1>
    <ymax_type_1>0</ymax_type_1>
    <ymin_item_1>0</ymin_item_1>
    <ymax_item_1>0</ymax_item_1>
    <graph_items>
    <graph_item>
    <sortorder>0</sortorder>
    <drawtype>0</drawtype>
    <color>1A7C11</color>
    <yaxisside>0</yaxisside>
    <calc_fnc>2</calc_fnc>
    <type>0</type>
    <item>
    <host>Template_APP_Named</host>
    <key>named[nxdomain]</key>
    </item>
    </graph_item>
    <graph_item>
    <sortorder>1</sortorder>
    <drawtype>0</drawtype>
    <color>F63100</color>
    <yaxisside>0</yaxisside>
    <calc_fnc>2</calc_fnc>
    <type>0</type>
    <item>
    <host>Template_APP_Named</host>
    <key>named[nxrrset]</key>
    </item>
    </graph_item>
    <graph_item>
    <sortorder>2</sortorder>
    <drawtype>0</drawtype>
    <color>A54F10</color>
    <yaxisside>0</yaxisside>
    <calc_fnc>2</calc_fnc>
    <type>0</type>
    <item>
    <host>Template_APP_Named</host>
    <key>named[recursion]</key>
    </item>
    </graph_item>
    <graph_item>
    <sortorder>3</sortorder>
    <drawtype>0</drawtype>
    <color>FC6EA3</color>
    <yaxisside>0</yaxisside>
    <calc_fnc>2</calc_fnc>
    <type>0</type>
    <item>
    <host>Template_APP_Named</host>
    <key>named[referral]</key>
    </item>
    </graph_item>
    <graph_item>
    <sortorder>4</sortorder>
    <drawtype>0</drawtype>
    <color>6C59DC</color>
    <yaxisside>0</yaxisside>
    <calc_fnc>2</calc_fnc>
    <type>0</type>
    <item>
    <host>Template_APP_Named</host>
    <key>named[success]</key>
    </item>
    </graph_item>
    </graph_items>
    </graph>
    <graph>
    <name>Named success query per seconds</name>
    <width>900</width>
    <height>200</height>
    <yaxismin>0.0000</yaxismin>
    <yaxismax>100.0000</yaxismax>
    <show_work_period>1</show_work_period>
    <show_triggers>1</show_triggers>
    <type>0</type>
    <show_legend>1</show_legend>
    <show_3d>0</show_3d>
    <percent_left>0.0000</percent_left>
    <percent_right>0.0000</percent_right>
    <ymin_type_1>0</ymin_type_1>
    <ymax_type_1>0</ymax_type_1>
    <ymin_item_1>0</ymin_item_1>
    <ymax_item_1>0</ymax_item_1>
    <graph_items>
    <graph_item>
    <sortorder>0</sortorder>
    <drawtype>5</drawtype>
    <color>1A7C11</color>
    <yaxisside>0</yaxisside>
    <calc_fnc>2</calc_fnc>
    <type>0</type>
    <item>
    <host>Template_APP_Named</host>
    <key>named_success_qps</key>
    </item>
    </graph_item>
    </graph_items>
    </graph>
    </graphs>

</zabbix_export>

```

Zabbix named 监控的更多相关文章

  1. zabbix分布式监控系统安装配置

    zabbix简介: zabbix(音同 zæbix)是一个基于WEB界面的提供分布式系统监视以及网络监视功能的企业级的开源解决方案. zabbix能监视各种网络参数,保证服务器系统的安全运营:并提供灵 ...

  2. Zabbix自定义监控8080端口的连接数

    Zabbix自定义监控8080端口的连接数 一 zabbix自定义监控实现思路 实际上我们要想使用zabbix来监控一些服务的原理很简单,步骤分别是:1.写一个脚本用于获取待监控服务的一些状态信息2. ...

  3. 基于Zabbix IPMI监控服务器硬件状况

    基于Zabbix IPMI监控服务器硬件状况 zabbix ipmi 公司有多个分部,且机房没有专业值班,机房等级不够.在这种情况下,又想实时监控机房环境,于是使用IPMI方式来达到目的.由于之前已经 ...

  4. LNMP+zabbix分布式监控搭建及版本升级

    LNMP+zabbix分布式监控搭建需要组件:gcc gcc-c++ openssl* pcre pcre-devel gd gd-devel libjpeg-devel libpng-devel l ...

  5. zabbix服务器监控suse系统教程

    zabbix服务器监控suse系统教程 作者:尹正杰 版权声明:原创作品,谢绝转载!否则将追究法律责任. 花了近一个星期才学会了如何监控window和linux主机的基本信息以及报价情况(我已经把笔记 ...

  6. zabbix如何监控WEB应用性能

    HTTP服务目前最流行的互联网应用之一,如何监控服务的健康状态对系统运维来说至关重要.   Zabbix本身提供了对WEB应用程序的监控,比如监控WEB程序的Download Speed,Respon ...

  7. 第3章Zabbix完整监控

    p.MsoNormal,li.MsoNormal,div.MsoNormal { margin: 0cm; margin-bottom: .0001pt; text-align: justify; t ...

  8. zabbix添加自定义监控项

    zabbix添加自定义监控项 author:headsen  chen   2017-10-16  17:23:17 个人原创,转载请注明作者,出处,否则依法追究法律责任 主机端配置: 首先安装好za ...

  9. Docker部署Zabbix+Grafana监控

    Docker部署Zabbix+Grafana监控 环境 centos 7 ; Docker 17.12.0-ce ; docker-compose version 1.20.1 2018-4-1 当前 ...

随机推荐

  1. Ionic 自动创建应用的图标与启动画面

    你只需要一个目录和两张图片就可以搞定.图片可以是 .png 的,Photoshop的 .psd,或者Illustrator的 .ai,(例如)命名为icon.png和splash.png.把这些图片放 ...

  2. js根据IP跳转

    <script language="javascript" type="text/javascript" src="http://int.dpo ...

  3. NCPC 2016 October 8,2016 Artwork

    Problem A Artwork Problem ID: artwork Time limit: 4 seconds A template for an artwork is a white gri ...

  4. 防止sql注入的几种方法

    一.SQL注入简介 SQL注入是比较常见的网络攻击方式之一,它不是利用操作系统的BUG来实现攻击,而是针对程序员编程时的疏忽,通过SQL语句,实现无帐号登录,甚至篡改数据库. 二.SQL注入攻击的总体 ...

  5. wpf企业应用之主从结构列表

    主从结构在企业级应用中相当常见,这里结合我的例子谈一下wpf中主从结构列表展示的常用做法,具体效果见 wpf企业级开发中的几种常见业务场景. 首先,Model有两种,主表对应model(假设为mode ...

  6. [POI2015]Trzy wieże

    [POI2015]Trzy wieże 题目大意: 给定一个长度为\(n(n\le10^6)\)的仅包含'B'.'C'.'S'三种字符的字符串,请找到最长的一段连续子串,使得在这一段内出现过的所有字符 ...

  7. [HihoCoder1596]Beautiful Sequence

    题目大意: \(n(n\le60)\)个数\(A_{1\sim n}\),将这些数随机打乱,问最后构成的数列满足对于所有的\(2\le i\le n-1\),都有\(2A_i\le A_{i-1}+A ...

  8. BZOJ 1208: [HNOI2004]宠物收养所 SET的妙用

    1208: [HNOI2004]宠物收养所 Time Limit: 10 Sec  Memory Limit: 162 MBSubmit: 4902  Solved: 1879 题目连接 http:/ ...

  9. 洛谷OJ U552 守墓人 线段树模板题

    题目描述 Description 在一个荒凉的墓地上 有一个令人尊敬的守墓人, 他看守的墓地从来 没有被盗过, 所以人们很放心的把自己的先人的墓 安顿在他那 守墓人能看好这片墓地是必然而不是偶然... ...

  10. CI下php操作memcached 的问题

    CI下php操作memcached 的时候,获取memcached里不存在的key时候,会出错,然而放在程序的最后一行就不会出错,不知何故,mark一下.