咱們知道,zabbix安裝後自帶Template OS Linux 模版已知足了絕大部分Linux服務器的基礎環境監控,只是咱們在其模版上稍微修改,可配合將SWAP監控取消,另存爲一個叫OS Linux noswap的模版就能夠咱們的VM使用。
前端
可是網絡設備呢,zabbix的官網上提供了不少的關於網絡設備的模版,但大多都是思科的模版。node
因上次的斯諾登事件後,咱們國人的本身企業的網絡內,傾向於使用各大廠商的網絡設備,不拘一格。有思科,有華爲,有Juniper,有H3C等等,但問題來了,爲何網絡設備的監控模版不通用呢?linux
那就是OID---每一個廠家的設備在設計之初,除了底層用了公有OID庫,上層就自成一套私有OID,這有點相似於數據庫的表結構+字段名稱的概念,各有各的標準數據庫
咱們的網絡設備的常規監控是經過SNMP協議來獲取的,協議是標準的,但OID有可能不一樣,這就造了南向API的調用接口不一樣。所以網絡設備的監控模版,絕大部分不通用,除非你的網絡設備買的剛纔是同一廠家,並恰好這批型號使用着同一套OIDexpress
固然,幸運的是,起初仍是有一些基礎OID是公用的,可參考百度上相關搜索,好比http://wutou.blog.51cto.com/615096/1736806,實在不知OID的,有跟廠商合做的同窗,能夠跟廠家溝通索要一下你須要的OID值服務器
這裏我將分享一下H3C 這網絡設備的監控模版製做方法。文章底部,我也將分享一下幾款H3C型號的zabbix監控基礎模版網絡
這裏咱們以H3C的MSR3640型號爲例,在H3C的設備上執行一條命令,獲取全部的OID對應關係app
MSR3640-1>display snmp-agent mib-node ---------每一個型號獲取OID的命令可能不同,這可能須要查手冊。less
iso<1>(NA)
|-std<1.0>(NA)
|-iso8802<1.0.8802>(NA)
|-ieee802dot1<1.0.8802.1>(NA)
|-ieee802dot1mibs<1.0.8802.1.1>(NA)
|-lldpMIB<1.0.8802.1.1.2>(NA)
|-lldpNotifications<1.0.8802.1.1.2.0>(NA)
|-lldpNotificationPrefix<1.0.8802.1.1.2.0.0>(NA)
|-lldpRemTablesChange<1.0.8802.1.1.2.0.0.1>(NA)
|-lldpObjects<1.0.8802.1.1.2.1>(NA)
|-lldpConfiguration<1.0.8802.1.1.2.1.1>(NA)
|-*lldpMessageTxInterval<1.0.8802.1.1.2.1.1.1>(RW)
|-*lldpMessageTxHoldMultiplier<1.0.8802.1.1.2.1.1.2>(RW)
|-*lldpReinitDelay<1.0.8802.1.1.2.1.1.3>(RW)
|-*lldpTxDelay<1.0.8802.1.1.2.1.1.4>(RW)
|-*lldpNotificationInterval<1.0.8802.1.1.2.1.1.5>(RW)
|-lldpPortConfigTable<1.0.8802.1.1.2.1.1.6>(NA)
|-lldpPortConfigEntry<1.0.8802.1.1.2.1.1.6.1>(NA)
|-*lldpPortConfigPortNum<1.0.8802.1.1.2.1.1.6.1.1>(NA)
|-*lldpPortConfigAdminStatus<1.0.8802.1.1.2.1.1.6.1.2>(RW)
|-*lldpPortConfigNotificationEnable<1.0.8802.1.1.2.1.1.6.1.3>(RW)
|-*lldpPortConfigTLVsTxEnable<1.0.8802.1.1.2.1.1.6.1.4>(RW)
---- More ----ide
一大串的OID值<>裏的數字
好比咱們要當前內存的使用率的狀態,好比下面的結果顯示,內存返回剩餘率61.1%
<MSR3640-1>dis memory
The statistics about memory is measured in KB:
Slot 0:
Total Used Free Shared Buffers Cached FreeRatio
Mem: 2028944 790128 1238816 0 588 125120 61.1%
-/+ Buffers/Cache: 664420 1364524
Swap: 0 0 0
則咱們就須要知道當前對應OID值返的值
測試OID調通,咱們須要先將本網絡設備的snmp功能打開。
<MSR3640-1>dis cu | in snmp
snmp-agent
snmp-agent local-engineid 800063A2XXXXXXXXXXXXXXXXX
snmp-agent community read venic
snmp-agent sys-info version all
如上配置已顯示,我開啓了SNMP,並放開snmp community爲venic,亦是指,若是有外人來訪問個人snmp功能時,外人須要報暗號爲 venic,答對了我才返回結果給它,默認不改這個參數的話,是團體名爲public,怕有攻擊,或有人亂請求的snmp服務,咱們的團體名應設置爲你本身知道的,
接下來咱們須要使用到一臺linux的客戶機,並安裝了net-snmp net-snmp-utils服務,一般是zabbix的Server端,或者Proxy端上。
使用命令嘗試獲取一下
snmpwalk -v 2c -c <團體名> <網絡設備IP> <OID值>
好比我剛查看剛纔那臺路由器的內存剩餘百分比,以下顯示,
[root@zabbixserver ~]# snmpwalk -v 2c -c public 10.10.10.1 1.3.6.1.4.1.25506.2.6.1.1.1.1.8.11
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.11 = INTEGER: 38
當前內存使用了,38%,符合上面命令的結果。
也就是說,你知道了網絡設備的OID值 ,你想監控啥就都能拿獲得值,
接着咱們就能夠建立監控模版了
模版叫H3C MSR3640
它包含3個應用集
1個是基礎項監控
1個是自動探索接口
1個是自動探環境。
在基礎項監控中,咱們新建一個監控項,名叫Memory Use,定義的參數以下,保存便可,
鍵值是本身定義的名稱,通常咱們會跟OID手冊中的名稱起一致的名字,
OID就是剛纔測試經過的OID值
這裏的{$SNMP_COMMUNITY},我定義的是一個變量,也就是這個變量在這個模版中,暫未聲明它是venic,由於我不知道將還有沒有其它網絡設備是不叫這樣venic。
那這個{$SNMP_COMMUNITY}變量是怎麼賦值的呢?以下,咱們在添加主機監控時,在「宏」中,將這個變量賦值進去,那這就意味着,未來這個團體名,是在建立監控主機時配進去的,這樣能夠提升模版的通用性
咱們還能夠給這個監控項作一個告警閾值,調用它的鍵值結果,作實時最新一次的結果的判斷,當它內存使用率大於80時,也觸發告警
那咱們再看一個結果,我把上面的那條命令去掉一個.11,顯示的結果以下
[root@zabbixserver ~]# snmpwalk -v 2c -c public 10.10.10.1 1.3.6.1.4.1.25506.2.6.1.1.1.1.8
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.1 = INTEGER: 0
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.2 = INTEGER: 0
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.3 = INTEGER: 0
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.4 = INTEGER: 0
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.7 = INTEGER: 0
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.11 = INTEGER: 38
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.12 = INTEGER: 0
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.13 = INTEGER: 0
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.16 = INTEGER: 0
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.20 = INTEGER: 0
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.21 = INTEGER: 0
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.22 = INTEGER: 0
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.23 = INTEGER: 0
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.24 = INTEGER: 0
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.25 = INTEGER: 0
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.26 = INTEGER: 0
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.27 = INTEGER: 0
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.28 = INTEGER: 0
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.29 = INTEGER: 0
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.30 = INTEGER: 0
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.36 = INTEGER: 0
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.37 = INTEGER: 0
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.38 = INTEGER: 0
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.39 = INTEGER: 0
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.43 = INTEGER: 0
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.44 = INTEGER: 0
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.45 = INTEGER: 0
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.46 = INTEGER: 0
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.48 = INTEGER: 0
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.64 = INTEGER: 0
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.65 = INTEGER: 0
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.66 = INTEGER: 0
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.67 = INTEGER: 0
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.71 = INTEGER: 0
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.76 = INTEGER: 0
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.77 = INTEGER: 0
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.78 = INTEGER: 0
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.79 = INTEGER: 0
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.80 = INTEGER: 0
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.81 = INTEGER: 0
SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.1356 = INTEGER: 0
這樣的結果返回給zabbix它能接收嗎?答,這種看狀況,像這種監控,咱們已經在zabbix的監控項中,定義了返回值是正數、符點、或整字,那樣zabbix只接受單一值的返回,上面的返回只能給你返回字符串。監控項在應用後,會拋出獲得的值沒法應用。監控項顯示X狀態
若是端口監控項咱們一個一個手工加的話,會死人,好比一臺交換機有幾十個端口,一個端口咱們要監控它的進出流 量,進出的誤碼包等。
那假如我有一個需求,想讓它仿照linux模版那樣,將機器的端口,自動探索,而後循環自動添加單一數值的監控項?
咱們須要作模版內部的自動探索的二級模版了。
咱們作一下端口的自動探索監控,幸運的是咱們的接口的探索,無需OID值,zabbix的服務端幫我作了一個discory的方法,若是下配置,它就幫我檢索出全部接口的OID,並賦值給{#SNMPVALUE}中,等下咱們就能夠經過這個變量值在,監控項原型中,定義咱們要監控的內容 。
好比接口的出方向流量。zabbix又幫我作了一個方法ifOutOctets,回傳這個流量值。以下
依此類推一個端口的咱們就能夠複用監控如下這麼多要監控的內容,接口的狀態,接口的流量,接口的誤碼,接口的管理狀態
並且咱們還能夠給它定義監控的閾值來觸發告警。
固然咱們也能夠借用zabbix的discovry來建立其它的自動發現
好比,上海這臺機器上2個電源設備power,但因有些機器只接單電源,有的接雙電,我又不想經過自定義OID值來監控這一項,我想讓其自動探索,有2個就監控2個,只有1個就監控1個,我無需關心
<MSR3640-1>dis power-supply
Index Status
-----------------------
PWR1 normal
PWR2 normal
對應該的OID值
<MSR3640-1>display snmp-agent mib-node | in 1.3.6.1.4.1.25506.8.35.9.1.2.1
|-hh3cdevMPowerStatusEntry<1.3.6.1.4.1.25506.8.35.9.1.2.1>(NA)
|-*hh3cDevMPowerNum<1.3.6.1.4.1.25506.8.35.9.1.2.1.1>(RO)
|-*hh3cDevMPowerStatus<1.3.6.1.4.1.25506.8.35.9.1.2.1.2>(RO)
其中1.3.6.1.4.1.25506.8.35.9.1.2.1.1記錄電源數量
其中1.3.6.1.4.1.25506.8.35.9.1.2.1.2記錄電源狀態
經過客戶端命令遠程訪問,顯示爲2個電源
[root@zabbixserver ~]# snmpwalk -v 2c -c PUBLIC XXXXX 1.3.6.1.4.1.25506.8.35.9.1.2.1.1
SNMPv2-SMI::enterprises.25506.8.35.9.1.2.1.1.1 = INTEGER: 1
SNMPv2-SMI::enterprises.25506.8.35.9.1.2.1.1.2 = INTEGER: 2
若是咱們這時要探索的話,能夠將上面這2條記錄探索回來,獲得兩個值,1和2 ,並賦值給{#SNMPVALUE },以下示例
咱們知道只能1和2咱們是沒法經過SNMP拿不到狀態結果的,我就是須要跟其中1.3.6.1.4.1.25506.8.35.9.1.2.1.2記錄電源狀態的OID相加,獲得咱們須要查看的值
[root@zabbixserver ~]# snmpwalk -v 2c -c Public X.X.X.X 1.3.6.1.4.1.25506.8.35.9.1.2.1.2.1
SNMPv2-SMI::enterprises.25506.8.35.9.1.2.1.2.1 = INTEGER: 1
[root@zabbixserver ~]# snmpwalk -v 2c -c Public X.X.X.X 1.3.6.1.4.1.25506.8.35.9.1.2.1.2.2
SNMPv2-SMI::enterprises.25506.8.35.9.1.2.1.2.2 = INTEGER: 1
它的狀態顯示反回顯示都1,指的是normal狀態
接下來咱們就能夠經過這個思路,建立監控項,以下截圖
一、名稱中的$1,表明探索的條目數目1和2, 這樣,咱們探索出來的監控項,在最終的zabbix中顯示就是 Status of Power 1 Status of Power 2
二、鍵值中的{SNMPVALUE}則是咱們在上面探索後,獲得的返回值1和2,並把它作成一個鍵值名稱,由於在1個模版中,鍵值是爲人定義的,是惟一的,是爲後面的觸發器建立做調用的,若是鍵值名稱不惟一,模版在保存時會有提示報錯。
三、SNMP OID中的{SNMPINDEX}就是咱們上面剛纔所提到的思路,相加
四、查看值:H3C PowerStatus 是自定義的,由於
四、查看值:H3C PowerStatus 是自定義的,由於zabbix記錄只是數字,但咱們前端須要展現,這個狀態表明什麼意思,因此咱們能夠自定義這個展現值,並應用到監控項中。
還能夠關於電源的,還能夠添加觸發器,規則diff(0)爲最後一次比較發生數字有變化,拋出告警
相關H3C zabbix3.0 模版分享,只需將各個模版內的代碼拷貝,分別另存爲一份xml文件到你本地電腦,就能夠導入到你的zabbix模版中。後續可跟據本身的需求,進行修改,添加等操做
https://share.zabbix.com/component/mtree/network_devices/h3c-switch-chinese?Itemid=
https://share.zabbix.com/network_devices/h3c-wireless-ac-chinese
<?xml version="1.0" encoding="UTF-8"?> <zabbix_export> <version>3.0</version> <date>2017-01-18T10:14:07Z</date> <groups> <group> <name>Templates</name> </group> </groups> <templates> <template> <template>H3C-4</template> <name>H3C F100 F1000</name> <description/> <groups> <group> <name>Templates</name> </group> </groups> <applications> <application> <name>Discovery Env</name> </application> <application> <name>Discovery Int</name> </application> <application> <name>General</name> </application> </applications> <items> <item> <name>CPU</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>1.3.6.1.4.1.25506.2.6.1.1.1.1.6.3</snmp_oid> <key>hh3cEntityExtCpuUsage</key> <delay>60</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units>%</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/> <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>General</name> </application> </applications> <valuemap/> <logtimefmt/> </item> <item> <name>Memory Use</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>1</multiplier> <snmp_oid>1.3.6.1.4.1.25506.2.6.1.1.1.1.8.3</snmp_oid> <key>hh3cEntityExtMemUsage</key> <delay>60</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units>%</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/> <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>General</name> </application> </applications> <valuemap/> <logtimefmt/> </item> <item> <name>ICMP loss</name> <type>3</type> <snmp_community/> <multiplier>0</multiplier> <snmp_oid/> <key>icmppingloss</key> <delay>60</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>0</value_type> <allowed_hosts/> <units>%</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/> <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>General</name> </application> </applications> <valuemap/> <logtimefmt/> </item> <item> <name>ICMP response time</name> <type>3</type> <snmp_community/> <multiplier>1</multiplier> <snmp_oid/> <key>icmppingsec</key> <delay>60</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>0</value_type> <allowed_hosts/> <units>s</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/> <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>General</name> </application> </applications> <valuemap/> <logtimefmt/> </item> <item> <name>Number of network interfaces</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>IF-MIB::ifNumber.0</snmp_oid> <key>ifNumber</key> <delay>3600</delay> <history>7</history> <trends>14</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/> <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>Discovery Int</name> </application> </applications> <valuemap/> <logtimefmt/> </item> <item> <name>sysUpTime</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>DISMAN-EVENT-MIB::sysUpTimeInstance</snmp_oid> <key>sysUpTime</key> <delay>300</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>0</value_type> <allowed_hosts/> <units>uptime</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/> <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>General</name> </application> </applications> <valuemap/> <logtimefmt/> </item> </items> <discovery_rules> <discovery_rule> <name>Number of DevicePower</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <snmp_oid>discovery[{#SNMPVALUE},1.3.6.1.4.1.25506.8.35.9.1.2.1.1]</snmp_oid> <key>hh3cDevMPowerNum</key> <delay>3600</delay> <status>0</status> <allowed_hosts/> <snmpv3_contextname/> <snmpv3_securityname/> <snmpv3_securitylevel>0</snmpv3_securitylevel> <snmpv3_authprotocol>0</snmpv3_authprotocol> <snmpv3_authpassphrase/> <snmpv3_privprotocol>0</snmpv3_privprotocol> <snmpv3_privpassphrase/> <delay_flex/> <params/> <ipmi_sensor/> <authtype>0</authtype> <username/> <password/> <publickey/> <privatekey/> <port/> <filter> <evaltype>0</evaltype> <formula/> <conditions/> </filter> <lifetime>30</lifetime> <description/> <item_prototypes> <item_prototype> <name>Status of Power $1</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>1.3.6.1.4.1.25506.8.35.9.1.2.1.2.{#SNMPINDEX}</snmp_oid> <key>hh3cDevMPowerStatus[{#SNMPVALUE}]</key> <delay>60</delay> <history>7</history> <trends>14</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/> <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>Discovery Env</name> </application> </applications> <valuemap> <name>H3C PowerStatus</name> </valuemap> <logtimefmt/> <application_prototypes/> </item_prototype> </item_prototypes> <trigger_prototypes> <trigger_prototype> <expression>{H3C-4:hh3cDevMPowerStatus[{#SNMPVALUE}].diff(0)}=1</expression> <name>Operational status was changed on {HOST.NAME} Power {#SNMPVALUE}</name> <url/> <status>0</status> <priority>2</priority> <description/> <type>0</type> <dependencies/> </trigger_prototype> </trigger_prototypes> <graph_prototypes/> <host_prototypes/> </discovery_rule> <discovery_rule> <name>Network interfaces</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <snmp_oid>discovery[{#SNMPVALUE},IF-MIB::ifDescr]</snmp_oid> <key>ifDescr</key> <delay>3600</delay> <status>0</status> <allowed_hosts/> <snmpv3_contextname/> <snmpv3_securityname/> <snmpv3_securitylevel>0</snmpv3_securitylevel> <snmpv3_authprotocol>0</snmpv3_authprotocol> <snmpv3_authpassphrase/> <snmpv3_privprotocol>0</snmpv3_privprotocol> <snmpv3_privpassphrase/> <delay_flex/> <params/> <ipmi_sensor/> <authtype>0</authtype> <username/> <password/> <publickey/> <privatekey/> <port/> <filter> <evaltype>0</evaltype> <formula/> <conditions/> </filter> <lifetime>30</lifetime> <description/> <item_prototypes> <item_prototype> <name>Admin status of interface $1</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>IF-MIB::ifAdminStatus.{#SNMPINDEX}</snmp_oid> <key>ifAdminStatus[{#SNMPVALUE}]</key> <delay>60</delay> <history>7</history> <trends>14</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/> <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>Discovery Int</name> </application> </applications> <valuemap> <name>SNMP interface status (ifAdminStatus)</name> </valuemap> <logtimefmt/> <application_prototypes/> </item_prototype> <item_prototype> <name>Alias of interface $1</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>IF-MIB::ifAlias.{#SNMPINDEX}</snmp_oid> <key>ifAlias[{#SNMPVALUE}]</key> <delay>3600</delay> <history>7</history> <trends>0</trends> <status>0</status> <value_type>1</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/> <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>Discovery Int</name> </application> </applications> <valuemap/> <logtimefmt/> <application_prototypes/> </item_prototype> <item_prototype> <name>Description of interface $1</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>IF-MIB::ifDescr.{#SNMPINDEX}</snmp_oid> <key>ifDescr[{#SNMPVALUE}]</key> <delay>3600</delay> <history>7</history> <trends>0</trends> <status>0</status> <value_type>1</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/> <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>Discovery Int</name> </application> </applications> <valuemap/> <logtimefmt/> <application_prototypes/> </item_prototype> <item_prototype> <name>Inbound errors on interface $1</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>IF-MIB::ifInErrors.{#SNMPINDEX}</snmp_oid> <key>ifInErrors[{#SNMPVALUE}]</key> <delay>60</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units/> <delta>1</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/> <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>Discovery Int</name> </application> </applications> <valuemap/> <logtimefmt/> <application_prototypes/> </item_prototype> <item_prototype> <name>Incoming traffic on interface $1</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>1</multiplier> <snmp_oid>IF-MIB::ifInOctets.{#SNMPINDEX}</snmp_oid> <key>ifInOctets[{#SNMPVALUE}]</key> <delay>60</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units>bps</units> <delta>1</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>8</formula> <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>Discovery Int</name> </application> </applications> <valuemap/> <logtimefmt/> <application_prototypes/> </item_prototype> <item_prototype> <name>Operational status of interface $1</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>IF-MIB::ifOperStatus.{#SNMPINDEX}</snmp_oid> <key>ifOperStatus[{#SNMPVALUE}]</key> <delay>60</delay> <history>7</history> <trends>14</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/> <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>Discovery Int</name> </application> </applications> <valuemap> <name>SNMP interface status (ifOperStatus)</name> </valuemap> <logtimefmt/> <application_prototypes/> </item_prototype> <item_prototype> <name>Outbound errors on interface $1</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>IF-MIB::ifOutErrors.{#SNMPINDEX}</snmp_oid> <key>ifOutErrors[{#SNMPVALUE}]</key> <delay>60</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units/> <delta>1</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/> <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>Discovery Int</name> </application> </applications> <valuemap/> <logtimefmt/> <application_prototypes/> </item_prototype> <item_prototype> <name>Outgoing traffic on interface $1</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>1</multiplier> <snmp_oid>IF-MIB::ifOutOctets.{#SNMPINDEX}</snmp_oid> <key>ifOutOctets[{#SNMPVALUE}]</key> <delay>60</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units>bps</units> <delta>1</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>8</formula> <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>Discovery Int</name> </application> </applications> <valuemap/> <logtimefmt/> <application_prototypes/> </item_prototype> </item_prototypes> <trigger_prototypes> <trigger_prototype> <expression>{H3C-4:ifInErrors[{#SNMPVALUE}].last(0)}>100 or {H3C-4:ifOutErrors[{#SNMPVALUE}].last(0)}>100</expression> <name>Errors on {HOST.NAME} interface {#SNMPVALUE}</name> <url/> <status>0</status> <priority>2</priority> <description/> <type>0</type> <dependencies/> </trigger_prototype> <trigger_prototype> <expression>{H3C-4:ifOperStatus[{#SNMPVALUE}].diff(0)}=1</expression> <name>Operational status was changed on {HOST.NAME} interface {#SNMPVALUE}</name> <url/> <status>0</status> <priority>2</priority> <description/> <type>0</type> <dependencies/> </trigger_prototype> </trigger_prototypes> <graph_prototypes> <graph_prototype> <name>Traffic on interface {#SNMPVALUE}</name> <width>900</width> <height>200</height> <yaxismin>0.0000</yaxismin> <yaxismax>100.0000</yaxismax> <show_work_period>0</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>006600</color> <yaxisside>0</yaxisside> <calc_fnc>2</calc_fnc> <type>0</type> <item> <host>H3C-4</host> <key>ifInOctets[{#SNMPVALUE}]</key> </item> </graph_item> <graph_item> <sortorder>1</sortorder> <drawtype>0</drawtype> <color>000033</color> <yaxisside>0</yaxisside> <calc_fnc>2</calc_fnc> <type>0</type> <item> <host>H3C-4</host> <key>ifOutOctets[{#SNMPVALUE}]</key> </item> </graph_item> </graph_items> </graph_prototype> </graph_prototypes> <host_prototypes/> </discovery_rule> </discovery_rules> <macros> <macro> <macro>{$SNMP_COMMUNITY}</macro> <value>public</value> </macro> </macros> <templates/> <screens/> </template> </templates> <triggers> <trigger> <expression>{H3C-4:icmppingloss.min(2m)}>40</expression> <name>Ping loss is too high on {HOST.NAME}</name> <url/> <status>0</status> <priority>3</priority> <description>Packet loss more than 40% on {HOST.IP}</description> <type>0</type> <dependencies/> </trigger> <trigger> <expression>{H3C-4:icmppingsec.avg(2m)}>0.20</expression> <name>Response time is too high on {HOST.NAME}</name> <url/> <status>0</status> <priority>2</priority> <description>Response time more than 200ms for 2 minutes.</description> <type>0</type> <dependencies/> </trigger> <trigger> <expression>{H3C-4:hh3cEntityExtCpuUsage.last(0)}>80</expression> <name>{HOST.NAME} CPU>80%</name> <url/> <status>0</status> <priority>3</priority> <description/> <type>0</type> <dependencies/> </trigger> <trigger> <expression>{H3C-4:hh3cEntityExtMemUsage.last(0)}>80</expression> <name>{HOST.NAME} memory>80%</name> <url/> <status>0</status> <priority>3</priority> <description/> <type>0</type> <dependencies/> </trigger> <trigger> <expression>{H3C-4:sysUpTime.last(0)}<600</expression> <name>{HOST.NAME} reloaded</name> <url/> <status>0</status> <priority>1</priority> <description>{HOST.NAME} reloaded</description> <type>1</type> <dependencies/> </trigger> </triggers> <graphs> <graph> <name>CPU</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>H3C-4</host> <key>hh3cEntityExtCpuUsage</key> </item> </graph_item> </graph_items> </graph> <graph> <name>Memory</name> <width>900</width> <height>200</height> <yaxismin>0.0000</yaxismin> <yaxismax>100.0000</yaxismax> <show_work_period>1</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>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>H3C-4</host> <key>hh3cEntityExtMemUsage</key> </item> </graph_item> </graph_items> </graph> </graphs> <value_maps> <value_map> <name>H3C PowerStatus</name> <mappings> <mapping> <value>1</value> <newvalue>Normal</newvalue> </mapping> <mapping> <value>2</value> <newvalue>Power Off</newvalue> </mapping> <mapping> <value>3</value> <newvalue>No insert</newvalue> </mapping> </mappings> </value_map> <value_map> <name>SNMP interface status (ifAdminStatus)</name> <mappings> <mapping> <value>1</value> <newvalue>up</newvalue> </mapping> <mapping> <value>2</value> <newvalue>down</newvalue> </mapping> <mapping> <value>3</value> <newvalue>testing</newvalue> </mapping> </mappings> </value_map> <value_map> <name>SNMP interface status (ifOperStatus)</name> <mappings> <mapping> <value>1</value> <newvalue>up</newvalue> </mapping> <mapping> <value>2</value> <newvalue>down</newvalue> </mapping> <mapping> <value>3</value> <newvalue>testing</newvalue> </mapping> <mapping> <value>4</value> <newvalue>unknown</newvalue> </mapping> <mapping> <value>5</value> <newvalue>dormant</newvalue> </mapping> <mapping> <value>6</value> <newvalue>notPresent</newvalue> </mapping> <mapping> <value>7</value> <newvalue>lowerLayerDown</newvalue> </mapping> </mappings> </value_map> </value_maps> </zabbix_export>
<?xml version="1.0" encoding="UTF-8"?> <zabbix_export> <version>3.0</version> <date>2017-01-18T10:18:17Z</date> <groups> <group> <name>Templates</name> </group> </groups> <templates> <template> <template>H3C-5</template> <name>H3C MSR3640</name> <description/> <groups> <group> <name>Templates</name> </group> </groups> <applications> <application> <name>Discovery Env</name> </application> <application> <name>Discovery Int</name> </application> <application> <name>General</name> </application> </applications> <items> <item> <name>CPU</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>1.3.6.1.4.1.25506.2.6.1.1.1.1.6.11</snmp_oid> <key>hh3cEntityExtCpuUsage</key> <delay>60</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units>%</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/> <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>General</name> </application> </applications> <valuemap/> <logtimefmt/> </item> <item> <name>Memory Use</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>1</multiplier> <snmp_oid>1.3.6.1.4.1.25506.2.6.1.1.1.1.8.11</snmp_oid> <key>hh3cEntityExtMemUsage</key> <delay>60</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units>%</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/> <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>General</name> </application> </applications> <valuemap/> <logtimefmt/> </item> <item> <name>ICMP loss</name> <type>3</type> <snmp_community/> <multiplier>0</multiplier> <snmp_oid/> <key>icmppingloss</key> <delay>60</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>0</value_type> <allowed_hosts/> <units>%</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/> <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>General</name> </application> </applications> <valuemap/> <logtimefmt/> </item> <item> <name>ICMP response time</name> <type>3</type> <snmp_community/> <multiplier>1</multiplier> <snmp_oid/> <key>icmppingsec</key> <delay>60</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>0</value_type> <allowed_hosts/> <units>s</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/> <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>General</name> </application> </applications> <valuemap/> <logtimefmt/> </item> <item> <name>Number of network interfaces</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>IF-MIB::ifNumber.0</snmp_oid> <key>ifNumber</key> <delay>3600</delay> <history>7</history> <trends>14</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/> <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>Discovery Int</name> </application> </applications> <valuemap/> <logtimefmt/> </item> <item> <name>sysUpTime</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>DISMAN-EVENT-MIB::sysUpTimeInstance</snmp_oid> <key>sysUpTime</key> <delay>300</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>0</value_type> <allowed_hosts/> <units>uptime</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/> <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>General</name> </application> </applications> <valuemap/> <logtimefmt/> </item> </items> <discovery_rules> <discovery_rule> <name>Number of DevicePower</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <snmp_oid>discovery[{#SNMPVALUE},1.3.6.1.4.1.25506.8.35.9.1.2.1.1]</snmp_oid> <key>hh3cDevMPowerNum</key> <delay>3600</delay> <status>0</status> <allowed_hosts/> <snmpv3_contextname/> <snmpv3_securityname/> <snmpv3_securitylevel>0</snmpv3_securitylevel> <snmpv3_authprotocol>0</snmpv3_authprotocol> <snmpv3_authpassphrase/> <snmpv3_privprotocol>0</snmpv3_privprotocol> <snmpv3_privpassphrase/> <delay_flex/> <params/> <ipmi_sensor/> <authtype>0</authtype> <username/> <password/> <publickey/> <privatekey/> <port/> <filter> <evaltype>0</evaltype> <formula/> <conditions/> </filter> <lifetime>30</lifetime> <description/> <item_prototypes> <item_prototype> <name>Status of Power $1</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>1.3.6.1.4.1.25506.8.35.9.1.2.1.2.{#SNMPINDEX}</snmp_oid> <key>hh3cDevMPowerStatus[{#SNMPVALUE}]</key> <delay>60</delay> <history>7</history> <trends>14</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/> <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>Discovery Env</name> </application> </applications> <valuemap> <name>H3C PowerStatus</name> </valuemap> <logtimefmt/> <application_prototypes/> </item_prototype> </item_prototypes> <trigger_prototypes> <trigger_prototype> <expression>{H3C-5:hh3cDevMPowerStatus[{#SNMPVALUE}].diff(0)}=1</expression> <name>Operational status was changed on {HOST.NAME} Power {#SNMPVALUE}</name> <url/> <status>0</status> <priority>2</priority> <description/> <type>0</type> <dependencies/> </trigger_prototype> </trigger_prototypes> <graph_prototypes/> <host_prototypes/> </discovery_rule> <discovery_rule> <name>Network interfaces</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <snmp_oid>discovery[{#SNMPVALUE},IF-MIB::ifDescr]</snmp_oid> <key>ifDescr</key> <delay>3600</delay> <status>0</status> <allowed_hosts/> <snmpv3_contextname/> <snmpv3_securityname/> <snmpv3_securitylevel>0</snmpv3_securitylevel> <snmpv3_authprotocol>0</snmpv3_authprotocol> <snmpv3_authpassphrase/> <snmpv3_privprotocol>0</snmpv3_privprotocol> <snmpv3_privpassphrase/> <delay_flex/> <params/> <ipmi_sensor/> <authtype>0</authtype> <username/> <password/> <publickey/> <privatekey/> <port/> <filter> <evaltype>0</evaltype> <formula/> <conditions/> </filter> <lifetime>30</lifetime> <description/> <item_prototypes> <item_prototype> <name>Admin status of interface $1</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>IF-MIB::ifAdminStatus.{#SNMPINDEX}</snmp_oid> <key>ifAdminStatus[{#SNMPVALUE}]</key> <delay>60</delay> <history>7</history> <trends>14</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/> <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>Discovery Int</name> </application> </applications> <valuemap> <name>SNMP interface status (ifAdminStatus)</name> </valuemap> <logtimefmt/> <application_prototypes/> </item_prototype> <item_prototype> <name>Alias of interface $1</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>IF-MIB::ifAlias.{#SNMPINDEX}</snmp_oid> <key>ifAlias[{#SNMPVALUE}]</key> <delay>3600</delay> <history>7</history> <trends>0</trends> <status>0</status> <value_type>1</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/> <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>Discovery Int</name> </application> </applications> <valuemap/> <logtimefmt/> <application_prototypes/> </item_prototype> <item_prototype> <name>Description of interface $1</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>IF-MIB::ifDescr.{#SNMPINDEX}</snmp_oid> <key>ifDescr[{#SNMPVALUE}]</key> <delay>3600</delay> <history>7</history> <trends>0</trends> <status>0</status> <value_type>1</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/> <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>Discovery Int</name> </application> </applications> <valuemap/> <logtimefmt/> <application_prototypes/> </item_prototype> <item_prototype> <name>Inbound errors on interface $1</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>IF-MIB::ifInErrors.{#SNMPINDEX}</snmp_oid> <key>ifInErrors[{#SNMPVALUE}]</key> <delay>60</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units/> <delta>1</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/> <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>Discovery Int</name> </application> </applications> <valuemap/> <logtimefmt/> <application_prototypes/> </item_prototype> <item_prototype> <name>Incoming traffic on interface $1</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>1</multiplier> <snmp_oid>IF-MIB::ifInOctets.{#SNMPINDEX}</snmp_oid> <key>ifInOctets[{#SNMPVALUE}]</key> <delay>60</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units>bps</units> <delta>1</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>8</formula> <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>Discovery Int</name> </application> </applications> <valuemap/> <logtimefmt/> <application_prototypes/> </item_prototype> <item_prototype> <name>Operational status of interface $1</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>IF-MIB::ifOperStatus.{#SNMPINDEX}</snmp_oid> <key>ifOperStatus[{#SNMPVALUE}]</key> <delay>60</delay> <history>7</history> <trends>14</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/> <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>Discovery Int</name> </application> </applications> <valuemap> <name>SNMP interface status (ifOperStatus)</name> </valuemap> <logtimefmt/> <application_prototypes/> </item_prototype> <item_prototype> <name>Outbound errors on interface $1</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>IF-MIB::ifOutErrors.{#SNMPINDEX}</snmp_oid> <key>ifOutErrors[{#SNMPVALUE}]</key> <delay>60</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units/> <delta>1</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/> <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>Discovery Int</name> </application> </applications> <valuemap/> <logtimefmt/> <application_prototypes/> </item_prototype> <item_prototype> <name>Outgoing traffic on interface $1</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>1</multiplier> <snmp_oid>IF-MIB::ifOutOctets.{#SNMPINDEX}</snmp_oid> <key>ifOutOctets[{#SNMPVALUE}]</key> <delay>60</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units>bps</units> <delta>1</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>8</formula> <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>Discovery Int</name> </application> </applications> <valuemap/> <logtimefmt/> <application_prototypes/> </item_prototype> </item_prototypes> <trigger_prototypes> <trigger_prototype> <expression>{H3C-5:ifInErrors[{#SNMPVALUE}].last(0)}>100 or {H3C-5:ifOutErrors[{#SNMPVALUE}].last(0)}>100</expression> <name>Errors on {HOST.NAME} interface {#SNMPVALUE}</name> <url/> <status>0</status> <priority>2</priority> <description/> <type>0</type> <dependencies/> </trigger_prototype> <trigger_prototype> <expression>{H3C-5:ifOperStatus[{#SNMPVALUE}].diff(0)}=1</expression> <name>Operational status was changed on {HOST.NAME} interface {#SNMPVALUE}</name> <url/> <status>0</status> <priority>2</priority> <description/> <type>0</type> <dependencies/> </trigger_prototype> </trigger_prototypes> <graph_prototypes> <graph_prototype> <name>Traffic on interface {#SNMPVALUE}</name> <width>900</width> <height>200</height> <yaxismin>0.0000</yaxismin> <yaxismax>100.0000</yaxismax> <show_work_period>0</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>006600</color> <yaxisside>0</yaxisside> <calc_fnc>2</calc_fnc> <type>0</type> <item> <host>H3C-5</host> <key>ifInOctets[{#SNMPVALUE}]</key> </item> </graph_item> <graph_item> <sortorder>1</sortorder> <drawtype>0</drawtype> <color>000033</color> <yaxisside>0</yaxisside> <calc_fnc>2</calc_fnc> <type>0</type> <item> <host>H3C-5</host> <key>ifOutOctets[{#SNMPVALUE}]</key> </item> </graph_item> </graph_items> </graph_prototype> </graph_prototypes> <host_prototypes/> </discovery_rule> </discovery_rules> <macros> <macro> <macro>{$SNMP_COMMUNITY}</macro> <value>public</value> </macro> </macros> <templates/> <screens/> </template> </templates> <triggers> <trigger> <expression>{H3C-5:icmppingloss.min(2m)}>40</expression> <name>Ping loss is too high on {HOST.NAME}</name> <url/> <status>0</status> <priority>3</priority> <description>Packet loss more than 40% on {HOST.IP}</description> <type>0</type> <dependencies/> </trigger> <trigger> <expression>{H3C-5:icmppingsec.avg(2m)}>0.20</expression> <name>Response time is too high on {HOST.NAME}</name> <url/> <status>0</status> <priority>2</priority> <description>Response time more than 200ms for 2 minutes.</description> <type>0</type> <dependencies/> </trigger> <trigger> <expression>{H3C-5:hh3cEntityExtCpuUsage.last(0)}>80</expression> <name>{HOST.NAME} CPU>80%</name> <url/> <status>0</status> <priority>3</priority> <description/> <type>0</type> <dependencies/> </trigger> <trigger> <expression>{H3C-5:hh3cEntityExtMemUsage.last(0)}>80</expression> <name>{HOST.NAME} memory>80%</name> <url/> <status>0</status> <priority>3</priority> <description/> <type>0</type> <dependencies/> </trigger> <trigger> <expression>{H3C-5:sysUpTime.last(0)}<600</expression> <name>{HOST.NAME} reloaded</name> <url/> <status>0</status> <priority>1</priority> <description>{HOST.NAME} reloaded</description> <type>1</type> <dependencies/> </trigger> </triggers> <graphs> <graph> <name>CPU</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>H3C-5</host> <key>hh3cEntityExtCpuUsage</key> </item> </graph_item> </graph_items> </graph> <graph> <name>Memory</name> <width>900</width> <height>200</height> <yaxismin>0.0000</yaxismin> <yaxismax>100.0000</yaxismax> <show_work_period>1</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>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>H3C-5</host> <key>hh3cEntityExtMemUsage</key> </item> </graph_item> </graph_items> </graph> </graphs> <value_maps> <value_map> <name>H3C PowerStatus</name> <mappings> <mapping> <value>1</value> <newvalue>Normal</newvalue> </mapping> <mapping> <value>2</value> <newvalue>Power Off</newvalue> </mapping> <mapping> <value>3</value> <newvalue>No insert</newvalue> </mapping> </mappings> </value_map> <value_map> <name>SNMP interface status (ifAdminStatus)</name> <mappings> <mapping> <value>1</value> <newvalue>up</newvalue> </mapping> <mapping> <value>2</value> <newvalue>down</newvalue> </mapping> <mapping> <value>3</value> <newvalue>testing</newvalue> </mapping> </mappings> </value_map> <value_map> <name>SNMP interface status (ifOperStatus)</name> <mappings> <mapping> <value>1</value> <newvalue>up</newvalue> </mapping> <mapping> <value>2</value> <newvalue>down</newvalue> </mapping> <mapping> <value>3</value> <newvalue>testing</newvalue> </mapping> <mapping> <value>4</value> <newvalue>unknown</newvalue> </mapping> <mapping> <value>5</value> <newvalue>dormant</newvalue> </mapping> <mapping> <value>6</value> <newvalue>notPresent</newvalue> </mapping> <mapping> <value>7</value> <newvalue>lowerLayerDown</newvalue> </mapping> </mappings> </value_map> </value_maps> </zabbix_export>
<?xml version="1.0" encoding="UTF-8"?> <zabbix_export> <version>3.0</version> <date>2017-01-18T10:19:42Z</date> <groups> <group> <name>Templates</name> </group> </groups> <templates> <template> <template>H3C</template> <name>H3C MSR5660 S5560 S5110 WX3010AC F1030</name> <description/> <groups> <group> <name>Templates</name> </group> </groups> <applications> <application> <name>Discovery Env</name> </application> <application> <name>Discovery Int</name> </application> <application> <name>General</name> </application> </applications> <items> <item> <name>ICMP loss</name> <type>3</type> <snmp_community/> <multiplier>0</multiplier> <snmp_oid/> <key>icmppingloss</key> <delay>60</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>0</value_type> <allowed_hosts/> <units>%</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/> <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>General</name> </application> </applications> <valuemap/> <logtimefmt/> </item> <item> <name>ICMP response time</name> <type>3</type> <snmp_community/> <multiplier>1</multiplier> <snmp_oid/> <key>icmppingsec</key> <delay>60</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>0</value_type> <allowed_hosts/> <units>s</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/> <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>General</name> </application> </applications> <valuemap/> <logtimefmt/> </item> <item> <name>Number of network interfaces</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>IF-MIB::ifNumber.0</snmp_oid> <key>ifNumber</key> <delay>3600</delay> <history>7</history> <trends>14</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/> <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>Discovery Int</name> </application> </applications> <valuemap/> <logtimefmt/> </item> <item> <name>sysUpTime</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>DISMAN-EVENT-MIB::sysUpTimeInstance</snmp_oid> <key>sysUpTime</key> <delay>300</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>0</value_type> <allowed_hosts/> <units>uptime</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/> <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>General</name> </application> </applications> <valuemap/> <logtimefmt/> </item> </items> <discovery_rules> <discovery_rule> <name>Number of DevicePower</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <snmp_oid>discovery[{#SNMPVALUE},1.3.6.1.4.1.25506.8.35.9.1.2.1.1]</snmp_oid> <key>hh3cDevMPowerNum</key> <delay>3600</delay> <status>0</status> <allowed_hosts/> <snmpv3_contextname/> <snmpv3_securityname/> <snmpv3_securitylevel>0</snmpv3_securitylevel> <snmpv3_authprotocol>0</snmpv3_authprotocol> <snmpv3_authpassphrase/> <snmpv3_privprotocol>0</snmpv3_privprotocol> <snmpv3_privpassphrase/> <delay_flex/> <params/> <ipmi_sensor/> <authtype>0</authtype> <username/> <password/> <publickey/> <privatekey/> <port/> <filter> <evaltype>0</evaltype> <formula/> <conditions/> </filter> <lifetime>30</lifetime> <description/> <item_prototypes> <item_prototype> <name>Status of Power $1</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>1.3.6.1.4.1.25506.8.35.9.1.2.1.2.{#SNMPINDEX}</snmp_oid> <key>hh3cDevMPowerStatus[{#SNMPVALUE}]</key> <delay>60</delay> <history>7</history> <trends>14</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/> <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>Discovery Env</name> </application> </applications> <valuemap> <name>H3C PowerStatus</name> </valuemap> <logtimefmt/> <application_prototypes/> </item_prototype> </item_prototypes> <trigger_prototypes> <trigger_prototype> <expression>{H3C:hh3cDevMPowerStatus[{#SNMPVALUE}].diff(0)}=1</expression> <name>Operational status was changed on {HOST.NAME} Power {#SNMPVALUE}</name> <url/> <status>0</status> <priority>2</priority> <description/> <type>0</type> <dependencies/> </trigger_prototype> </trigger_prototypes> <graph_prototypes/> <host_prototypes/> </discovery_rule> <discovery_rule> <name>Number of Slot</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <snmp_oid>discovery[{#SNMPVALUE},1.3.6.1.4.1.25506.8.35.18.4.3.1.1]</snmp_oid> <key>hh3cLswSlotIndex</key> <delay>3600</delay> <status>0</status> <allowed_hosts/> <snmpv3_contextname/> <snmpv3_securityname/> <snmpv3_securitylevel>0</snmpv3_securitylevel> <snmpv3_authprotocol>0</snmpv3_authprotocol> <snmpv3_authpassphrase/> <snmpv3_privprotocol>0</snmpv3_privprotocol> <snmpv3_privpassphrase/> <delay_flex/> <params/> <ipmi_sensor/> <authtype>0</authtype> <username/> <password/> <publickey/> <privatekey/> <port/> <filter> <evaltype>0</evaltype> <formula/> <conditions/> </filter> <lifetime>30</lifetime> <description/> <item_prototypes> <item_prototype> <name>CPU Useage of slot $1</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>1.3.6.1.4.1.25506.8.35.18.4.3.1.4.{#SNMPINDEX}</snmp_oid> <key>hh3cLswSlotCpuRatio[{#SNMPVALUE}]</key> <delay>60</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units>%</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/> <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>Discovery Env</name> </application> </applications> <valuemap/> <logtimefmt/> <application_prototypes/> </item_prototype> <item_prototype> <name>Memory Usage of slot $1</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>1.3.6.1.4.1.25506.8.35.18.4.3.1.13.{#SNMPINDEX}</snmp_oid> <key>hh3cLswSlotMemoryRatio[{#SNMPVALUE}]</key> <delay>60</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units>%</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/> <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>Discovery Env</name> </application> </applications> <valuemap/> <logtimefmt/> <application_prototypes/> </item_prototype> </item_prototypes> <trigger_prototypes> <trigger_prototype> <expression>{H3C:hh3cLswSlotCpuRatio[{#SNMPVALUE}].last(0)}>80</expression> <name>{HOST.NAME} CPU {#SNMPVALUE} >80%</name> <url/> <status>0</status> <priority>2</priority> <description/> <type>0</type> <dependencies/> </trigger_prototype> <trigger_prototype> <expression>{H3C:hh3cLswSlotMemoryRatio[{#SNMPVALUE}].last(0)}>80</expression> <name>{HOST.NAME} slot {#SNMPVALUE} memory >80%</name> <url/> <status>0</status> <priority>2</priority> <description/> <type>1</type> <dependencies/> </trigger_prototype> </trigger_prototypes> <graph_prototypes> <graph_prototype> <name>Usage on CPU {#SNMPVALUE}</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>0</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>1</drawtype> <color>1A7C11</color> <yaxisside>0</yaxisside> <calc_fnc>2</calc_fnc> <type>0</type> <item> <host>H3C</host> <key>hh3cLswSlotCpuRatio[{#SNMPVALUE}]</key> </item> </graph_item> </graph_items> </graph_prototype> <graph_prototype> <name>Usage on memory {#SNMPVALUE}</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>1</drawtype> <color>00EEEE</color> <yaxisside>0</yaxisside> <calc_fnc>2</calc_fnc> <type>0</type> <item> <host>H3C</host> <key>hh3cLswSlotMemoryRatio[{#SNMPVALUE}]</key> </item> </graph_item> </graph_items> </graph_prototype> </graph_prototypes> <host_prototypes/> </discovery_rule> <discovery_rule> <name>Network interfaces</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <snmp_oid>discovery[{#SNMPVALUE},IF-MIB::ifDescr]</snmp_oid> <key>ifDescr</key> <delay>3600</delay> <status>0</status> <allowed_hosts/> <snmpv3_contextname/> <snmpv3_securityname/> <snmpv3_securitylevel>0</snmpv3_securitylevel> <snmpv3_authprotocol>0</snmpv3_authprotocol> <snmpv3_authpassphrase/> <snmpv3_privprotocol>0</snmpv3_privprotocol> <snmpv3_privpassphrase/> <delay_flex/> <params/> <ipmi_sensor/> <authtype>0</authtype> <username/> <password/> <publickey/> <privatekey/> <port/> <filter> <evaltype>0</evaltype> <formula/> <conditions/> </filter> <lifetime>30</lifetime> <description/> <item_prototypes> <item_prototype> <name>Admin status of interface $1</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>IF-MIB::ifAdminStatus.{#SNMPINDEX}</snmp_oid> <key>ifAdminStatus[{#SNMPVALUE}]</key> <delay>60</delay> <history>7</history> <trends>14</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/> <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>Discovery Int</name> </application> </applications> <valuemap> <name>SNMP interface status (ifAdminStatus)</name> </valuemap> <logtimefmt/> <application_prototypes/> </item_prototype> <item_prototype> <name>Alias of interface $1</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>IF-MIB::ifAlias.{#SNMPINDEX}</snmp_oid> <key>ifAlias[{#SNMPVALUE}]</key> <delay>3600</delay> <history>7</history> <trends>0</trends> <status>0</status> <value_type>1</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/> <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>Discovery Int</name> </application> </applications> <valuemap/> <logtimefmt/> <application_prototypes/> </item_prototype> <item_prototype> <name>Description of interface $1</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>IF-MIB::ifDescr.{#SNMPINDEX}</snmp_oid> <key>ifDescr[{#SNMPVALUE}]</key> <delay>3600</delay> <history>7</history> <trends>0</trends> <status>0</status> <value_type>1</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/> <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>Discovery Int</name> </application> </applications> <valuemap/> <logtimefmt/> <application_prototypes/> </item_prototype> <item_prototype> <name>Inbound errors on interface $1</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>IF-MIB::ifInErrors.{#SNMPINDEX}</snmp_oid> <key>ifInErrors[{#SNMPVALUE}]</key> <delay>60</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units/> <delta>1</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/> <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>Discovery Int</name> </application> </applications> <valuemap/> <logtimefmt/> <application_prototypes/> </item_prototype> <item_prototype> <name>Incoming traffic on interface $1</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>1</multiplier> <snmp_oid>IF-MIB::ifInOctets.{#SNMPINDEX}</snmp_oid> <key>ifInOctets[{#SNMPVALUE}]</key> <delay>60</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units>bps</units> <delta>1</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>8</formula> <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>Discovery Int</name> </application> </applications> <valuemap/> <logtimefmt/> <application_prototypes/> </item_prototype> <item_prototype> <name>Operational status of interface $1</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>IF-MIB::ifOperStatus.{#SNMPINDEX}</snmp_oid> <key>ifOperStatus[{#SNMPVALUE}]</key> <delay>60</delay> <history>7</history> <trends>14</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/> <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>Discovery Int</name> </application> </applications> <valuemap> <name>SNMP interface status (ifOperStatus)</name> </valuemap> <logtimefmt/> <application_prototypes/> </item_prototype> <item_prototype> <name>Outbound errors on interface $1</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>IF-MIB::ifOutErrors.{#SNMPINDEX}</snmp_oid> <key>ifOutErrors[{#SNMPVALUE}]</key> <delay>60</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units/> <delta>1</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/> <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>Discovery Int</name> </application> </applications> <valuemap/> <logtimefmt/> <application_prototypes/> </item_prototype> <item_prototype> <name>Outgoing traffic on interface $1</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>1</multiplier> <snmp_oid>IF-MIB::ifOutOctets.{#SNMPINDEX}</snmp_oid> <key>ifOutOctets[{#SNMPVALUE}]</key> <delay>60</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units>bps</units> <delta>1</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>8</formula> <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>Discovery Int</name> </application> </applications> <valuemap/> <logtimefmt/> <application_prototypes/> </item_prototype> </item_prototypes> <trigger_prototypes> <trigger_prototype> <expression>{H3C:ifInErrors[{#SNMPVALUE}].last(0)}>100 or {H3C:ifOutErrors[{#SNMPVALUE}].last(0)}>100</expression> <name>Errors on {HOST.NAME} interface {#SNMPVALUE}</name> <url/> <status>0</status> <priority>2</priority> <description/> <type>0</type> <dependencies/> </trigger_prototype> <trigger_prototype> <expression>{H3C:ifOperStatus[{#SNMPVALUE}].diff(0)}=1</expression> <name>Operational status was changed on {HOST.NAME} interface {#SNMPVALUE}</name> <url/> <status>0</status> <priority>2</priority> <description/> <type>0</type> <dependencies/> </trigger_prototype> </trigger_prototypes> <graph_prototypes> <graph_prototype> <name>Traffic on interface {#SNMPVALUE}</name> <width>900</width> <height>200</height> <yaxismin>0.0000</yaxismin> <yaxismax>100.0000</yaxismax> <show_work_period>0</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>006600</color> <yaxisside>0</yaxisside> <calc_fnc>2</calc_fnc> <type>0</type> <item> <host>H3C</host> <key>ifInOctets[{#SNMPVALUE}]</key> </item> </graph_item> <graph_item> <sortorder>1</sortorder> <drawtype>0</drawtype> <color>000033</color> <yaxisside>0</yaxisside> <calc_fnc>2</calc_fnc> <type>0</type> <item> <host>H3C</host> <key>ifOutOctets[{#SNMPVALUE}]</key> </item> </graph_item> </graph_items> </graph_prototype> </graph_prototypes> <host_prototypes/> </discovery_rule> </discovery_rules> <macros> <macro> <macro>{$SNMP_COMMUNITY}</macro> <value>public</value> </macro> </macros> <templates/> <screens/> </template> </templates> <triggers> <trigger> <expression>{H3C:icmppingloss.min(2m)}>40</expression> <name>Ping loss is too high on {HOST.NAME}</name> <url/> <status>0</status> <priority>3</priority> <description>Packet loss more than 40% on {HOST.IP}</description> <type>0</type> <dependencies/> </trigger> <trigger> <expression>{H3C:icmppingsec.avg(2m)}>0.20</expression> <name>Response time is too high on {HOST.NAME}</name> <url/> <status>0</status> <priority>2</priority> <description>Response time more than 200ms for 2 minutes.</description> <type>0</type> <dependencies/> </trigger> <trigger> <expression>{H3C:sysUpTime.last(0)}<600</expression> <name>{HOST.NAME} reloaded</name> <url/> <status>0</status> <priority>1</priority> <description>{HOST.NAME} reloaded</description> <type>1</type> <dependencies/> </trigger> </triggers> <value_maps> <value_map> <name>H3C PowerStatus</name> <mappings> <mapping> <value>1</value> <newvalue>Normal</newvalue> </mapping> <mapping> <value>2</value> <newvalue>Power Off</newvalue> </mapping> <mapping> <value>3</value> <newvalue>No insert</newvalue> </mapping> </mappings> </value_map> <value_map> <name>SNMP interface status (ifAdminStatus)</name> <mappings> <mapping> <value>1</value> <newvalue>up</newvalue> </mapping> <mapping> <value>2</value> <newvalue>down</newvalue> </mapping> <mapping> <value>3</value> <newvalue>testing</newvalue> </mapping> </mappings> </value_map> <value_map> <name>SNMP interface status (ifOperStatus)</name> <mappings> <mapping> <value>1</value> <newvalue>up</newvalue> </mapping> <mapping> <value>2</value> <newvalue>down</newvalue> </mapping> <mapping> <value>3</value> <newvalue>testing</newvalue> </mapping> <mapping> <value>4</value> <newvalue>unknown</newvalue> </mapping> <mapping> <value>5</value> <newvalue>dormant</newvalue> </mapping> <mapping> <value>6</value> <newvalue>notPresent</newvalue> </mapping> <mapping> <value>7</value> <newvalue>lowerLayerDown</newvalue> </mapping> </mappings> </value_map> </value_maps> </zabbix_export>
<?xml version="1.0" encoding="UTF-8"?> <zabbix_export> <version>3.0</version> <date>2017-01-18T10:20:37Z</date> <groups> <group> <name>Templates</name> </group> </groups> <templates> <template> <template>H3C-2</template> <name>H3C S3600</name> <description/> <groups> <group> <name>Templates</name> </group> </groups> <applications> <application> <name>Discovery Env</name> </application> <application> <name>Discovery Int</name> </application> <application> <name>General</name> </application> </applications> <items> <item> <name>CPU</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>1.3.6.1.4.1.2011.6.1.1.1.2</snmp_oid> <key>hh3cEntityExtCpuUsage</key> <delay>60</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units>%</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/> <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>General</name> </application> </applications> <valuemap/> <logtimefmt/> </item> <item> <name>Memory Use</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>1</multiplier> <snmp_oid>1.3.6.1.4.1.2011.10.2.6.1.1.1.1.8.13</snmp_oid> <key>hh3cEntityExtMemUsage</key> <delay>60</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units>%</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/> <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>General</name> </application> </applications> <valuemap/> <logtimefmt/> </item> <item> <name>ICMP loss</name> <type>3</type> <snmp_community/> <multiplier>0</multiplier> <snmp_oid/> <key>icmppingloss</key> <delay>60</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>0</value_type> <allowed_hosts/> <units>%</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/> <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>General</name> </application> </applications> <valuemap/> <logtimefmt/> </item> <item> <name>ICMP response time</name> <type>3</type> <snmp_community/> <multiplier>1</multiplier> <snmp_oid/> <key>icmppingsec</key> <delay>60</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>0</value_type> <allowed_hosts/> <units>s</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/> <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>General</name> </application> </applications> <valuemap/> <logtimefmt/> </item> <item> <name>Number of network interfaces</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>IF-MIB::ifNumber.0</snmp_oid> <key>ifNumber</key> <delay>3600</delay> <history>7</history> <trends>14</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/> <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>Discovery Int</name> </application> </applications> <valuemap/> <logtimefmt/> </item> <item> <name>sysUpTime</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>DISMAN-EVENT-MIB::sysUpTimeInstance</snmp_oid> <key>sysUpTime</key> <delay>300</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>0</value_type> <allowed_hosts/> <units>uptime</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/> <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>General</name> </application> </applications> <valuemap/> <logtimefmt/> </item> </items> <discovery_rules> <discovery_rule> <name>Number of DevicePower</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <snmp_oid>discovery[{#SNMPVALUE},1.3.6.1.4.1.25506.8.35.9.1.2.1.1]</snmp_oid> <key>hh3cDevMPowerNum</key> <delay>3600</delay> <status>0</status> <allowed_hosts/> <snmpv3_contextname/> <snmpv3_securityname/> <snmpv3_securitylevel>0</snmpv3_securitylevel> <snmpv3_authprotocol>0</snmpv3_authprotocol> <snmpv3_authpassphrase/> <snmpv3_privprotocol>0</snmpv3_privprotocol> <snmpv3_privpassphrase/> <delay_flex/> <params/> <ipmi_sensor/> <authtype>0</authtype> <username/> <password/> <publickey/> <privatekey/> <port/> <filter> <evaltype>0</evaltype> <formula/> <conditions/> </filter> <lifetime>30</lifetime> <description/> <item_prototypes> <item_prototype> <name>Status of Power $1</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>1.3.6.1.4.1.25506.8.35.9.1.2.1.2.{#SNMPINDEX}</snmp_oid> <key>hh3cDevMPowerStatus[{#SNMPVALUE}]</key> <delay>60</delay> <history>7</history> <trends>14</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/> <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>Discovery Env</name> </application> </applications> <valuemap> <name>H3C PowerStatus</name> </valuemap> <logtimefmt/> <application_prototypes/> </item_prototype> </item_prototypes> <trigger_prototypes> <trigger_prototype> <expression>{H3C-2:hh3cDevMPowerStatus[{#SNMPVALUE}].diff(0)}=1</expression> <name>Operational status was changed on {HOST.NAME} Power {#SNMPVALUE}</name> <url/> <status>0</status> <priority>2</priority> <description/> <type>0</type> <dependencies/> </trigger_prototype> </trigger_prototypes> <graph_prototypes/> <host_prototypes/> </discovery_rule> <discovery_rule> <name>Network interfaces</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <snmp_oid>discovery[{#SNMPVALUE},IF-MIB::ifDescr]</snmp_oid> <key>ifDescr</key> <delay>3600</delay> <status>0</status> <allowed_hosts/> <snmpv3_contextname/> <snmpv3_securityname/> <snmpv3_securitylevel>0</snmpv3_securitylevel> <snmpv3_authprotocol>0</snmpv3_authprotocol> <snmpv3_authpassphrase/> <snmpv3_privprotocol>0</snmpv3_privprotocol> <snmpv3_privpassphrase/> <delay_flex/> <params/> <ipmi_sensor/> <authtype>0</authtype> <username/> <password/> <publickey/> <privatekey/> <port/> <filter> <evaltype>0</evaltype> <formula/> <conditions/> </filter> <lifetime>30</lifetime> <description/> <item_prototypes> <item_prototype> <name>Admin status of interface $1</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>IF-MIB::ifAdminStatus.{#SNMPINDEX}</snmp_oid> <key>ifAdminStatus[{#SNMPVALUE}]</key> <delay>60</delay> <history>7</history> <trends>14</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/> <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>Discovery Int</name> </application> </applications> <valuemap> <name>SNMP interface status (ifAdminStatus)</name> </valuemap> <logtimefmt/> <application_prototypes/> </item_prototype> <item_prototype> <name>Alias of interface $1</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>IF-MIB::ifAlias.{#SNMPINDEX}</snmp_oid> <key>ifAlias[{#SNMPVALUE}]</key> <delay>3600</delay> <history>7</history> <trends>0</trends> <status>0</status> <value_type>1</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/> <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>Discovery Int</name> </application> </applications> <valuemap/> <logtimefmt/> <application_prototypes/> </item_prototype> <item_prototype> <name>Description of interface $1</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>IF-MIB::ifDescr.{#SNMPINDEX}</snmp_oid> <key>ifDescr[{#SNMPVALUE}]</key> <delay>3600</delay> <history>7</history> <trends>0</trends> <status>0</status> <value_type>1</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/> <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>Discovery Int</name> </application> </applications> <valuemap/> <logtimefmt/> <application_prototypes/> </item_prototype> <item_prototype> <name>Inbound errors on interface $1</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>IF-MIB::ifInErrors.{#SNMPINDEX}</snmp_oid> <key>ifInErrors[{#SNMPVALUE}]</key> <delay>60</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units/> <delta>1</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/> <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>Discovery Int</name> </application> </applications> <valuemap/> <logtimefmt/> <application_prototypes/> </item_prototype> <item_prototype> <name>Incoming traffic on interface $1</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>1</multiplier> <snmp_oid>IF-MIB::ifInOctets.{#SNMPINDEX}</snmp_oid> <key>ifInOctets[{#SNMPVALUE}]</key> <delay>60</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units>bps</units> <delta>1</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>8</formula> <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>Discovery Int</name> </application> </applications> <valuemap/> <logtimefmt/> <application_prototypes/> </item_prototype> <item_prototype> <name>Operational status of interface $1</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>IF-MIB::ifOperStatus.{#SNMPINDEX}</snmp_oid> <key>ifOperStatus[{#SNMPVALUE}]</key> <delay>60</delay> <history>7</history> <trends>14</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/> <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>Discovery Int</name> </application> </applications> <valuemap> <name>SNMP interface status (ifOperStatus)</name> </valuemap> <logtimefmt/> <application_prototypes/> </item_prototype> <item_prototype> <name>Outbound errors on interface $1</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>IF-MIB::ifOutErrors.{#SNMPINDEX}</snmp_oid> <key>ifOutErrors[{#SNMPVALUE}]</key> <delay>60</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units/> <delta>1</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/> <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>Discovery Int</name> </application> </applications> <valuemap/> <logtimefmt/> <application_prototypes/> </item_prototype> <item_prototype> <name>Outgoing traffic on interface $1</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>1</multiplier> <snmp_oid>IF-MIB::ifOutOctets.{#SNMPINDEX}</snmp_oid> <key>ifOutOctets[{#SNMPVALUE}]</key> <delay>60</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units>bps</units> <delta>1</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>8</formula> <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>Discovery Int</name> </application> </applications> <valuemap/> <logtimefmt/> <application_prototypes/> </item_prototype> </item_prototypes> <trigger_prototypes> <trigger_prototype> <expression>{H3C-2:ifInErrors[{#SNMPVALUE}].last(0)}>100 or {H3C-2:ifOutErrors[{#SNMPVALUE}].last(0)}>100</expression> <name>Errors on {HOST.NAME} interface {#SNMPVALUE}</name> <url/> <status>0</status> <priority>2</priority> <description/> <type>0</type> <dependencies/> </trigger_prototype> <trigger_prototype> <expression>{H3C-2:ifOperStatus[{#SNMPVALUE}].diff(0)}=1</expression> <name>Operational status was changed on {HOST.NAME} interface {#SNMPVALUE}</name> <url/> <status>0</status> <priority>2</priority> <description/> <type>0</type> <dependencies/> </trigger_prototype> </trigger_prototypes> <graph_prototypes> <graph_prototype> <name>Traffic on interface {#SNMPVALUE}</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>006600</color> <yaxisside>0</yaxisside> <calc_fnc>2</calc_fnc> <type>0</type> <item> <host>H3C-2</host> <key>ifInOctets[{#SNMPVALUE}]</key> </item> </graph_item> <graph_item> <sortorder>1</sortorder> <drawtype>0</drawtype> <color>000033</color> <yaxisside>0</yaxisside> <calc_fnc>2</calc_fnc> <type>0</type> <item> <host>H3C-2</host> <key>ifOutOctets[{#SNMPVALUE}]</key> </item> </graph_item> </graph_items> </graph_prototype> </graph_prototypes> <host_prototypes/> </discovery_rule> </discovery_rules> <macros> <macro> <macro>{$SNMP_COMMUNITY}</macro> <value>public</value> </macro> </macros> <templates/> <screens/> </template> </templates> <triggers> <trigger> <expression>{H3C-2:icmppingloss.min(2m)}>20</expression> <name>Ping loss is too high on {HOST.NAME}</name> <url/> <status>0</status> <priority>3</priority> <description>Packet loss more than 20% on {HOST.IP}</description> <type>0</type> <dependencies/> </trigger> <trigger> <expression>{H3C-2:icmppingsec.avg(2m)}>0.20</expression> <name>Response time is too high on {HOST.NAME}</name> <url/> <status>0</status> <priority>2</priority> <description>Response time more than 200ms for 2 minutes.</description> <type>0</type> <dependencies/> </trigger> <trigger> <expression>{H3C-2:hh3cEntityExtCpuUsage.last(0)}>80</expression> <name>{HOST.NAME} CPU>80%</name> <url/> <status>0</status> <priority>3</priority> <description/> <type>0</type> <dependencies/> </trigger> <trigger> <expression>{H3C-2:hh3cEntityExtMemUsage.last(0)}>80</expression> <name>{HOST.NAME} memory>80%</name> <url/> <status>0</status> <priority>3</priority> <description/> <type>0</type> <dependencies/> </trigger> <trigger> <expression>{H3C-2:sysUpTime.last(0)}<600</expression> <name>{HOST.NAME} reloaded</name> <url/> <status>0</status> <priority>1</priority> <description>{HOST.NAME} reloaded</description> <type>1</type> <dependencies/> </trigger> </triggers> <graphs> <graph> <name>CPU</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>H3C-2</host> <key>hh3cEntityExtCpuUsage</key> </item> </graph_item> </graph_items> </graph> <graph> <name>Memory</name> <width>900</width> <height>200</height> <yaxismin>0.0000</yaxismin> <yaxismax>100.0000</yaxismax> <show_work_period>1</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>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>H3C-2</host> <key>hh3cEntityExtMemUsage</key> </item> </graph_item> </graph_items> </graph> </graphs> <value_maps> <value_map> <name>H3C PowerStatus</name> <mappings> <mapping> <value>1</value> <newvalue>Normal</newvalue> </mapping> <mapping> <value>2</value> <newvalue>Power Off</newvalue> </mapping> <mapping> <value>3</value> <newvalue>No insert</newvalue> </mapping> </mappings> </value_map> <value_map> <name>SNMP interface status (ifAdminStatus)</name> <mappings> <mapping> <value>1</value> <newvalue>up</newvalue> </mapping> <mapping> <value>2</value> <newvalue>down</newvalue> </mapping> <mapping> <value>3</value> <newvalue>testing</newvalue> </mapping> </mappings> </value_map> <value_map> <name>SNMP interface status (ifOperStatus)</name> <mappings> <mapping> <value>1</value> <newvalue>up</newvalue> </mapping> <mapping> <value>2</value> <newvalue>down</newvalue> </mapping> <mapping> <value>3</value> <newvalue>testing</newvalue> </mapping> <mapping> <value>4</value> <newvalue>unknown</newvalue> </mapping> <mapping> <value>5</value> <newvalue>dormant</newvalue> </mapping> <mapping> <value>6</value> <newvalue>notPresent</newvalue> </mapping> <mapping> <value>7</value> <newvalue>lowerLayerDown</newvalue> </mapping> </mappings> </value_map> </value_maps> </zabbix_export>
<?xml version="1.0" encoding="UTF-8"?> <zabbix_export> <version>3.0</version> <date>2017-01-18T10:21:19Z</date> <groups> <group> <name>Templates</name> </group> </groups> <templates> <template> <template>H3C-3</template> <name>H3C WX3010SW</name> <description/> <groups> <group> <name>Templates</name> </group> </groups> <applications> <application> <name>Discovery Env</name> </application> <application> <name>Discovery Int</name> </application> <application> <name>General</name> </application> </applications> <items> <item> <name>CPU</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>1.3.6.1.4.1.25506.2.6.1.1.1.1.6.9</snmp_oid> <key>hh3cEntityExtCpuUsage</key> <delay>60</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units>%</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/> <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>General</name> </application> </applications> <valuemap/> <logtimefmt/> </item> <item> <name>Memory Use</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>1</multiplier> <snmp_oid>1.3.6.1.4.1.25506.2.6.1.1.1.1.8.9</snmp_oid> <key>hh3cEntityExtMemUsage</key> <delay>60</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units>%</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/> <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>General</name> </application> </applications> <valuemap/> <logtimefmt/> </item> <item> <name>ICMP loss</name> <type>3</type> <snmp_community/> <multiplier>0</multiplier> <snmp_oid/> <key>icmppingloss</key> <delay>60</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>0</value_type> <allowed_hosts/> <units>%</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/> <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>General</name> </application> </applications> <valuemap/> <logtimefmt/> </item> <item> <name>ICMP response time</name> <type>3</type> <snmp_community/> <multiplier>1</multiplier> <snmp_oid/> <key>icmppingsec</key> <delay>60</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>0</value_type> <allowed_hosts/> <units>s</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/> <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>General</name> </application> </applications> <valuemap/> <logtimefmt/> </item> <item> <name>Number of network interfaces</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>IF-MIB::ifNumber.0</snmp_oid> <key>ifNumber</key> <delay>3600</delay> <history>7</history> <trends>14</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/> <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>Discovery Int</name> </application> </applications> <valuemap/> <logtimefmt/> </item> <item> <name>sysUpTime</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>1.3.6.1.4.1.25506.2.6.1.1.1.1.11.1</snmp_oid> <key>sysUpTime</key> <delay>300</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>0</value_type> <allowed_hosts/> <units>uptime</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/> <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>General</name> </application> </applications> <valuemap/> <logtimefmt/> </item> </items> <discovery_rules> <discovery_rule> <name>Number of DevicePower</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <snmp_oid>discovery[{#SNMPVALUE},1.3.6.1.4.1.25506.8.35.9.1.2.1.1]</snmp_oid> <key>hh3cDevMPowerNum</key> <delay>3600</delay> <status>0</status> <allowed_hosts/> <snmpv3_contextname/> <snmpv3_securityname/> <snmpv3_securitylevel>0</snmpv3_securitylevel> <snmpv3_authprotocol>0</snmpv3_authprotocol> <snmpv3_authpassphrase/> <snmpv3_privprotocol>0</snmpv3_privprotocol> <snmpv3_privpassphrase/> <delay_flex/> <params/> <ipmi_sensor/> <authtype>0</authtype> <username/> <password/> <publickey/> <privatekey/> <port/> <filter> <evaltype>0</evaltype> <formula/> <conditions/> </filter> <lifetime>30</lifetime> <description/> <item_prototypes> <item_prototype> <name>Status of Power $1</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>1.3.6.1.4.1.25506.8.35.9.1.2.1.2.{#SNMPINDEX}</snmp_oid> <key>hh3cDevMPowerStatus[{#SNMPVALUE}]</key> <delay>60</delay> <history>7</history> <trends>14</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/> <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>Discovery Env</name> </application> </applications> <valuemap> <name>H3C PowerStatus</name> </valuemap> <logtimefmt/> <application_prototypes/> </item_prototype> </item_prototypes> <trigger_prototypes> <trigger_prototype> <expression>{H3C-3:hh3cDevMPowerStatus[{#SNMPVALUE}].diff(0)}=1</expression> <name>Operational status was changed on {HOST.NAME} Power {#SNMPVALUE}</name> <url/> <status>0</status> <priority>2</priority> <description/> <type>0</type> <dependencies/> </trigger_prototype> </trigger_prototypes> <graph_prototypes/> <host_prototypes/> </discovery_rule> <discovery_rule> <name>Network interfaces</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <snmp_oid>discovery[{#SNMPVALUE},IF-MIB::ifDescr]</snmp_oid> <key>ifDescr</key> <delay>3600</delay> <status>0</status> <allowed_hosts/> <snmpv3_contextname/> <snmpv3_securityname/> <snmpv3_securitylevel>0</snmpv3_securitylevel> <snmpv3_authprotocol>0</snmpv3_authprotocol> <snmpv3_authpassphrase/> <snmpv3_privprotocol>0</snmpv3_privprotocol> <snmpv3_privpassphrase/> <delay_flex/> <params/> <ipmi_sensor/> <authtype>0</authtype> <username/> <password/> <publickey/> <privatekey/> <port/> <filter> <evaltype>0</evaltype> <formula/> <conditions/> </filter> <lifetime>30</lifetime> <description/> <item_prototypes> <item_prototype> <name>Admin status of interface $1</name> <type>4</type> <snmp_community>{$SNMP_COMMUNITY}</snmp_community> <multiplier>0</multiplier> <snmp_oid>IF-MIB::ifAdminStatus.{#SNMPINDEX}</snmp_oid> <key>ifAdminStatus[{#SNMPVALUE}]</key> <delay>60</delay> <history>7</history> <trends>14</trends> <status>0</status> <value_type>3</value_type> <allowed_hosts/> <units/> <delta