zbx_template_nginx.xml 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <zabbix_export>
  3. <version>3.4</version>
  4. <date>2017-12-20T20:10:24Z</date>
  5. <groups>
  6. <group>
  7. <name>Templates</name>
  8. </group>
  9. </groups>
  10. <templates>
  11. <template>
  12. <template>Template App Nginx</template>
  13. <name>Template App Nginx</name>
  14. <description/>
  15. <groups>
  16. <group>
  17. <name>Templates</name>
  18. </group>
  19. </groups>
  20. <applications>
  21. <application>
  22. <name>Nginx</name>
  23. </application>
  24. </applications>
  25. <items>
  26. <item>
  27. <name>Nginx Accepted Requests</name>
  28. <type>0</type>
  29. <snmp_community/>
  30. <snmp_oid/>
  31. <key>nginx.accepted[{HOST.IP},{$NGINX_PORT}]</key>
  32. <delay>5m</delay>
  33. <history>1w</history>
  34. <trends>365d</trends>
  35. <status>0</status>
  36. <value_type>3</value_type>
  37. <allowed_hosts/>
  38. <units/>
  39. <snmpv3_contextname/>
  40. <snmpv3_securityname/>
  41. <snmpv3_securitylevel>0</snmpv3_securitylevel>
  42. <snmpv3_authprotocol>0</snmpv3_authprotocol>
  43. <snmpv3_authpassphrase/>
  44. <snmpv3_privprotocol>0</snmpv3_privprotocol>
  45. <snmpv3_privpassphrase/>
  46. <params/>
  47. <ipmi_sensor/>
  48. <authtype>0</authtype>
  49. <username/>
  50. <password/>
  51. <publickey/>
  52. <privatekey/>
  53. <port/>
  54. <description/>
  55. <inventory_link>0</inventory_link>
  56. <applications>
  57. <application>
  58. <name>Nginx</name>
  59. </application>
  60. </applications>
  61. <valuemap/>
  62. <logtimefmt/>
  63. <preprocessing>
  64. <step>
  65. <type>9</type>
  66. <params/>
  67. </step>
  68. </preprocessing>
  69. <jmx_endpoint/>
  70. <master_item/>
  71. </item>
  72. <item>
  73. <name>Nginx Active Connections</name>
  74. <type>0</type>
  75. <snmp_community/>
  76. <snmp_oid/>
  77. <key>nginx.active[{HOST.IP},{$NGINX_PORT}]</key>
  78. <delay>5m</delay>
  79. <history>1w</history>
  80. <trends>365d</trends>
  81. <status>0</status>
  82. <value_type>3</value_type>
  83. <allowed_hosts/>
  84. <units/>
  85. <snmpv3_contextname/>
  86. <snmpv3_securityname/>
  87. <snmpv3_securitylevel>0</snmpv3_securitylevel>
  88. <snmpv3_authprotocol>0</snmpv3_authprotocol>
  89. <snmpv3_authpassphrase/>
  90. <snmpv3_privprotocol>0</snmpv3_privprotocol>
  91. <snmpv3_privpassphrase/>
  92. <params/>
  93. <ipmi_sensor/>
  94. <authtype>0</authtype>
  95. <username/>
  96. <password/>
  97. <publickey/>
  98. <privatekey/>
  99. <port/>
  100. <description/>
  101. <inventory_link>0</inventory_link>
  102. <applications>
  103. <application>
  104. <name>Nginx</name>
  105. </application>
  106. </applications>
  107. <valuemap/>
  108. <logtimefmt/>
  109. <preprocessing/>
  110. <jmx_endpoint/>
  111. <master_item/>
  112. </item>
  113. <item>
  114. <name>Nginx Handled Requests</name>
  115. <type>0</type>
  116. <snmp_community/>
  117. <snmp_oid/>
  118. <key>nginx.handled[{HOST.IP},{$NGINX_PORT}]</key>
  119. <delay>5m</delay>
  120. <history>1w</history>
  121. <trends>365d</trends>
  122. <status>0</status>
  123. <value_type>3</value_type>
  124. <allowed_hosts/>
  125. <units/>
  126. <snmpv3_contextname/>
  127. <snmpv3_securityname/>
  128. <snmpv3_securitylevel>0</snmpv3_securitylevel>
  129. <snmpv3_authprotocol>0</snmpv3_authprotocol>
  130. <snmpv3_authpassphrase/>
  131. <snmpv3_privprotocol>0</snmpv3_privprotocol>
  132. <snmpv3_privpassphrase/>
  133. <params/>
  134. <ipmi_sensor/>
  135. <authtype>0</authtype>
  136. <username/>
  137. <password/>
  138. <publickey/>
  139. <privatekey/>
  140. <port/>
  141. <description/>
  142. <inventory_link>0</inventory_link>
  143. <applications>
  144. <application>
  145. <name>Nginx</name>
  146. </application>
  147. </applications>
  148. <valuemap/>
  149. <logtimefmt/>
  150. <preprocessing>
  151. <step>
  152. <type>9</type>
  153. <params/>
  154. </step>
  155. </preprocessing>
  156. <jmx_endpoint/>
  157. <master_item/>
  158. </item>
  159. <item>
  160. <name>Nginx Reading Connections</name>
  161. <type>0</type>
  162. <snmp_community/>
  163. <snmp_oid/>
  164. <key>nginx.reading[{HOST.IP},{$NGINX_PORT}]</key>
  165. <delay>5m</delay>
  166. <history>1w</history>
  167. <trends>365d</trends>
  168. <status>0</status>
  169. <value_type>3</value_type>
  170. <allowed_hosts/>
  171. <units/>
  172. <snmpv3_contextname/>
  173. <snmpv3_securityname/>
  174. <snmpv3_securitylevel>0</snmpv3_securitylevel>
  175. <snmpv3_authprotocol>0</snmpv3_authprotocol>
  176. <snmpv3_authpassphrase/>
  177. <snmpv3_privprotocol>0</snmpv3_privprotocol>
  178. <snmpv3_privpassphrase/>
  179. <params/>
  180. <ipmi_sensor/>
  181. <authtype>0</authtype>
  182. <username/>
  183. <password/>
  184. <publickey/>
  185. <privatekey/>
  186. <port/>
  187. <description/>
  188. <inventory_link>0</inventory_link>
  189. <applications>
  190. <application>
  191. <name>Nginx</name>
  192. </application>
  193. </applications>
  194. <valuemap/>
  195. <logtimefmt/>
  196. <preprocessing/>
  197. <jmx_endpoint/>
  198. <master_item/>
  199. </item>
  200. <item>
  201. <name>Nginx Total Requests</name>
  202. <type>0</type>
  203. <snmp_community/>
  204. <snmp_oid/>
  205. <key>nginx.total[{HOST.IP},{$NGINX_PORT}]</key>
  206. <delay>5m</delay>
  207. <history>1w</history>
  208. <trends>365d</trends>
  209. <status>0</status>
  210. <value_type>3</value_type>
  211. <allowed_hosts/>
  212. <units/>
  213. <snmpv3_contextname/>
  214. <snmpv3_securityname/>
  215. <snmpv3_securitylevel>0</snmpv3_securitylevel>
  216. <snmpv3_authprotocol>0</snmpv3_authprotocol>
  217. <snmpv3_authpassphrase/>
  218. <snmpv3_privprotocol>0</snmpv3_privprotocol>
  219. <snmpv3_privpassphrase/>
  220. <params/>
  221. <ipmi_sensor/>
  222. <authtype>0</authtype>
  223. <username/>
  224. <password/>
  225. <publickey/>
  226. <privatekey/>
  227. <port/>
  228. <description/>
  229. <inventory_link>0</inventory_link>
  230. <applications>
  231. <application>
  232. <name>Nginx</name>
  233. </application>
  234. </applications>
  235. <valuemap/>
  236. <logtimefmt/>
  237. <preprocessing>
  238. <step>
  239. <type>9</type>
  240. <params/>
  241. </step>
  242. </preprocessing>
  243. <jmx_endpoint/>
  244. <master_item/>
  245. </item>
  246. <item>
  247. <name>Nginx Version</name>
  248. <type>0</type>
  249. <snmp_community/>
  250. <snmp_oid/>
  251. <key>nginx.version</key>
  252. <delay>12h</delay>
  253. <history>1w</history>
  254. <trends>0</trends>
  255. <status>0</status>
  256. <value_type>1</value_type>
  257. <allowed_hosts/>
  258. <units/>
  259. <snmpv3_contextname/>
  260. <snmpv3_securityname/>
  261. <snmpv3_securitylevel>0</snmpv3_securitylevel>
  262. <snmpv3_authprotocol>0</snmpv3_authprotocol>
  263. <snmpv3_authpassphrase/>
  264. <snmpv3_privprotocol>0</snmpv3_privprotocol>
  265. <snmpv3_privpassphrase/>
  266. <params/>
  267. <ipmi_sensor/>
  268. <authtype>0</authtype>
  269. <username/>
  270. <password/>
  271. <publickey/>
  272. <privatekey/>
  273. <port/>
  274. <description/>
  275. <inventory_link>0</inventory_link>
  276. <applications>
  277. <application>
  278. <name>Nginx</name>
  279. </application>
  280. </applications>
  281. <valuemap/>
  282. <logtimefmt/>
  283. <preprocessing/>
  284. <jmx_endpoint/>
  285. <master_item/>
  286. </item>
  287. <item>
  288. <name>Nginx Waiting Connections</name>
  289. <type>0</type>
  290. <snmp_community/>
  291. <snmp_oid/>
  292. <key>nginx.waiting[{HOST.IP},{$NGINX_PORT}]</key>
  293. <delay>5m</delay>
  294. <history>1w</history>
  295. <trends>365d</trends>
  296. <status>0</status>
  297. <value_type>3</value_type>
  298. <allowed_hosts/>
  299. <units/>
  300. <snmpv3_contextname/>
  301. <snmpv3_securityname/>
  302. <snmpv3_securitylevel>0</snmpv3_securitylevel>
  303. <snmpv3_authprotocol>0</snmpv3_authprotocol>
  304. <snmpv3_authpassphrase/>
  305. <snmpv3_privprotocol>0</snmpv3_privprotocol>
  306. <snmpv3_privpassphrase/>
  307. <params/>
  308. <ipmi_sensor/>
  309. <authtype>0</authtype>
  310. <username/>
  311. <password/>
  312. <publickey/>
  313. <privatekey/>
  314. <port/>
  315. <description/>
  316. <inventory_link>0</inventory_link>
  317. <applications>
  318. <application>
  319. <name>Nginx</name>
  320. </application>
  321. </applications>
  322. <valuemap/>
  323. <logtimefmt/>
  324. <preprocessing/>
  325. <jmx_endpoint/>
  326. <master_item/>
  327. </item>
  328. <item>
  329. <name>Nginx Writing Connections</name>
  330. <type>0</type>
  331. <snmp_community/>
  332. <snmp_oid/>
  333. <key>nginx.writing[{HOST.IP},{$NGINX_PORT}]</key>
  334. <delay>5m</delay>
  335. <history>1w</history>
  336. <trends>365d</trends>
  337. <status>0</status>
  338. <value_type>3</value_type>
  339. <allowed_hosts/>
  340. <units/>
  341. <snmpv3_contextname/>
  342. <snmpv3_securityname/>
  343. <snmpv3_securitylevel>0</snmpv3_securitylevel>
  344. <snmpv3_authprotocol>0</snmpv3_authprotocol>
  345. <snmpv3_authpassphrase/>
  346. <snmpv3_privprotocol>0</snmpv3_privprotocol>
  347. <snmpv3_privpassphrase/>
  348. <params/>
  349. <ipmi_sensor/>
  350. <authtype>0</authtype>
  351. <username/>
  352. <password/>
  353. <publickey/>
  354. <privatekey/>
  355. <port/>
  356. <description/>
  357. <inventory_link>0</inventory_link>
  358. <applications>
  359. <application>
  360. <name>Nginx</name>
  361. </application>
  362. </applications>
  363. <valuemap/>
  364. <logtimefmt/>
  365. <preprocessing/>
  366. <jmx_endpoint/>
  367. <master_item/>
  368. </item>
  369. </items>
  370. <discovery_rules/>
  371. <httptests/>
  372. <macros>
  373. <macro>
  374. <macro>{$NGINX_PORT}</macro>
  375. <value>80</value>
  376. </macro>
  377. </macros>
  378. <templates/>
  379. <screens>
  380. <screen>
  381. <name>Nginx Performance</name>
  382. <hsize>2</hsize>
  383. <vsize>1</vsize>
  384. <screen_items>
  385. <screen_item>
  386. <resourcetype>0</resourcetype>
  387. <width>500</width>
  388. <height>100</height>
  389. <x>0</x>
  390. <y>0</y>
  391. <colspan>1</colspan>
  392. <rowspan>1</rowspan>
  393. <elements>0</elements>
  394. <valign>0</valign>
  395. <halign>0</halign>
  396. <style>0</style>
  397. <url/>
  398. <dynamic>0</dynamic>
  399. <sort_triggers>0</sort_triggers>
  400. <resource>
  401. <name>Nginx Requests Statistics</name>
  402. <host>Template App Nginx</host>
  403. </resource>
  404. <max_columns>3</max_columns>
  405. <application/>
  406. </screen_item>
  407. <screen_item>
  408. <resourcetype>0</resourcetype>
  409. <width>500</width>
  410. <height>100</height>
  411. <x>1</x>
  412. <y>0</y>
  413. <colspan>1</colspan>
  414. <rowspan>1</rowspan>
  415. <elements>0</elements>
  416. <valign>0</valign>
  417. <halign>0</halign>
  418. <style>0</style>
  419. <url/>
  420. <dynamic>0</dynamic>
  421. <sort_triggers>0</sort_triggers>
  422. <resource>
  423. <name>Nginx Connection Status</name>
  424. <host>Template App Nginx</host>
  425. </resource>
  426. <max_columns>3</max_columns>
  427. <application/>
  428. </screen_item>
  429. </screen_items>
  430. </screen>
  431. </screens>
  432. </template>
  433. </templates>
  434. <graphs>
  435. <graph>
  436. <name>Nginx Connection Status</name>
  437. <width>900</width>
  438. <height>200</height>
  439. <yaxismin>0.0000</yaxismin>
  440. <yaxismax>100.0000</yaxismax>
  441. <show_work_period>1</show_work_period>
  442. <show_triggers>1</show_triggers>
  443. <type>0</type>
  444. <show_legend>1</show_legend>
  445. <show_3d>0</show_3d>
  446. <percent_left>0.0000</percent_left>
  447. <percent_right>0.0000</percent_right>
  448. <ymin_type_1>0</ymin_type_1>
  449. <ymax_type_1>0</ymax_type_1>
  450. <ymin_item_1>0</ymin_item_1>
  451. <ymax_item_1>0</ymax_item_1>
  452. <graph_items>
  453. <graph_item>
  454. <sortorder>0</sortorder>
  455. <drawtype>5</drawtype>
  456. <color>00C800</color>
  457. <yaxisside>0</yaxisside>
  458. <calc_fnc>2</calc_fnc>
  459. <type>0</type>
  460. <item>
  461. <host>Template App Nginx</host>
  462. <key>nginx.active[{HOST.IP},{$NGINX_PORT}]</key>
  463. </item>
  464. </graph_item>
  465. <graph_item>
  466. <sortorder>1</sortorder>
  467. <drawtype>0</drawtype>
  468. <color>0000C8</color>
  469. <yaxisside>0</yaxisside>
  470. <calc_fnc>2</calc_fnc>
  471. <type>0</type>
  472. <item>
  473. <host>Template App Nginx</host>
  474. <key>nginx.reading[{HOST.IP},{$NGINX_PORT}]</key>
  475. </item>
  476. </graph_item>
  477. <graph_item>
  478. <sortorder>2</sortorder>
  479. <drawtype>0</drawtype>
  480. <color>C80000</color>
  481. <yaxisside>0</yaxisside>
  482. <calc_fnc>2</calc_fnc>
  483. <type>0</type>
  484. <item>
  485. <host>Template App Nginx</host>
  486. <key>nginx.waiting[{HOST.IP},{$NGINX_PORT}]</key>
  487. </item>
  488. </graph_item>
  489. <graph_item>
  490. <sortorder>3</sortorder>
  491. <drawtype>0</drawtype>
  492. <color>C800C8</color>
  493. <yaxisside>0</yaxisside>
  494. <calc_fnc>2</calc_fnc>
  495. <type>0</type>
  496. <item>
  497. <host>Template App Nginx</host>
  498. <key>nginx.writing[{HOST.IP},{$NGINX_PORT}]</key>
  499. </item>
  500. </graph_item>
  501. </graph_items>
  502. </graph>
  503. <graph>
  504. <name>Nginx Requests Statistics</name>
  505. <width>900</width>
  506. <height>200</height>
  507. <yaxismin>0.0000</yaxismin>
  508. <yaxismax>100.0000</yaxismax>
  509. <show_work_period>1</show_work_period>
  510. <show_triggers>1</show_triggers>
  511. <type>0</type>
  512. <show_legend>1</show_legend>
  513. <show_3d>0</show_3d>
  514. <percent_left>0.0000</percent_left>
  515. <percent_right>0.0000</percent_right>
  516. <ymin_type_1>0</ymin_type_1>
  517. <ymax_type_1>0</ymax_type_1>
  518. <ymin_item_1>0</ymin_item_1>
  519. <ymax_item_1>0</ymax_item_1>
  520. <graph_items>
  521. <graph_item>
  522. <sortorder>0</sortorder>
  523. <drawtype>5</drawtype>
  524. <color>00C800</color>
  525. <yaxisside>0</yaxisside>
  526. <calc_fnc>2</calc_fnc>
  527. <type>0</type>
  528. <item>
  529. <host>Template App Nginx</host>
  530. <key>nginx.handled[{HOST.IP},{$NGINX_PORT}]</key>
  531. </item>
  532. </graph_item>
  533. <graph_item>
  534. <sortorder>1</sortorder>
  535. <drawtype>0</drawtype>
  536. <color>0000C8</color>
  537. <yaxisside>0</yaxisside>
  538. <calc_fnc>2</calc_fnc>
  539. <type>0</type>
  540. <item>
  541. <host>Template App Nginx</host>
  542. <key>nginx.accepted[{HOST.IP},{$NGINX_PORT}]</key>
  543. </item>
  544. </graph_item>
  545. <graph_item>
  546. <sortorder>2</sortorder>
  547. <drawtype>0</drawtype>
  548. <color>C80000</color>
  549. <yaxisside>0</yaxisside>
  550. <calc_fnc>2</calc_fnc>
  551. <type>0</type>
  552. <item>
  553. <host>Template App Nginx</host>
  554. <key>nginx.total[{HOST.IP},{$NGINX_PORT}]</key>
  555. </item>
  556. </graph_item>
  557. </graph_items>
  558. </graph>
  559. </graphs>
  560. </zabbix_export>