File: CHelpItems.php

package info (click to toggle)
zabbix 1%3A2.2.5%2Bdfsg-1~bpo70%2B1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 54,724 kB
  • sloc: php: 109,189; ansic: 102,860; sql: 39,203; sh: 5,836; makefile: 1,055; java: 855; cpp: 160; perl: 35; xml: 29
file content (896 lines) | stat: -rw-r--r-- 40,222 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
<?php
/*
** Zabbix
** Copyright (C) 2001-2014 Zabbix SIA
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation; either version 2 of the License, or
** (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program; if not, write to the Free Software
** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
**/


/**
 * Class containing information about help items.
 */
class CHelpItems {

	/**
	 * A list of all available help items grouped by item type.
	 *
	 * @see CHelpItems::getItems()	for a description of the structure
	 *
	 * @var array
	 */
	protected $items = array();

	public function __construct() {
		$this->items = $this->getItems();
	}

	/**
	 * Returns the help items available for the given item type.
	 *
	 * @param int $type
	 *
	 * @return array
	 */
	public function getByType($type) {
		return $this->items[$type];
	}

	/**
	 * Get list of all available help items grouped by item type.
	 *
	 * Each help item has the following properties:
	 * - key			- default key
	 * - description	- description of the item
	 *
	 * @return array
	 */
	protected function getItems() {
		return array(
			ITEM_TYPE_ZABBIX => array(
				array(
					'key' => 'agent.hostname',
					'description' => _('Agent host name defined in the configuration file. String value.')
				),
				array(
					'key' => 'agent.ping',
					'description' => _('Check the agent usability. Always return 1. Can be used as a TCP ping.')
				),
				array(
					'key' => 'agent.version',
					'description' => _('Version of zabbix_agent(d) running on monitored host. String value. Example of returned value: 1.1')
				),
				array(
					'key' => 'kernel.maxfiles',
					'description' => _('Maximum number of opened files supported by OS.')
				),
				array(
					'key' => 'kernel.maxproc',
					'description' => _('Maximum number of processes supported by OS.')
				),
				array(
					'key' => 'net.dns.record[<ip>,zone,<type>,<timeout>,<count>]',
					'description' => _('Performs a DNS query. On success returns a character string with the required type of information.')
				),
				array(
					'key' => 'net.dns[<ip>,zone,<type>,<timeout>,<count>]',
					'description' => _('Checks if DNS service is up. 0 - DNS is down (server did not respond or DNS resolution failed), 1 - DNS is up.')
				),
				array(
					'key' => 'net.if.collisions[if]',
					'description' => _('Out-of-window collision. Collisions count.')
				),
				array(
					'key' => 'net.if.in[if,<mode>]',
					'description' => _('Network interface input statistic. Integer value. If mode is missing bytes is used.')
				),
				array(
					'key' => 'net.if.list',
					'description' => _('List of network interfaces. Text value.')
				),
				array(
					'key' => 'net.if.out[if,<mode>]',
					'description' => _('Network interface output statistic. Integer value. If mode is missing bytes is used.')
				),
				array(
					'key' => 'net.if.total[if,<mode>]',
					'description' => _('Sum of network interface incoming and outgoing statistics. Integer value. Mode - one of bytes (default), packets, errors or dropped')
				),
				array(
					'key' => 'net.tcp.listen[port]',
					'description' => _('Checks if this port is in LISTEN state. 0 - it is not, 1 - it is in LISTEN state.')
				),
				array(
					'key' => 'net.tcp.port[<ip>,port]',
					'description' => _('Check, if it is possible to make TCP connection to the port number. 0 - cannot connect, 1 - can connect. IP address is optional. If ip is missing, 127.0.0.1 is used. Example: net.tcp.port[,80]')
				),
				array(
					'key' => 'net.tcp.service[service,<ip>,<port>]',
					'description' => _('Check if service is available. 0 - service is down, 1 - service is running. If ip is missing 127.0.0.1 is used. If port number is missing, default service port is used. Example: net.tcp.service[ftp,,45].')
				),
				array(
					'key' => 'net.tcp.service.perf[service,<ip>,<port>]',
					'description' => _('Check performance of service "service". 0 - service is down, sec - number of seconds spent on connection to the service. If ip is missing 127.0.0.1 is used.  If port number is missing, default service port is used.')
				),
				array(
					'key' => 'net.udp.listen[port]',
					'description' => _('Checks if this port is in LISTEN state. 0 - it is not, 1 - it is in LISTEN state.')
				),
				array(
					'key' => 'perf_counter[counter,<interval>]',
					'description' => _('Value of any performance counter, where "counter" parameter is the counter path and "interval" parameter is a number of last seconds, for which the agent returns an average value.')
				),
				array(
					'key' => 'proc.mem[<name>,<user>,<mode>,<cmdline>]',
					'description' => _('Memory used by a process. <name> process name (default: "all processes"). <user> user name (default: "all users"). <mode> possible values: avg, max, min, sum (default). <cmdline> filter by command line (supports regex). Example: proc.mem[,root].')
				),
				array(
					'key' => 'proc.num[<name>,<user>,<state>,<cmdline>]',
					'description' => _('Number of processes. <name> and <user> same as in proc.mem item. <state> all (default), run, sleep, zomb. <cmdline> filter by command line (supports regex). Example: proc.num[apache2,www-data]. On Windows, only <name> and <user> are supported.')
				),
				array(
					'key' => 'proc_info[<process>,<attribute>,<type>]',
					'description' => _('Different information about specific process(es)')
				),
				array(
					'key' => 'service_state[service]',
					'description' => _('State of service. 0 - running, 1 - paused, 2 - start pending, 3 - pause pending, 4 - continue pending, 5 - stop pending, 6 - stopped, 7 - unknown, 255 - no such service')
				),
				array(
					'key' => 'system.boottime',
					'description' => _('Timestamp of system boot.')
				),
				array(
					'key' => 'system.cpu.intr',
					'description' => _('Device interrupts.')
				),
				array(
					'key' => 'system.cpu.load[<cpu>,<mode>]',
					'description' => _('CPU(s) load. Processor load. The cpu and mode are optional. If cpu is missing all is used. If mode is missing avg1 is used. Note that this is not percentage.')
				),
				array(
					'key' => 'system.cpu.num',
					'description' => _('Number of available proccessors.')
				),
				array(
					'key' => 'system.cpu.switches',
					'description' => _('Context switches.')
				),
				array(
					'key' => 'system.cpu.util[<cpu>,<type>,<mode>]',
					'description' => _('CPU(s) utilisation. Processor load in percents. The cpu, type and mode are optional. If cpu is missing all is used.  If type is missing user is used. If mode is missing avg1 is used.')
				),
				array(
					'key' => 'system.hostname[<type>]',
					'description' => _('Returns hostname (or NetBIOS name (by default) on Windows). String value. Example of returned value: www.zabbix.com')
				),
				array(
					'key' => 'system.hw.chassis[<info>]',
					'description' => _('Chassis info - returns full info by default')
				),
				array(
					'key' => 'system.hw.cpu[<cpu>,<info>]',
					'description' => _('CPU info - lists full info for all CPUs by default')
				),
				array(
					'key' => 'system.hw.devices[<type>]',
					'description' => _('Device list - lists PCI devices by default')
				),
				array(
					'key' => 'system.hw.macaddr[<interface>,<format>]',
					'description' => _('MAC address - lists all MAC addresses with interface names by default')
				),
				array(
					'key' => 'system.localtime',
					'description' => _('System local time. Time in seconds.')
				),
				array(
					'key' => 'system.run[command,<mode>]',
					'description' => _('Run specified command on the host.')
				),
				array(
					'key' => 'system.stat[resource,<type>]',
					'description' => _('Virtual memory statistics.')
				),
				array(
					'key' => 'system.sw.arch',
					'description' => _('Software architecture')
				),
				array(
					'key' => 'system.sw.os[<info>]',
					'description' => _('Current OS - returns full info by default')
				),
				array(
					'key' => 'system.sw.packages[<package>,<manager>,<format>]',
					'description' => _('Software package list - lists all packages for all supported package managers by default')
				),
				array(
					'key' => 'system.swap.in[<swap>,<type>]',
					'description' => _('Swap in. If type is count - swapins is returned. If type is pages - pages swapped in is returned. If swap is missing all is used.')
				),
				array(
					'key' => 'system.swap.out[<swap>,<type>]',
					'description' => _('Swap out. If type is count - swapouts is returned. If type is pages - pages swapped in is returned. If swap is missing all is used.')
				),
				array(
					'key' => 'system.swap.size[<swap>,<mode>]',
					'description' => _('Swap space. Number of bytes. If swap is missing all is used. If mode is missing free is used.')
				),
				array(
					'key' => 'system.uname',
					'description' => _('Returns detailed host information. String value')
				),
				array(
					'key' => 'system.uptime',
					'description' => _('System uptime in seconds.')
				),
				array(
					'key' => 'system.users.num',
					'description' => _('Number of users connected. Command who is used on agent side.')
				),
				array(
					'key' => 'vfs.dev.read[device,<type>,<mode>]',
					'description' => _('Device read statistics.')
				),
				array(
					'key' => 'vfs.dev.write[device,<type>,<mode>]',
					'description' => _('Device write statistics.')
				),
				array(
					'key' => 'vfs.file.cksum[file]',
					'description' => _('Calculate check sum of a given file. Check sum of the file calculate by standard algorithm used by UNIX utility cksum. Example: vfs.file.cksum[/etc/passwd]')
				),
				array(
					'key' => 'vfs.file.contents[file,<encoding>]',
					'description' => _('Get contents of a given file.')
				),
				array(
					'key' => 'vfs.file.exists[file]',
					'description' => _('Check if file exists. 0 - file does not exist, 1 - file exists')
				),
				array(
					'key' => 'vfs.file.md5sum[file]',
					'description' => _('Calculate MD5 check sum of a given file. String MD5 hash of the file. Can be used for files less than 64MB, unsupported otherwise. Example: vfs.file.md5sum[/etc/zabbix/zabbix_agentd.conf]')
				),
				array(
					'key' => 'vfs.file.regexp[file,regexp,<encoding>]',
					'description' => _('Find string in a file. Matched string')
				),
				array(
					'key' => 'vfs.file.regmatch[file,regexp,<encoding>]',
					'description' => _('Find string in a file. 0 - expression not found, 1 - found')
				),
				array(
					'key' => 'vfs.file.size[file]',
					'description' => _('Size of a given file. Size in bytes. File must have read permissions for user zabbix. Example: vfs.file.size[/var/log/syslog]')
				),
				array(
					'key' => 'vfs.file.time[file,<mode>]',
					'description' => _('File time information. Number of seconds.The mode is optional. If mode is missing modify is used.')
				),
				array(
					'key' => 'vfs.fs.inode[fs,<mode>]',
					'description' => _('Number of inodes for a given volume. If mode is missing total is used.')
				),
				array(
					'key' => 'vfs.fs.size[fs,<mode>]',
					'description' => _('Calculate disk space for a given volume. Disk space in KB. If mode is missing total is used.  In case of mounted volume, unused disk space for local file system is returned. Example: vfs.fs.size[/tmp,free].')
				),
				array(
					'key' => 'vm.memory.size[<mode>]',
					'description' => _('Amount of memory size in bytes. If mode is missing total is used.')
				),
				array(
					'key' => 'web.page.get[host,<path>,<port>]',
					'description' => _('Get content of WEB page. Default path is /')
				),
				array(
					'key' => 'web.page.perf[host,<path>,<port>]',
					'description' => _('Get timing of loading full WEB page. Default path is /')
				),
				array(
					'key' => 'web.page.regexp[host,<path>,<port>,<regexp>,<length>]',
					'description' => _('Get first occurence of regexp in WEB page. Default path is /')
				)
			),
			ITEM_TYPE_ZABBIX_ACTIVE => array(
				array(
					'key' => 'agent.hostname',
					'description' => _('Agent host name defined in the configuration file. String value.')
				),
				array(
					'key' => 'agent.ping',
					'description' => _('Check the agent usability. Always return 1. Can be used as a TCP ping.')
				),
				array(
					'key' => 'agent.version',
					'description' => _('Version of zabbix_agent(d) running on monitored host. String value. Example of returned value: 1.1')
				),
				array(
					'key' => 'eventlog[logtype,<pattern>,<severity>,<source>,<eventid>,<maxlines>,<mode>]',
					'description' => _('Monitoring of Windows event logs. pattern, severity, eventid - regular expressions')
				),
				array(
					'key' => 'kernel.maxfiles',
					'description' => _('Maximum number of opened files supported by OS.')
				),
				array(
					'key' => 'kernel.maxproc',
					'description' => _('Maximum number of processes supported by OS.')
				),
				array(
					'key' => 'log[file,<pattern>,<encoding>,<maxlines>,<mode>,<output>]',
					'description' => _('Monitoring of log file. pattern - regular expression')
				),
				array(
					'key' => 'logrt[file_format,<pattern>,<encoding>,<maxlines>,<mode>,<output>]',
					'description' => _('Monitoring of log file with rotation. fileformat - [path][regexp], pattern - regular expression')
				),
				array(
					'key' => 'net.dns.record[<ip>,zone,<type>,<timeout>,<count>]',
					'description' => _('Performs a DNS query. On success returns a character string with the required type of information.')
				),
				array(
					'key' => 'net.dns[<ip>,zone,<type>,<timeout>,<count>]',
					'description' => _('Checks if DNS service is up. 0 - DNS is down (server did not respond or DNS resolution failed), 1 - DNS is up.')
				),
				array(
					'key' => 'net.if.collisions[if]',
					'description' => _('Out-of-window collision. Collisions count.')
				),
				array(
					'key' => 'net.if.in[if,<mode>]',
					'description' => _('Network interface input statistic. Integer value. If mode is missing bytes is used.')
				),
				array(
					'key' => 'net.if.list',
					'description' => _('List of network interfaces. Text value.')
				),
				array(
					'key' => 'net.if.out[if,<mode>]',
					'description' => _('Network interface output statistic. Integer value. If mode is missing bytes is used.')
				),
				array(
					'key' => 'net.if.total[if,<mode>]',
					'description' => _('Sum of network interface incoming and outgoing statistics. Integer value. Mode - one of bytes (default), packets, errors or dropped')
				),
				array(
					'key' => 'net.tcp.listen[port]',
					'description' => _('Checks if this port is in LISTEN state. 0 - it is not, 1 - it is in LISTEN state.')
				),
				array(
					'key' => 'net.tcp.port[<ip>,port]',
					'description' => _('Check, if it is possible to make TCP connection to the port number. 0 - cannot connect, 1 - can connect. IP address is optional. If ip is missing, 127.0.0.1 is used. Example: net.tcp.port[,80]')
				),
				array(
					'key' => 'net.tcp.service.perf[service,<ip>,<port>]',
					'description' => _('Check performance of service "service". 0 - service is down, sec - number of seconds spent on connection to the service. If ip is missing 127.0.0.1 is used.  If port number is missing, default service port is used.')
				),
				array(
					'key' => 'net.tcp.service[service,<ip>,<port>]',
					'description' => _('Check if service is available. 0 - service is down, 1 - service is running. If ip is missing 127.0.0.1 is used. If port number is missing, default service port is used. Example: net.tcp.service[ftp,,45].')
				),
				array(
					'key' => 'net.udp.listen[port]',
					'description' => _('Checks if this port is in LISTEN state. 0 - it is not, 1 - it is in LISTEN state.')
				),
				array(
					'key' => 'perf_counter[counter,<interval>]',
					'description' => _('Value of any performance counter, where "counter" parameter is the counter path and "interval" parameter is a number of last seconds, for which the agent returns an average value.')
				),
				array(
					'key' => 'proc.mem[<name>,<user>,<mode>,<cmdline>]',
					'description' => _('Memory used by a process. <name> process name (default: "all processes"). <user> user name (default: "all users"). <mode> possible values: avg, max, min, sum (default). <cmdline> filter by command line (supports regex). Example: proc.mem[,root].')
				),
				array(
					'key' => 'proc.num[<name>,<user>,<state>,<cmdline>]',
					'description' => _('Number of processes. <name> and <user> same as in proc.mem item. <state> all (default), run, sleep, zomb. <cmdline> filter by command line (supports regex). Example: proc.num[apache2,www-data]. On Windows, only <name> and <user> are supported.')
				),
				array(
					'key' => 'proc_info[<process>,<attribute>,<type>]',
					'description' => _('Different information about specific process(es)')
				),
				array(
					'key' => 'service_state[service]',
					'description' => _('State of service. 0 - running, 1 - paused, 2 - start pending, 3 - pause pending, 4 - continue pending, 5 - stop pending, 6 - stopped, 7 - unknown, 255 - no such service')
				),
				array(
					'key' => 'system.boottime',
					'description' => _('Timestamp of system boot.')
				),
				array(
					'key' => 'system.cpu.intr',
					'description' => _('Device interrupts.')
				),
				array(
					'key' => 'system.cpu.load[<cpu>,<mode>]',
					'description' => _('CPU(s) load. Processor load. The cpu and mode are optional. If cpu is missing all is used. If mode is missing avg1 is used. Note that this is not percentage.')
				),
				array(
					'key' => 'system.cpu.num',
					'description' => _('Number of available proccessors.')
				),
				array(
					'key' => 'system.cpu.switches',
					'description' => _('Context switches.')
				),
				array(
					'key' => 'system.cpu.util[<cpu>,<type>,<mode>]',
					'description' => _('CPU(s) utilisation. Processor load in percents. The cpu, type and mode are optional. If cpu is missing all is used.  If type is missing user is used. If mode is missing avg1 is used.')
				),
				array(
					'key' => 'system.hostname[<type>]',
					'description' => _('Returns hostname (or NetBIOS name (by default) on Windows). String value. Example of returned value: www.zabbix.com')
				),
				array(
					'key' => 'system.hw.chassis[<info>]',
					'description' => _('Chassis info - returns full info by default')
				),
				array(
					'key' => 'system.hw.cpu[<cpu>,<info>]',
					'description' => _('CPU info - lists full info for all CPUs by default')
				),
				array(
					'key' => 'system.hw.devices[<type>]',
					'description' => _('Device list - lists PCI devices by default')
				),
				array(
					'key' => 'system.hw.macaddr[<interface>,<format>]',
					'description' => _('MAC address - lists all MAC addresses with interface names by default')
				),
				array(
					'key' => 'system.localtime',
					'description' => _('System local time. Time in seconds.')
				),
				array(
					'key' => 'system.run[command,<mode>]',
					'description' => _('Run specified command on the host.')
				),
				array(
					'key' => 'system.stat[resource,<type>]',
					'description' => _('Virtual memory statistics.')
				),
				array(
					'key' => 'system.sw.arch',
					'description' => _('Software architecture')
				),
				array(
					'key' => 'system.sw.os[<info>]',
					'description' => _('Current OS - returns full info by default')
				),
				array(
					'key' => 'system.sw.packages[<package>,<manager>,<format>]',
					'description' => _('Software package list - lists all packages for all supported package managers by default')
				),
				array(
					'key' => 'system.swap.in[<swap>,<type>]',
					'description' => _('Swap in. If type is count - swapins is returned. If type is pages - pages swapped in is returned. If swap is missing all is used.')
				),
				array(
					'key' => 'system.swap.out[<swap>,<type>]',
					'description' => _('Swap out. If type is count - swapouts is returned. If type is pages - pages swapped in is returned. If swap is missing all is used.')
				),
				array(
					'key' => 'system.swap.size[<swap>,<mode>]',
					'description' => _('Swap space. Number of bytes. If swap is missing all is used. If mode is missing free is used.')
				),
				array(
					'key' => 'system.uname',
					'description' => _('Returns detailed host information. String value')
				),
				array(
					'key' => 'system.uptime',
					'description' => _('System uptime in seconds.')
				),
				array(
					'key' => 'system.users.num',
					'description' => _('Number of users connected. Command who is used on agent side.')
				),
				array(
					'key' => 'vfs.dev.read[device,<type>,<mode>]',
					'description' => _('Device read statistics.')
				),
				array(
					'key' => 'vfs.dev.write[device,<type>,<mode>]',
					'description' => _('Device write statistics.')
				),
				array(
					'key' => 'vfs.file.cksum[file]',
					'description' => _('Calculate check sum of a given file. Check sum of the file calculate by standard algorithm used by UNIX utility cksum. Example: vfs.file.cksum[/etc/passwd]')
				),
				array(
					'key' => 'vfs.file.contents[file,<encoding>]',
					'description' => _('Get contents of a given file.')
				),
				array(
					'key' => 'vfs.file.exists[file]',
					'description' => _('Check if file exists. 0 - file does not exist, 1 - file exists')
				),
				array(
					'key' => 'vfs.file.md5sum[file]',
					'description' => _('Calculate MD5 check sum of a given file. String MD5 hash of the file. Can be used for files less than 64MB, unsupported otherwise. Example: vfs.file.md5sum[/etc/zabbix/zabbix_agentd.conf]')
				),
				array(
					'key' => 'vfs.file.regexp[file,regexp,<encoding>,<start line>,<end line>,<output>]',
					'description' => _('Find string in a file. Matched string')
				),
				array(
					'key' => 'vfs.file.regmatch[file,regexp,<encoding>,<start line>,<end line>]',
					'description' => _('Find string in a file. 0 - expression not found, 1 - found')
				),
				array(
					'key' => 'vfs.file.size[file]',
					'description' => _('Size of a given file. Size in bytes. File must have read permissions for user zabbix. Example: vfs.file.size[/var/log/syslog]')
				),
				array(
					'key' => 'vfs.file.time[file,<mode>]',
					'description' => _('File time information. Number of seconds.The mode is optional. If mode is missing modify is used.')
				),
				array(
					'key' => 'vfs.fs.inode[fs,<mode>]',
					'description' => _('Number of inodes for a given volume. If mode is missing total is used.')
				),
				array(
					'key' => 'vfs.fs.size[fs,<mode>]',
					'description' => _('Calculate disk space for a given volume. Disk space in KB. If mode is missing total is used.  In case of mounted volume, unused disk space for local file system is returned. Example: vfs.fs.size[/tmp,free].')
				),
				array(
					'key' => 'vm.memory.size[<mode>]',
					'description' => _('Amount of memory size in bytes. If mode is missing total is used.')
				),
				array(
					'key' => 'web.page.get[host,<path>,<port>]',
					'description' => _('Get content of WEB page. Default path is /')
				),
				array(
					'key' => 'web.page.perf[host,<path>,<port>]',
					'description' => _('Get timing of loading full WEB page. Default path is /')
				),
				array(
					'key' => 'web.page.regexp[host,<path>,<port>,<regexp>,<length>,<output>]',
					'description' => _('Get first occurence of regexp in WEB page. Default path is /')
				)
			),
			ITEM_TYPE_AGGREGATE => array(
				array(
					'key' => 'grpfunc[<group>,<key>,<func>,<param>]',
					'description' => _('Aggregate checks do not require any agent running on a host being monitored. Zabbix server collects aggregate information by doing direct database queries. See Zabbix Manual.')
				)
			),
			ITEM_TYPE_SIMPLE => array(
				array(
					'key' => 'icmpping[<target>,<packets>,<interval>,<size>,<timeout>]',
					'description' => _('Checks if server is accessible by ICMP ping. 0 - ICMP ping fails. 1 - ICMP ping successful. One of zabbix_server processes performs ICMP pings once per PingerFrequency seconds.')
				),
				array(
					'key' => 'icmppingloss[<target>,<packets>,<interval>,<size>,<timeout>]',
					'description' => _('Returns percentage of lost ICMP ping packets.')
				),
				array(
					'key' => 'icmppingsec[<target>,<packets>,<interval>,<size>,<timeout>,<mode>]',
					'description' => _('Returns ICMP ping response time in seconds. Example: 0.02')
				),
				array(
					'key' => 'net.tcp.service.perf[service,<ip>,<port>]',
					'description' => _('Check performance of service. 0 - service is down, sec - number of seconds spent on connection to the service. If <ip> is missing, IP or DNS name is taken from host definition. If <port> is missing, default service port is used.')
				),
				array(
					'key' => 'net.tcp.service[service,<ip>,<port>]',
					'description' => _('Check if service is available. 0 - service is down, 1 - service is running. If <ip> is missing, IP or DNS name is taken from host definition. If <port> is missing, default service port is used.')
				),
				array(
					'key' => 'vmware.cluster.status[<url>,<name>]',
					'description' => _('VMware cluster status, <url> - VMware service URL, <name> - VMware cluster name')
				),
				array(
					'key' => 'vmware.eventlog[<url>]',
					'description' => _('VMware event log, <url> - VMware service URL')
				),
				array(
					'key' => 'vmware.fullname[<url>]',
					'description' => _('VMware service full name, <url> - VMware service URL')
				),
				array(
					'key' => 'vmware.eventlog[<url>]',
					'description' => _('VMware service version, <url> - VMware service URL')
				),
				array(
					'key' => 'vmware.hv.cluster.name[<url>,<uuid>]',
					'description' => _('VMware hypervisor cluster name, <url> - VMware service URL, <uuid> - VMware hypervisor host name')
				),
				array(
					'key' => 'vmware.hv.cpu.usage[<url>,<uuid>]',
					'description' => _('VMware hypervisor processor usage in Hz, <url> - VMware service URL, <uuid> - VMware hypervisor host name')
				),
				array(
					'key' => 'vmware.hv.datastore.read[<url>,<uuid>,<datastore>,<mode>]',
					'description' => _('VMware hypervisor datastore read statistics, <url> - VMware service URL, <uuid> - VMware hypervisor host name, <datastore> - datastore name, <mode> - latency')
				),
				array(
					'key' => 'vmware.hv.datastore.write[<url>,<uuid>,<datastore>,<mode>]',
					'description' => _('VMware hypervisor datastore write statistics, <url> - VMware service URL, <uuid> - VMware hypervisor host name, <datastore> - datastore name, <mode> - latency')
				),
				array(
					'key' => 'vmware.hv.full.name[<url>,<uuid>]',
					'description' => _('VMware hypervisor name, <url> - VMware service URL, <uuid> - VMware hypervisor host name')
				),
				array(
					'key' => 'vmware.hv.hw.cpu.freq[<url>,<uuid>]',
					'description' => _('VMware hypervisor processor frequency, <url> - VMware service URL, <uuid> - VMware hypervisor host name')
				),
				array(
					'key' => 'vmware.hv.hw.cpu.model[<url>,<uuid>]',
					'description' => _('VMware hypervisor processor model, <url> - VMware service URL, <uuid> - VMware hypervisor host name')
				),
				array(
					'key' => 'vmware.hv.hw.cpu.num[<url>,<uuid>]',
					'description' => _('Number of processor cores on VMware hypervisor, <url> - VMware service URL, <uuid> - VMware hypervisor host name')
				),
				array(
					'key' => 'vmware.hv.hw.cpu.threads[<url>,<uuid>]',
					'description' => _('Number of processor threads on VMware hypervisor, <url> - VMware service URL, <uuid> - VMware hypervisor host name')
				),
				array(
					'key' => 'vmware.hv.hw.memory[<url>,<uuid>]',
					'description' => _('VMware hypervisor total memory size, <url> - VMware service URL, <uuid> - VMware hypervisor host name')
				),
				array(
					'key' => 'vmware.hv.hw.model[<url>,<uuid>]',
					'description' => _('VMware hypervisor model, <url> - VMware service URL, <uuid> - VMware hypervisor host name')
				),
				array(
					'key' => 'vmware.hv.hw.uuid[<url>,<uuid>]',
					'description' => _('VMware hypervisor BIOS uuid, <url> - VMware service URL, <uuid> - VMware hypervisor host name')
				),
				array(
					'key' => 'vmware.hv.hw.vendor[<url>,<uuid>]',
					'description' => _('VMware hypervisor vendor name, <url> - VMware service URL, <uuid> - VMware hypervisor host name')
				),
				array(
					'key' => 'vmware.hv.memory.size.ballooned[<url>,<uuid>]',
					'description' => _('VMware hypervisor ballooned memory size, <url> - VMware service URL, <uuid> - VMware hypervisor host name')
				),
				array(
					'key' => 'vmware.hv.memory.used[<url>,<uuid>]',
					'description' => _('VMware hypervisor used memory size, <url> - VMware service URL, <uuid> - VMware hypervisor host name')
				),
				array(
					'key' => 'vmware.hv.network.in[<url>,<uuid>,<mode>]',
					'description' => _('VMware hypervisor network input statistics, <url> - VMware service URL, <uuid> - VMware hypervisor host name, <mode> - bps')
				),
				array(
					'key' => 'vmware.hv.network.out[<url>,<uuid>,<mode>]',
					'description' => _('VMware hypervisor network output statistics, <url> - VMware service URL, <uuid> - VMware hypervisor host name, <mode> - bps')
				),
				array(
					'key' => 'vmware.hv.status[<url>,<uuid>]',
					'description' => _('VMware hypervisor status, <url> - VMware service URL, <uuid> - VMware hypervisor host name')
				),
				array(
					'key' => 'vmware.hv.uptime[<url>,<uuid>]',
					'description' => _('VMware hypervisor uptime, <url> - VMware service URL, <uuid> - VMware hypervisor host name')
				),
				array(
					'key' => 'vmware.hv.version[<url>,<uuid>]',
					'description' => _('VMware hypervisor version, <url> - VMware service URL, <uuid> - VMware hypervisor host name')
				),
				array(
					'key' => 'vmware.hv.vm.num[<url>,<uuid>]',
					'description' => _('Number of virtual machines on VMware hypervisor, <url> - VMware service URL, <uuid> - VMware hypervisor host name')
				),
				array(
					'key' => 'vmware.vm.cluster.name[<url>,<uuid>]',
					'description' => _('VMware virtual machine name, <url> - VMware service URL, <uuid> - VMware virtual machine host name')
				),
				array(
					'key' => 'vmware.vm.cpu.num[<url>,<uuid>]',
					'description' => _('Number of processors on VMware virtual machine, <url> - VMware service URL, <uuid> - VMware virtual machine host name')
				),
				array(
					'key' => 'vmware.vm.cpu.usage[<url>,<uuid>]',
					'description' => _('VMware virtual machine processor usage in Hz, <url> - VMware service URL, <uuid> - VMware virtual machine host name')
				),
				array(
					'key' => 'vmware.vm.hv.name[<url>,<uuid>]',
					'description' => _('VMware virtual machine hypervisor name, <url> - VMware service URL, <uuid> - VMware virtual machine host name')
				),
				array(
					'key' => 'vmware.vm.memory.size.ballooned[<url>,<uuid>]',
					'description' => _('VMware virtual machine ballooned memory size, <url> - VMware service URL, <uuid> - VMware virtual machine host name')
				),
				array(
					'key' => 'vmware.vm.memory.size.compressed[<url>,<uuid>]',
					'description' => _('VMware virtual machine compressed memory size, <url> - VMware service URL, <uuid> - VMware virtual machine host name')
				),
				array(
					'key' => 'vmware.vm.memory.size.private[<url>,<uuid>]',
					'description' => _('VMware virtual machine private memory size, <url> - VMware service URL, <uuid> - VMware virtual machine host name')
				),
				array(
					'key' => 'vmware.vm.memory.size.shared[<url>,<uuid>]',
					'description' => _('VMware virtual machine shared memory size, <url> - VMware service URL, <uuid> - VMware virtual machine host name')
				),
				array(
					'key' => 'vmware.vm.memory.size.swapped[<url>,<uuid>]',
					'description' => _('VMware virtual machine swapped memory size, <url> - VMware service URL, <uuid> - VMware virtual machine host name')
				),
				array(
					'key' => 'vmware.vm.memory.size.usage.guest[<url>,<uuid>]',
					'description' => _('VMware virtual machine guest memory usage, <url> - VMware service URL, <uuid> - VMware virtual machine host name')
				),
				array(
					'key' => 'vmware.vm.memory.size.usage.host[<url>,<uuid>]',
					'description' => _('VMware virtual machine host memory usage, <url> - VMware service URL, <uuid> - VMware virtual machine host name')
				),
				array(
					'key' => 'vmware.vm.memory.size[<url>,<uuid>]',
					'description' => _('VMware virtual machine total memory size, <url> - VMware service URL, <uuid> - VMware virtual machine host name')
				),
				array(
					'key' => 'vmware.vm.net.if.in[<url>,<uuid>,<instance>,<mode>]',
					'description' => _('VMware virtual machine network interface input statistics, <url> - VMware service URL, <uuid> - VMware virtual machine host name, <instance> - network interface instance, <mode> - bps/pps - bytes/packets per second')
				),
				array(
					'key' => 'vmware.vm.net.if.out[<url>,<uuid>,<instance>,<mode>]',
					'description' => _('VMware virtual machine network interface output statistics, <url> - VMware service URL, <uuid> - VMware virtual machine host name, <instance> - network interface instance, <mode> - bps/pps - bytes/packets per second')
				),
				array(
					'key' => 'vmware.vm.powerstate[<url>,<uuid>]',
					'description' => _('VMware virtual machine power state, <url> - VMware service URL, <uuid> - VMware virtual machine host name')
				),
				array(
					'key' => 'vmware.vm.storage.committed[<url>,<uuid>]',
					'description' => _('VMware virtual machine committed storage space, <url> - VMware service URL, <uuid> - VMware virtual machine host name')
				),
				array(
					'key' => 'vmware.vm.storage.uncommitted[<url>,<uuid>]',
					'description' => _('VMware virtual machine uncommitted storage space, <url> - VMware service URL, <uuid> - VMware virtual machine host name')
				),
				array(
					'key' => 'vmware.vm.storage.unshared[<url>,<uuid>]',
					'description' => _('VMware virtual machine unshared storage space, <url> - VMware service URL, <uuid> - VMware virtual machine host name')
				),
				array(
					'key' => 'vmware.vm.uptime[<url>,<uuid>]',
					'description' => _('VMware virtual machine uptime, <url> - VMware service URL, <uuid> - VMware virtual machine host name')
				),
				array(
					'key' => 'vmware.vm.vfs.dev.read[<url>,<uuid>,<instance>,<mode>]',
					'description' => _('VMware virtual machine disk device read statistics, <url> - VMware service URL, <uuid> - VMware virtual machine host name, <instance> - disk device instance, <mode> - bps/ops - bytes/operations per second')
				),
				array(
					'key' => 'vmware.vm.vfs.dev.write[<url>,<uuid>,<instance>,<mode>]',
					'description' => _('VMware virtual machine disk device write statistics, <url> - VMware service URL, <uuid> - VMware virtual machine host name, <instance> - disk device instance, <mode> - bps/ops - bytes/operations per second')
				),
				array(
					'key' => 'vmware.vm.vfs.fs.size[<url>,<uuid>,<fsname>,<mode>]',
					'description' => _('VMware virtual machine file system statistics, <url> - VMware service URL, <uuid> - VMware virtual machine host name, <fsname> - file system name, <mode> - total/free/used/pfree/pused')
				)
			),
			ITEM_TYPE_SNMPTRAP => array(
				array(
					'key' => 'snmptrap.fallback',
					'description' => _('Catches all SNMP traps that are not caught by any of the snmptrap[] items from a corresponding address of the interface.')
				),
				array(
					'key' => 'snmptrap[<regex>]',
					'description' => _('Catches all SNMP traps from a corresponding address that match regex. Default regex is an empty string.')
				)
			),
			ITEM_TYPE_INTERNAL => array(
				array(
					'key' => 'zabbix[boottime]',
					'description' => _('Startup time of Zabbix server, Unix timestamp.')
				),
				array(
					'key' => 'zabbix[history]',
					'description' => _('Number of values stored in table HISTORY.')
				),
				array(
					'key' => 'zabbix[history_log]',
					'description' => _('Number of values stored in table HISTORY_LOG.')
				),
				array(
					'key' => 'zabbix[history_str]',
					'description' => _('Number of values stored in table HISTORY_STR.')
				),
				array(
					'key' => 'zabbix[history_text]',
					'description' => _('Number of values stored in table HISTORY_TEXT.')
				),
				array(
					'key' => 'zabbix[history_uint]',
					'description' => _('Number of values stored in table HISTORY_UINT.')
				),
				array(
					'key' => 'zabbix[host,<type>,available]',
					'description' => _('Returns availability of a particular type of checks on the host. Value of this item corresponds to availability icons in the host list. Valid types are: agent, snmp, ipmi, jmx.')
				),
				array(
					'key' => 'zabbix[hosts]',
					'description' => _('Number of monitored hosts')
				),
				array(
					'key' => 'zabbix[items]',
					'description' => _('Number of items in Zabbix database.')
				),
				array(
					'key' => 'zabbix[items_unsupported]',
					'description' => _('Number of unsupported items in Zabbix database.')
				),
				array(
					'key' => 'zabbix[java,,<param>]',
					'description' => _('Returns information associated with Zabbix Java gateway. Valid params are: ping, version.')
				),
				array(
					'key' => 'zabbix[process,<type>,<num>,<state>]',
					'description' => _('Time a particular Zabbix process or a group of processes (identified by <type> and <num>) spent in <state> in percentage.')
				),
				array(
					'key' => 'zabbix[proxy,<name>,<param>]',
					'description' => _('Time of proxy last access. Name - proxy name. Param - lastaccess. Unix timestamp.')
				),
				array(
					'key' => 'zabbix[proxy_history]',
					'description' => _('Number of items in proxy history that are not yet sent to the server')
				),
				array(
					'key' => 'zabbix[queue,<from>,<to>]',
					'description' => _('Number of items in the queue which are delayed by from to to seconds, inclusive.')
				),
				array(
					'key' => 'zabbix[rcache,<cache>,<mode>]',
					'description' => _('Configuration cache statistics. Cache - buffer (modes: pfree, total, used, free).')
				),
				array(
					'key' => 'zabbix[requiredperformance]',
					'description' => _('Required performance of the Zabbix server, in new values per second expected.')
				),
				array(
					'key' => 'zabbix[trends]',
					'description' => _('Number of values stored in table TRENDS.')
				),
				array(
					'key' => 'zabbix[trends_uint]',
					'description' => _('Number of values stored in table TRENDS_UINT.')
				),
				array(
					'key' => 'zabbix[triggers]',
					'description' => _('Number of triggers in Zabbix database.')
				),
				array(
					'key' => 'zabbix[uptime]',
					'description' => _('Uptime of Zabbix server process in seconds.')
				),
				array(
					'key' => 'zabbix[vcache,buffer,<mode>]',
					'description' => _('Value cache statistics. Valid modes are: total, free, pfree, used and pused.')
				),
				array(
					'key' => 'zabbix[vcache,cache,<parameter>]',
					'description' => _('Value cache effectiveness. Valid parameters are: requests, hits and misses.')
				),
				array(
					'key' => 'zabbix[vmware,buffer,<mode>]',
					'description' => _('VMware cache statistics. Valid modes are: total, free, pfree, used and pused.')
				),
				array(
					'key' => 'zabbix[wcache,<cache>,<mode>]',
					'description' => _('Data cache statistics. Cache - one of values (modes: all, float, uint, str, log, text), history (modes: pfree, total, used, free), trend (modes: pfree, total, used, free), text (modes: pfree, total, used, free).')
				)
			)
		);
	}
}