<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                #### 監控IIS 將項目附件-->配置文件中的zbx_IIS_templates.xml導入到模板列表中 將模板添加到被監控主機 #### 模板代碼 ```xml <?xml version="1.0" encoding="UTF-8"?> <zabbix_export> <version>3.0</version> <date>2017-02-27T09:26:57Z</date> <groups> <group> <name>Templates</name> </group> </groups> <templates> <template> <template>Template Server IIS</template> <name>Template Server IIS</name> <description/> <groups> <group> <name>Templates</name> </group> </groups> <applications> <application> <name>IIS</name> </application> </applications> <items> <item> <name>Bytes Received/sec</name> <type>0</type> <snmp_community/> <multiplier>0</multiplier> <snmp_oid/> <key>perf_counter[&quot;\Web Service(_Total)\Bytes Received/sec&quot;,30]</key> <delay>30</delay> <history>90</history> <trends>365</trends> <status>0</status> <value_type>0</value_type> <allowed_hosts/> <units/> <delta>0</delta> <snmpv3_contextname/> <snmpv3_securityname/> <snmpv3_securitylevel>0</snmpv3_securitylevel> <snmpv3_authprotocol>0</snmpv3_authprotocol> <snmpv3_authpassphrase/> <snmpv3_privprotocol>0</snmpv3_privprotocol> <snmpv3_privpassphrase/> <formula>1</formula> <delay_flex>50/1-7,00:00-24:00</delay_flex> <params/> <ipmi_sensor/> <data_type>0</data_type> <authtype>0</authtype> <username/> <password/> <publickey/> <privatekey/> <port/> <description/> <inventory_link>0</inventory_link> <applications> <application> <name>IIS</name> </application> </applications> <valuemap/> <logtimefmt/> </item> <item> <name>Bytes Sent/sec</name> <type>0</type> <snmp_community/> <multiplier>0</multiplier> <snmp_oid/> <key>perf_counter[&quot;\Web Service(_Total)\Bytes Sent/sec&quot;,30]</key> <delay>30</delay> <history>90</history> <trends>365</trends> <status>0</status> <value_type>0</value_type> <allowed_hosts/> <units/> <delta>0</delta> <snmpv3_contextname/> <snmpv3_securityname/> <snmpv3_securitylevel>0</snmpv3_securitylevel> <snmpv3_authprotocol>0</snmpv3_authprotocol> <snmpv3_authpassphrase/> <snmpv3_privprotocol>0</snmpv3_privprotocol> <snmpv3_privpassphrase/> <formula>1</formula> <delay_flex>50/1-7,00:00-24:00</delay_flex> <params/> <ipmi_sensor/> <data_type>0</data_type> <authtype>0</authtype> <username/> <password/> <publickey/> <privatekey/> <port/> <description/> <inventory_link>0</inventory_link> <applications> <application> <name>IIS</name> </application> </applications> <valuemap/> <logtimefmt/> </item> <item> <name>Bytes Total/sec</name> <type>0</type> <snmp_community/> <multiplier>0</multiplier> <snmp_oid/> <key>perf_counter[&quot;\Web Service(_Total)\Bytes Total/sec&quot;,30]</key> <delay>30</delay> <history>90</history> <trends>365</trends> <status>0</status> <value_type>0</value_type> <allowed_hosts/> <units/> <delta>0</delta> <snmpv3_contextname/> <snmpv3_securityname/> <snmpv3_securitylevel>0</snmpv3_securitylevel> <snmpv3_authprotocol>0</snmpv3_authprotocol> <snmpv3_authpassphrase/> <snmpv3_privprotocol>0</snmpv3_privprotocol> <snmpv3_privpassphrase/> <formula>1</formula> <delay_flex>50/1-7,00:00-24:00</delay_flex> <params/> <ipmi_sensor/> <data_type>0</data_type> <authtype>0</authtype> <username/> <password/> <publickey/> <privatekey/> <port/> <description/> <inventory_link>0</inventory_link> <applications> <application> <name>IIS</name> </application> </applications> <valuemap/> <logtimefmt/> </item> <item> <name>Current Connections</name> <type>0</type> <snmp_community/> <multiplier>0</multiplier> <snmp_oid/> <key>perf_counter[&quot;\Web Service(_Total)\Current Connections&quot;,1]</key> <delay>30</delay> <history>90</history> <trends>365</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units/> <delta>0</delta> <snmpv3_contextname/> <snmpv3_securityname/> <snmpv3_securitylevel>0</snmpv3_securitylevel> <snmpv3_authprotocol>0</snmpv3_authprotocol> <snmpv3_authpassphrase/> <snmpv3_privprotocol>0</snmpv3_privprotocol> <snmpv3_privpassphrase/> <formula>1</formula> <delay_flex>50/1-7,00:00-24:00</delay_flex> <params/> <ipmi_sensor/> <data_type>0</data_type> <authtype>0</authtype> <username/> <password/> <publickey/> <privatekey/> <port/> <description/> <inventory_link>0</inventory_link> <applications> <application> <name>IIS</name> </application> </applications> <valuemap/> <logtimefmt/> </item> <item> <name>Maximum Connections</name> <type>0</type> <snmp_community/> <multiplier>0</multiplier> <snmp_oid/> <key>perf_counter[&quot;\Web Service(_Total)\Maximum Connections&quot;,1]</key> <delay>30</delay> <history>90</history> <trends>365</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units/> <delta>0</delta> <snmpv3_contextname/> <snmpv3_securityname/> <snmpv3_securitylevel>0</snmpv3_securitylevel> <snmpv3_authprotocol>0</snmpv3_authprotocol> <snmpv3_authpassphrase/> <snmpv3_privprotocol>0</snmpv3_privprotocol> <snmpv3_privpassphrase/> <formula>1</formula> <delay_flex>50/1-7,00:00-24:00</delay_flex> <params/> <ipmi_sensor/> <data_type>0</data_type> <authtype>0</authtype> <username/> <password/> <publickey/> <privatekey/> <port/> <description/> <inventory_link>0</inventory_link> <applications> <application> <name>IIS</name> </application> </applications> <valuemap/> <logtimefmt/> </item> </items> <discovery_rules/> <macros/> <templates/> <screens/> </template> </templates> </zabbix_export> ``` ### 什么原理呢?就是Windows自帶的typeperf(perfcount) 首先在win主機的DOS界面輸入 ```shell typeperf -qx > C:\typeperf.txt ``` 利用typeperf -qx命令導出win上自帶的IIS性能計數器名稱,并指定導出路徑C盤 #### 導出來的東西就是(部分) ```shell \Web Service(_Total)\Total Bytes Sent \Web Service(_Total)\Bytes Sent/sec \Web Service(_Total)\Bytes Received/sec \Web Service(_Total)\Current Connections \Web Service(_Total)\Maximum Connections ``` Zabbix中已經自帶了perf_counter函數,直接添加即可 #### 具體看模板: ```shell perf_counter["\Web Service(_Total)\Bytes Received/sec",30] perf_counter["\Web Service(_Total)\Current Connections",1] ``` 最后的30是計算30秒內的平均值,記得選擇浮點數 連接數設置1秒,避免浮點 具體還想要展示什么參數,自己添加模板就可以了,SQL Server同理
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看