前置条件:

  OS : CentOS7

  MySQL5.6已安装,且加入环境变量

安装步骤:

  按照官方步骤进行安装,比官方手册中多了zabbix-java-gateway,此处留档备份。  https://www.zabbix.com/download

  Install and configure Zabbix server

    # rpm -i https://repo.zabbix.com/zabbix/3.4/rhel/7/x86_64/zabbix-release-3.4-2.el7.noarch.rpm

  Install Zabbix server, frontend, agent

    # yum install zabbix-server-mysql zabbix-web-mysql zabbix-agent zabbix-java-gateway

  Create initial database

    # mysql -uroot -p
    password
    mysql> create database zabbix character set utf8 collate utf8_bin;
    mysql> grant all privileges on zabbix.* to zabbix@localhost identified by ‘password’;
    mysql> quit;

  Configure the database for Zabbix server

    Edit file /etc/httpd/conf.d/zabbix.conf, uncomment and set the right timezone for you.

    # php_value date.timezone Asia/Shanghai  //此处修改为亚洲/上海

  Start Zabbix server and agent processes

    Start Zabbix server and agent processes and make it start at system boot:

    # systemctl restart zabbix-server zabbix-agent httpd
    # systemctl enable zabbix-server zabbix-agent httpd

  进入对应IP后,进行zabbix基本配置。

  Connect to your newly installed Zabbix frontend: http://server_ip_or_name/zabbix 
  Follow steps described in Zabbix documentation: Installing frontend

https://www.zabbix.com/documentation/3.4/manual/installation/install#installing_frontend

  默认登录账号密码:

    The default user name is Admin, password zabbix.

zabbix-server zabbix-java-gateway与zabbix-agent在不同服务器,我的配置文件如下:

zabbix-server.conf

复制代码
  1 # This is a configuration file for Zabbix server daemon
  2 # To get more information about Zabbix, visit http://www.zabbix.com
  3
  4 ############ GENERAL PARAMETERS #################
  5
  6 ### Option: ListenPort
  7 #    Listen port for trapper.
  8 #
  9 # Mandatory: no
 10 # Range: 1024-32767
 11 # Default:
 12 # ListenPort=10051
 13
 14 ### Option: SourceIP
 15 #    Source IP address for outgoing connections.
 16 #
 17 # Mandatory: no
 18 # Default:
 19 # SourceIP=
 20
 21 ### Option: LogType
 22 #    Specifies where log messages are written to:
 23 #        system  - syslog
 24 #        file    - file specified with LogFile parameter
 25 #        console - standard output
 26 #
 27 # Mandatory: no
 28 # Default:
 29 # LogType=file
 30
 31 ### Option: LogFile
 32 #    Log file name for LogType 'file' parameter.
 33 #
 34 # Mandatory: no
 35 # Default:
 36 # LogFile=
 37
 38 LogFile=/var/log/zabbix/zabbix_server.log
 39
 40 ### Option: LogFileSize
 41 #    Maximum size of log file in MB.
 42 #    0 - disable automatic log rotation.
 43 #
 44 # Mandatory: no
 45 # Range: 0-1024
 46 # Default:
 47 # LogFileSize=1
 48
 49 LogFileSize=0
 50
 51 ### Option: DebugLevel
 52 #    Specifies debug level:
 53 #    0 - basic information about starting and stopping of Zabbix processes
 54 #    1 - critical information
 55 #    2 - error information
 56 #    3 - warnings
 57 #    4 - for debugging (produces lots of information)
 58 #    5 - extended debugging (produces even more information)
 59 #
 60 # Mandatory: no
 61 # Range: 0-5
 62 # Default:
 63 # DebugLevel=3
 64
 65 ### Option: PidFile
 66 #    Name of PID file.
 67 #
 68 # Mandatory: no
 69 # Default:
 70 # PidFile=/tmp/zabbix_server.pid
 71
 72 PidFile=/var/run/zabbix/zabbix_server.pid
 73
 74 ### Option: SocketDir
 75 #    IPC socket directory.
 76 #       Directory to store IPC sockets used by internal Zabbix services.
 77 #
 78 # Mandatory: no
 79 # Default:
 80 # SocketDir=/tmp
 81
 82 SocketDir=/var/run/zabbix
 83
 84 ### Option: DBHost
 85 #    Database host name.
 86 #    If set to localhost, socket is used for MySQL.
 87 #    If set to empty string, socket is used for PostgreSQL.
 88 #
 89 # Mandatory: no
 90 # Default:
 91 # DBHost=localhost
 92
 93 ### Option: DBName
 94 #    Database name.
 95 #    For SQLite3 path to database file must be provided. DBUser and DBPassword are ignored.
 96 #
 97 # Mandatory: yes
 98 # Default:
 99 # DBName=
100
101 DBName=zabbix
102
103 ### Option: DBSchema
104 #    Schema name. Used for IBM DB2 and PostgreSQL.
105 #
106 # Mandatory: no
107 # Default:
108 # DBSchema=
109
110 ### Option: DBUser
111 #    Database user. Ignored for SQLite.
112 #
113 # Mandatory: no
114 # Default:
115 # DBUser=
116
117 DBUser=zabbix
118
119 ### Option: DBPassword
120 #    Database password. Ignored for SQLite.
121 #    Comment this line if no password is used.
122 #
123 # Mandatory: no
124 # Default:
125 # DBPassword=
126 DBPassword=123456
127
128 ### Option: DBSocket
129 #    Path to MySQL socket.
130 #
131 # Mandatory: no
132 # Default:
133 # DBSocket=/tmp/mysql.sock
134
135 ### Option: DBPort
136 #    Database port when not using local socket. Ignored for SQLite.
137 #
138 # Mandatory: no
139 # Range: 1024-65535
140 # Default (for MySQL):
141 # DBPort=3306
142
143 ### Option: HistoryStorageURL
144 #    History storage HTTP[S] URL.
145 #
146 # Mandatory: no
147 # Default:
148 # HistoryStorageURL=
149
150 ### Option: HistoryStorageTypes
151 #    Comma separated list of value types to be sent to the history storage.
152 #
153 # Mandatory: no
154 # Default:
155 # HistoryStorageTypes=uint,dbl,str,log,text
156
157 ############ ADVANCED PARAMETERS ################
158
159 ### Option: StartPollers
160 #    Number of pre-forked instances of pollers.
161 #
162 # Mandatory: no
163 # Range: 0-1000
164 # Default:
165 # StartPollers=5
166
167 ### Option: StartIPMIPollers
168 #    Number of pre-forked instances of IPMI pollers.
169 #       The IPMI manager process is automatically started when at least one IPMI poller is started.
170 #
171 # Mandatory: no
172 # Range: 0-1000
173 # Default:
174 # StartIPMIPollers=0
175
176 ### Option: StartPreprocessors
177 #    Number of pre-forked instances of preprocessing workers.
178 #       The preprocessing manager process is automatically started when preprocessor worker is started.
179 #
180 # Mandatory: no
181 # Range: 1-1000
182 # Default:
183 # StartPreprocessors=3
184
185 ### Option: StartPollersUnreachable
186 #    Number of pre-forked instances of pollers for unreachable hosts (including IPMI and Java).
187 #    At least one poller for unreachable hosts must be running if regular, IPMI or Java pollers
188 #    are started.
189 #
190 # Mandatory: no
191 # Range: 0-1000
192 # Default:
193 # StartPollersUnreachable=1
194
195 ### Option: StartTrappers
196 #    Number of pre-forked instances of trappers.
197 #    Trappers accept incoming connections from Zabbix sender, active agents and active proxies.
198 #    At least one trapper process must be running to display server availability and view queue
199 #    in the frontend.
200 #
201 # Mandatory: no
202 # Range: 0-1000
203 # Default:
204 # StartTrappers=5
205
206 ### Option: StartPingers
207 #    Number of pre-forked instances of ICMP pingers.
208 #
209 # Mandatory: no
210 # Range: 0-1000
211 # Default:
212 # StartPingers=1
213
214 ### Option: StartDiscoverers
215 #    Number of pre-forked instances of discoverers.
216 #
217 # Mandatory: no
218 # Range: 0-250
219 # Default:
220 # StartDiscoverers=1
221
222 ### Option: StartHTTPPollers
223 #    Number of pre-forked instances of HTTP pollers.
224 #
225 # Mandatory: no
226 # Range: 0-1000
227 # Default:
228 # StartHTTPPollers=1
229
230 ### Option: StartTimers
231 #    Number of pre-forked instances of timers.
232 #    Timers process time-based trigger functions and maintenance periods.
233 #    Only the first timer process handles the maintenance periods.
234 #
235 # Mandatory: no
236 # Range: 1-1000
237 # Default:
238 # StartTimers=1
239
240 ### Option: StartEscalators
241 #    Number of pre-forked instances of escalators.
242 #
243 # Mandatory: no
244 # Range: 0-100
245 # Default:
246 # StartEscalators=1
247
248 ### Option: StartAlerters
249 #    Number of pre-forked instances of alerters.
250 #    Alerters send the notifications created by action operations.
251 #
252 # Mandatory: no
253 # Range: 0-100
254 # Default:
255 # StartAlerters=3
256
257 ### Option: JavaGateway
258 #    IP address (or hostname) of Zabbix Java gateway.
259 #    Only required if Java pollers are started.
260 #
261 # Mandatory: no
262 # Default:
263 # JavaGateway=
264 JavaGateway=127.0.0.1
265
266 ### Option: JavaGatewayPort
267 #    Port that Zabbix Java gateway listens on.
268 #
269 # Mandatory: no
270 # Range: 1024-32767
271 # Default:
272 # JavaGatewayPort=10052
273 JavaGatewayPort=10052
274
275 ### Option: StartJavaPollers
276 #    Number of pre-forked instances of Java pollers.
277 #
278 # Mandatory: no
279 # Range: 0-1000
280 # Default:
281 # StartJavaPollers=0
282 StartJavaPollers=5
283
284 ### Option: StartVMwareCollectors
285 #    Number of pre-forked vmware collector instances.
286 #
287 # Mandatory: no
288 # Range: 0-250
289 # Default:
290 # StartVMwareCollectors=0
291
292 ### Option: VMwareFrequency
293 #    How often Zabbix will connect to VMware service to obtain a new data.
294 #
295 # Mandatory: no
296 # Range: 10-86400
297 # Default:
298 # VMwareFrequency=60
299
300 ### Option: VMwarePerfFrequency
301 #    How often Zabbix will connect to VMware service to obtain performance data.
302 #
303 # Mandatory: no
304 # Range: 10-86400
305 # Default:
306 # VMwarePerfFrequency=60
307
308 ### Option: VMwareCacheSize
309 #    Size of VMware cache, in bytes.
310 #    Shared memory size for storing VMware data.
311 #    Only used if VMware collectors are started.
312 #
313 # Mandatory: no
314 # Range: 256K-2G
315 # Default:
316 # VMwareCacheSize=8M
317
318 ### Option: VMwareTimeout
319 #    Specifies how many seconds vmware collector waits for response from VMware service.
320 #
321 # Mandatory: no
322 # Range: 1-300
323 # Default:
324 # VMwareTimeout=10
325
326 ### Option: SNMPTrapperFile
327 #    Temporary file used for passing data from SNMP trap daemon to the server.
328 #    Must be the same as in zabbix_trap_receiver.pl or SNMPTT configuration file.
329 #
330 # Mandatory: no
331 # Default:
332 # SNMPTrapperFile=/tmp/zabbix_traps.tmp
333
334 SNMPTrapperFile=/var/log/snmptrap/snmptrap.log
335
336 ### Option: StartSNMPTrapper
337 #    If 1, SNMP trapper process is started.
338 #
339 # Mandatory: no
340 # Range: 0-1
341 # Default:
342 # StartSNMPTrapper=0
343
344 ### Option: ListenIP
345 #    List of comma delimited IP addresses that the trapper should listen on.
346 #    Trapper will listen on all network interfaces if this parameter is missing.
347 #
348 # Mandatory: no
349 # Default:
350 # ListenIP=0.0.0.0
351
352 # ListenIP=127.0.0.1
353
354 ### Option: HousekeepingFrequency
355 #    How often Zabbix will perform housekeeping procedure (in hours).
356 #    Housekeeping is removing outdated information from the database.
357 #    To prevent Housekeeper from being overloaded, no more than 4 times HousekeepingFrequency
358 #    hours of outdated information are deleted in one housekeeping cycle, for each item.
359 #    To lower load on server startup housekeeping is postponed for 30 minutes after server start.
360 #    With HousekeepingFrequency=0 the housekeeper can be only executed using the runtime control option.
361 #    In this case the period of outdated information deleted in one housekeeping cycle is 4 times the
362 #    period since the last housekeeping cycle, but not less than 4 hours and not greater than 4 days.
363 #
364 # Mandatory: no
365 # Range: 0-24
366 # Default:
367 # HousekeepingFrequency=1
368
369 ### Option: MaxHousekeeperDelete
370 #    The table "housekeeper" contains "tasks" for housekeeping procedure in the format:
371 #    [housekeeperid], [tablename], [field], [value].
372 #    No more than 'MaxHousekeeperDelete' rows (corresponding to [tablename], [field], [value])
373 #    will be deleted per one task in one housekeeping cycle.
374 #    SQLite3 does not use this parameter, deletes all corresponding rows without a limit.
375 #    If set to 0 then no limit is used at all. In this case you must know what you are doing!
376 #
377 # Mandatory: no
378 # Range: 0-1000000
379 # Default:
380 # MaxHousekeeperDelete=5000
381
382 ### Option: CacheSize
383 #    Size of configuration cache, in bytes.
384 #    Shared memory size for storing host, item and trigger data.
385 #
386 # Mandatory: no
387 # Range: 128K-8G
388 # Default:
389 # CacheSize=8M
390
391 ### Option: CacheUpdateFrequency
392 #    How often Zabbix will perform update of configuration cache, in seconds.
393 #
394 # Mandatory: no
395 # Range: 1-3600
396 # Default:
397 # CacheUpdateFrequency=60
398
399 ### Option: StartDBSyncers
400 #    Number of pre-forked instances of DB Syncers.
401 #
402 # Mandatory: no
403 # Range: 1-100
404 # Default:
405 # StartDBSyncers=4
406
407 ### Option: HistoryCacheSize
408 #    Size of history cache, in bytes.
409 #    Shared memory size for storing history data.
410 #
411 # Mandatory: no
412 # Range: 128K-2G
413 # Default:
414 # HistoryCacheSize=16M
415
416 ### Option: HistoryIndexCacheSize
417 #    Size of history index cache, in bytes.
418 #    Shared memory size for indexing history cache.
419 #
420 # Mandatory: no
421 # Range: 128K-2G
422 # Default:
423 # HistoryIndexCacheSize=4M
424
425 ### Option: TrendCacheSize
426 #    Size of trend cache, in bytes.
427 #    Shared memory size for storing trends data.
428 #
429 # Mandatory: no
430 # Range: 128K-2G
431 # Default:
432 # TrendCacheSize=4M
433
434 ### Option: ValueCacheSize
435 #    Size of history value cache, in bytes.
436 #    Shared memory size for caching item history data requests.
437 #    Setting to 0 disables value cache.
438 #
439 # Mandatory: no
440 # Range: 0,128K-64G
441 # Default:
442 # ValueCacheSize=8M
443
444 ### Option: Timeout
445 #    Specifies how long we wait for agent, SNMP device or external check (in seconds).
446 #
447 # Mandatory: no
448 # Range: 1-30
449 # Default:
450 # Timeout=3
451
452 Timeout=4
453
454 ### Option: TrapperTimeout
455 #    Specifies how many seconds trapper may spend processing new data.
456 #
457 # Mandatory: no
458 # Range: 1-300
459 # Default:
460 # TrapperTimeout=300
461
462 ### Option: UnreachablePeriod
463 #    After how many seconds of unreachability treat a host as unavailable.
464 #
465 # Mandatory: no
466 # Range: 1-3600
467 # Default:
468 # UnreachablePeriod=45
469
470 ### Option: UnavailableDelay
471 #    How often host is checked for availability during the unavailability period, in seconds.
472 #
473 # Mandatory: no
474 # Range: 1-3600
475 # Default:
476 # UnavailableDelay=60
477
478 ### Option: UnreachableDelay
479 #    How often host is checked for availability during the unreachability period, in seconds.
480 #
481 # Mandatory: no
482 # Range: 1-3600
483 # Default:
484 # UnreachableDelay=15
485
486 ### Option: AlertScriptsPath
487 #    Full path to location of custom alert scripts.
488 #    Default depends on compilation options.
489 #
490 # Mandatory: no
491 # Default:
492 # AlertScriptsPath=${datadir}/zabbix/alertscripts
493
494 AlertScriptsPath=/usr/lib/zabbix/alertscripts
495
496 ### Option: ExternalScripts
497 #    Full path to location of external scripts.
498 #    Default depends on compilation options.
499 #
500 # Mandatory: no
501 # Default:
502 # ExternalScripts=${datadir}/zabbix/externalscripts
503
504 ExternalScripts=/usr/lib/zabbix/externalscripts
505
506 ### Option: FpingLocation
507 #    Location of fping.
508 #    Make sure that fping binary has root ownership and SUID flag set.
509 #
510 # Mandatory: no
511 # Default:
512 # FpingLocation=/usr/sbin/fping
513
514 ### Option: Fping6Location
515 #    Location of fping6.
516 #    Make sure that fping6 binary has root ownership and SUID flag set.
517 #    Make empty if your fping utility is capable to process IPv6 addresses.
518 #
519 # Mandatory: no
520 # Default:
521 # Fping6Location=/usr/sbin/fping6
522
523 ### Option: SSHKeyLocation
524 #    Location of public and private keys for SSH checks and actions.
525 #
526 # Mandatory: no
527 # Default:
528 # SSHKeyLocation=
529
530 ### Option: LogSlowQueries
531 #    How long a database query may take before being logged (in milliseconds).
532 #    Only works if DebugLevel set to 3, 4 or 5.
533 #    0 - don't log slow queries.
534 #
535 # Mandatory: no
536 # Range: 1-3600000
537 # Default:
538 # LogSlowQueries=0
539
540 LogSlowQueries=3000
541
542 ### Option: TmpDir
543 #    Temporary directory.
544 #
545 # Mandatory: no
546 # Default:
547 # TmpDir=/tmp
548
549 ### Option: StartProxyPollers
550 #    Number of pre-forked instances of pollers for passive proxies.
551 #
552 # Mandatory: no
553 # Range: 0-250
554 # Default:
555 # StartProxyPollers=1
556
557 ### Option: ProxyConfigFrequency
558 #    How often Zabbix Server sends configuration data to a Zabbix Proxy in seconds.
559 #    This parameter is used only for proxies in the passive mode.
560 #
561 # Mandatory: no
562 # Range: 1-3600*24*7
563 # Default:
564 # ProxyConfigFrequency=3600
565
566 ### Option: ProxyDataFrequency
567 #    How often Zabbix Server requests history data from a Zabbix Proxy in seconds.
568 #    This parameter is used only for proxies in the passive mode.
569 #
570 # Mandatory: no
571 # Range: 1-3600
572 # Default:
573 # ProxyDataFrequency=1
574
575 ### Option: AllowRoot
576 #    Allow the server to run as 'root'. If disabled and the server is started by 'root', the server
577 #    will try to switch to the user specified by the User configuration option instead.
578 #    Has no effect if started under a regular user.
579 #    0 - do not allow
580 #    1 - allow
581 #
582 # Mandatory: no
583 # Default:
584 # AllowRoot=0
585
586 ### Option: User
587 #    Drop privileges to a specific, existing user on the system.
588 #    Only has effect if run as 'root' and AllowRoot is disabled.
589 #
590 # Mandatory: no
591 # Default:
592 # User=zabbix
593
594 ### Option: Include
595 #    You may include individual files or all files in a directory in the configuration file.
596 #    Installing Zabbix will create include directory in /usr/local/etc, unless modified during the compile time.
597 #
598 # Mandatory: no
599 # Default:
600 # Include=
601
602 # Include=/usr/local/etc/zabbix_server.general.conf
603 # Include=/usr/local/etc/zabbix_server.conf.d/
604 # Include=/usr/local/etc/zabbix_server.conf.d/*.conf
605
606 ### Option: SSLCertLocation
607 #    Location of SSL client certificates.
608 #    This parameter is used only in web monitoring.
609 #
610 # Mandatory: no
611 # Default:
612 # SSLCertLocation=${datadir}/zabbix/ssl/certs
613
614 ### Option: SSLKeyLocation
615 #    Location of private keys for SSL client certificates.
616 #    This parameter is used only in web monitoring.
617 #
618 # Mandatory: no
619 # Default:
620 # SSLKeyLocation=${datadir}/zabbix/ssl/keys
621
622 ### Option: SSLCALocation
623 #    Override the location of certificate authority (CA) files for SSL server certificate verification.
624 #    If not set, system-wide directory will be used.
625 #    This parameter is used only in web monitoring and SMTP authentication.
626 #
627 # Mandatory: no
628 # Default:
629 # SSLCALocation=
630
631 ####### LOADABLE MODULES #######
632
633 ### Option: LoadModulePath
634 #    Full path to location of server modules.
635 #    Default depends on compilation options.
636 #
637 # Mandatory: no
638 # Default:
639 # LoadModulePath=${libdir}/modules
640
641 ### Option: LoadModule
642 #    Module to load at server startup. Modules are used to extend functionality of the server.
643 #    Format: LoadModule=<module.so>
644 #    The modules must be located in directory specified by LoadModulePath.
645 #    It is allowed to include multiple LoadModule parameters.
646 #
647 # Mandatory: no
648 # Default:
649 # LoadModule=
650
651 ####### TLS-RELATED PARAMETERS #######
652
653 ### Option: TLSCAFile
654 #    Full pathname of a file containing the top-level CA(s) certificates for
655 #    peer certificate verification.
656 #
657 # Mandatory: no
658 # Default:
659 # TLSCAFile=
660
661 ### Option: TLSCRLFile
662 #    Full pathname of a file containing revoked certificates.
663 #
664 # Mandatory: no
665 # Default:
666 # TLSCRLFile=
667
668 ### Option: TLSCertFile
669 #    Full pathname of a file containing the server certificate or certificate chain.
670 #
671 # Mandatory: no
672 # Default:
673 # TLSCertFile=
674
675 ### Option: TLSKeyFile
676 #    Full pathname of a file containing the server private key.
677 #
678 # Mandatory: no
679 # Default:
680 # TLSKeyFile=
复制代码

zabbix-agentd.conf

复制代码
  1 # This is a configuration file for Zabbix agent daemon (Unix)
  2 # To get more information about Zabbix, visit http://www.zabbix.com
  3
  4 ############ GENERAL PARAMETERS #################
  5
  6 ### Option: PidFile
  7 #    Name of PID file.
  8 #
  9 # Mandatory: no
 10 # Default:
 11 # PidFile=/tmp/zabbix_agentd.pid
 12
 13 PidFile=/var/run/zabbix/zabbix_agentd.pid
 14
 15 ### Option: LogType
 16 #    Specifies where log messages are written to:
 17 #        system  - syslog
 18 #        file    - file specified with LogFile parameter
 19 #        console - standard output
 20 #
 21 # Mandatory: no
 22 # Default:
 23 # LogType=file
 24
 25 ### Option: LogFile
 26 #    Log file name for LogType 'file' parameter.
 27 #
 28 # Mandatory: no
 29 # Default:
 30 # LogFile=
 31
 32 LogFile=/var/log/zabbix/zabbix_agentd.log
 33
 34 ### Option: LogFileSize
 35 #    Maximum size of log file in MB.
 36 #    0 - disable automatic log rotation.
 37 #
 38 # Mandatory: no
 39 # Range: 0-1024
 40 # Default:
 41 # LogFileSize=1
 42
 43 LogFileSize=0
 44
 45 ### Option: DebugLevel
 46 #    Specifies debug level:
 47 #    0 - basic information about starting and stopping of Zabbix processes
 48 #    1 - critical information
 49 #    2 - error information
 50 #    3 - warnings
 51 #    4 - for debugging (produces lots of information)
 52 #    5 - extended debugging (produces even more information)
 53 #
 54 # Mandatory: no
 55 # Range: 0-5
 56 # Default:
 57 # DebugLevel=3
 58
 59 ### Option: SourceIP
 60 #    Source IP address for outgoing connections.
 61 #
 62 # Mandatory: no
 63 # Default:
 64 # SourceIP=
 65
 66 ### Option: EnableRemoteCommands
 67 #    Whether remote commands from Zabbix server are allowed.
 68 #    0 - not allowed
 69 #    1 - allowed
 70 #
 71 # Mandatory: no
 72 # Default:
 73 # EnableRemoteCommands=0
 74
 75 ### Option: LogRemoteCommands
 76 #    Enable logging of executed shell commands as warnings.
 77 #    0 - disabled
 78 #    1 - enabled
 79 #
 80 # Mandatory: no
 81 # Default:
 82 # LogRemoteCommands=0
 83
 84 ##### Passive checks related
 85
 86 ### Option: Server
 87 #    List of comma delimited IP addresses, optionally in CIDR notation, or hostnames of Zabbix servers and Zabbix proxies.
 88 #    Incoming connections will be accepted only from the hosts listed here.
 89 #    If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally and '::/0' will allow any IPv4 or IPv6 address.
 90 #    '0.0.0.0/0' can be used to allow any IPv4 address.
 91 #    Example: Server=127.0.0.1,192.168.1.0/24,::1,2001:db8::/32,zabbix.domain
 92 #
 93 # Mandatory: yes, if StartAgents is not explicitly set to 0
 94 # Default:
 95 # Server=
 96
 97 #Server=127.0.0.1
 98 Server=10.0.20.216
 99
100 ### Option: ListenPort
101 #    Agent will listen on this port for connections from the server.
102 #
103 # Mandatory: no
104 # Range: 1024-32767
105 # Default:
106 # ListenPort=10050
107
108 ### Option: ListenIP
109 #    List of comma delimited IP addresses that the agent should listen on.
110 #    First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
111 #
112 # Mandatory: no
113 # Default:
114 # ListenIP=0.0.0.0
115
116 ### Option: StartAgents
117 #    Number of pre-forked instances of zabbix_agentd that process passive checks.
118 #    If set to 0, disables passive checks and the agent will not listen on any TCP port.
119 #
120 # Mandatory: no
121 # Range: 0-100
122 # Default:
123 # StartAgents=3
124
125 ##### Active checks related
126
127 ### Option: ServerActive
128 #    List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers and Zabbix proxies for active checks.
129 #    If port is not specified, default port is used.
130 #    IPv6 addresses must be enclosed in square brackets if port for that host is specified.
131 #    If port is not specified, square brackets for IPv6 addresses are optional.
132 #    If this parameter is not specified, active checks are disabled.
133 #    Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
134 #
135 # Mandatory: no
136 # Default:
137 # ServerActive=
138
139 #ServerActive=127.0.0.1
140 ServerActive=10.0.20.216
141
142 ### Option: Hostname
143 #    Unique, case sensitive hostname.
144 #    Required for active checks and must match hostname as configured on the server.
145 #    Value is acquired from HostnameItem if undefined.
146 #
147 # Mandatory: no
148 # Default:
149 # Hostname=
150
151 Hostname=mysqlClone
152
153 ### Option: HostnameItem
154 #    Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
155 #    Does not support UserParameters or aliases.
156 #
157 # Mandatory: no
158 # Default:
159 # HostnameItem=system.hostname
160
161 ### Option: HostMetadata
162 #    Optional parameter that defines host metadata.
163 #    Host metadata is used at host auto-registration process.
164 #    An agent will issue an error and not start if the value is over limit of 255 characters.
165 #    If not defined, value will be acquired from HostMetadataItem.
166 #
167 # Mandatory: no
168 # Range: 0-255 characters
169 # Default:
170 # HostMetadata=
171
172 ### Option: HostMetadataItem
173 #    Optional parameter that defines an item used for getting host metadata.
174 #    Host metadata is used at host auto-registration process.
175 #    During an auto-registration request an agent will log a warning message if
176 #    the value returned by specified item is over limit of 255 characters.
177 #    This option is only used when HostMetadata is not defined.
178 #
179 # Mandatory: no
180 # Default:
181 # HostMetadataItem=
182
183 ### Option: RefreshActiveChecks
184 #    How often list of active checks is refreshed, in seconds.
185 #
186 # Mandatory: no
187 # Range: 60-3600
188 # Default:
189 # RefreshActiveChecks=120
190
191 ### Option: BufferSend
192 #    Do not keep data longer than N seconds in buffer.
193 #
194 # Mandatory: no
195 # Range: 1-3600
196 # Default:
197 # BufferSend=5
198
199 ### Option: BufferSize
200 #    Maximum number of values in a memory buffer. The agent will send
201 #    all collected data to Zabbix Server or Proxy if the buffer is full.
202 #
203 # Mandatory: no
204 # Range: 2-65535
205 # Default:
206 # BufferSize=100
207
208 ### Option: MaxLinesPerSecond
209 #    Maximum number of new lines the agent will send per second to Zabbix Server
210 #    or Proxy processing 'log' and 'logrt' active checks.
211 #    The provided value will be overridden by the parameter 'maxlines',
212 #    provided in 'log' or 'logrt' item keys.
213 #
214 # Mandatory: no
215 # Range: 1-1000
216 # Default:
217 # MaxLinesPerSecond=20
218
219 ############ ADVANCED PARAMETERS #################
220
221 ### Option: Alias
222 #    Sets an alias for an item key. It can be used to substitute long and complex item key with a smaller and simpler one.
223 #    Multiple Alias parameters may be present. Multiple parameters with the same Alias key are not allowed.
224 #    Different Alias keys may reference the same item key.
225 #    For example, to retrieve the ID of user 'zabbix':
226 #    Alias=zabbix.userid:vfs.file.regexp[/etc/passwd,^zabbix:.:([0-9]+),,,,\1]
227 #    Now shorthand key zabbix.userid may be used to retrieve data.
228 #    Aliases can be used in HostMetadataItem but not in HostnameItem parameters.
229 #
230 # Mandatory: no
231 # Range:
232 # Default:
233
234 ### Option: Timeout
235 #    Spend no more than Timeout seconds on processing
236 #
237 # Mandatory: no
238 # Range: 1-30
239 # Default:
240 # Timeout=3
241
242 ### Option: AllowRoot
243 #    Allow the agent to run as 'root'. If disabled and the agent is started by 'root', the agent
244 #    will try to switch to the user specified by the User configuration option instead.
245 #    Has no effect if started under a regular user.
246 #    0 - do not allow
247 #    1 - allow
248 #
249 # Mandatory: no
250 # Default:
251 # AllowRoot=0
252
253 ### Option: User
254 #    Drop privileges to a specific, existing user on the system.
255 #    Only has effect if run as 'root' and AllowRoot is disabled.
256 #
257 # Mandatory: no
258 # Default:
259 # User=zabbix
260
261 ### Option: Include
262 #    You may include individual files or all files in a directory in the configuration file.
263 #    Installing Zabbix will create include directory in /usr/local/etc, unless modified during the compile time.
264 #
265 # Mandatory: no
266 # Default:
267 # Include=
268
269 Include=/etc/zabbix/zabbix_agentd.d/*.conf
270
271 # Include=/usr/local/etc/zabbix_agentd.userparams.conf
272 # Include=/usr/local/etc/zabbix_agentd.conf.d/
273 # Include=/usr/local/etc/zabbix_agentd.conf.d/*.conf
274
275 ####### USER-DEFINED MONITORED PARAMETERS #######
276
277 ### Option: UnsafeUserParameters
278 #    Allow all characters to be passed in arguments to user-defined parameters.
279 #    The following characters are not allowed:
280 #    \ ' " ` * ? [ ] { } ~ $ ! & ; ( ) < > | # @
281 #    Additionally, newline characters are not allowed.
282 #    0 - do not allow
283 #    1 - allow
284 #
285 # Mandatory: no
286 # Range: 0-1
287 # Default:
288 # UnsafeUserParameters=0
289 UnsafeUserParameters=1
290
291 ### Option: UserParameter
292 #    User-defined parameter to monitor. There can be several user-defined parameters.
293 #    Format: UserParameter=<key>,<shell command>
294 #    See 'zabbix_agentd' directory for examples.
295 #
296 # Mandatory: no
297 # Default:
298 # UserParameter=
299
300 ####### LOADABLE MODULES #######
301
302 ### Option: LoadModulePath
303 #    Full path to location of agent modules.
304 #    Default depends on compilation options.
305 #
306 # Mandatory: no
307 # Default:
308 # LoadModulePath=${libdir}/modules
309
310 ### Option: LoadModule
311 #    Module to load at agent startup. Modules are used to extend functionality of the agent.
312 #    Format: LoadModule=<module.so>
313 #    The modules must be located in directory specified by LoadModulePath.
314 #    It is allowed to include multiple LoadModule parameters.
315 #
316 # Mandatory: no
317 # Default:
318 # LoadModule=
319
320 ####### TLS-RELATED PARAMETERS #######
321
322 ### Option: TLSConnect
323 #    How the agent should connect to server or proxy. Used for active checks.
324 #    Only one value can be specified:
325 #        unencrypted - connect without encryption
326 #        psk         - connect using TLS and a pre-shared key
327 #        cert        - connect using TLS and a certificate
328 #
329 # Mandatory: yes, if TLS certificate or PSK parameters are defined (even for 'unencrypted' connection)
330 # Default:
331 # TLSConnect=unencrypted
332
333 ### Option: TLSAccept
334 #    What incoming connections to accept.
335 #    Multiple values can be specified, separated by comma:
336 #        unencrypted - accept connections without encryption
337 #        psk         - accept connections secured with TLS and a pre-shared key
338 #        cert        - accept connections secured with TLS and a certificate
339 #
340 # Mandatory: yes, if TLS certificate or PSK parameters are defined (even for 'unencrypted' connection)
341 # Default:
342 # TLSAccept=unencrypted
343
344 ### Option: TLSCAFile
345 #    Full pathname of a file containing the top-level CA(s) certificates for
346 #    peer certificate verification.
347 #
348 # Mandatory: no
349 # Default:
350 # TLSCAFile=
351
352 ### Option: TLSCRLFile
353 #    Full pathname of a file containing revoked certificates.
354 #
355 # Mandatory: no
356 # Default:
357 # TLSCRLFile=
358
359 ### Option: TLSServerCertIssuer
360 #      Allowed server certificate issuer.
361 #
362 # Mandatory: no
363 # Default:
364 # TLSServerCertIssuer=
365
366 ### Option: TLSServerCertSubject
367 #      Allowed server certificate subject.
368 #
369 # Mandatory: no
370 # Default:
371 # TLSServerCertSubject=
372
373 ### Option: TLSCertFile
374 #    Full pathname of a file containing the agent certificate or certificate chain.
375 #
376 # Mandatory: no
377 # Default:
378 # TLSCertFile=
379
380 ### Option: TLSKeyFile
381 #    Full pathname of a file containing the agent private key.
382 #
383 # Mandatory: no
384 # Default:
385 # TLSKeyFile=
386
387 ### Option: TLSPSKIdentity
388 #    Unique, case sensitive string used to identify the pre-shared key.
389 #
390 # Mandatory: no
391 # Default:
392 # TLSPSKIdentity=
393
394 ### Option: TLSPSKFile
395 #    Full pathname of a file containing the pre-shared key.
396 #
397 # Mandatory: no
398 # Default:
399 # TLSPSKFile=
400
401 #UserParameter=mysql.version,mysql -V
402 #UserParameter=mysql.status[*],/etc/zabbix/script/mysql/chk_mysql.sh $1
403 #UserParameter=mysql.ping,mysqladmin -u mysqlcheck -p123456 -P3306 -h127.0.0.1  ping | grep -c alive
复制代码

zabbix_java_gateway.conf

复制代码
 1 # This is a configuration file for Zabbix Java Gateway.
 2 # It is sourced by startup.sh and shutdown.sh scripts.
 3
 4 ### Option: zabbix.listenIP
 5 #    IP address to listen on.
 6 #
 7 # Mandatory: no
 8 # Default:
 9 # LISTEN_IP="0.0.0.0"
10 LISTEN_IP="0.0.0.0"
11
12 ### Option: zabbix.listenPort
13 #    Port to listen on.
14 #
15 # Mandatory: no
16 # Range: 1024-32767
17 # Default:
18 # LISTEN_PORT=10052
19 LISTEN_PORT=10052
20
21 ### Option: zabbix.pidFile
22 #    Name of PID file.
23 #    If omitted, Zabbix Java Gateway is started as a console application.
24 #
25 # Mandatory: no
26 # Default:
27 # PID_FILE=
28
29 PID_FILE="/var/run/zabbix/zabbix_java.pid"
30
31 ### Option: zabbix.startPollers
32 #    Number of worker threads to start.
33 #
34 # Mandatory: no
35 # Range: 1-1000
36 # Default:
37 # START_POLLERS=5
38 START_POLLERS=5
39
40 ### Option: zabbix.timeout
41 #    How long to wait for network operations.
42 #
43 # Mandatory: no
44 # Range: 1-30
45 # Default:
46 # TIMEOUT=3
47
48 TIMEOUT=3
复制代码

出现问题的最优解决方式是查看对应log

复制代码
 1 [root@localhost zabbix]# pwd
 2 /var/log/zabbix
 3 [root@localhost zabbix]# ll
 4 总用量 12900
 5 -rw-rw-r-- 1 zabbix zabbix   19611 8月   2 09:05 zabbix_agentd.log
 6 -rw-rw-r-- 1 zabbix zabbix    9317 7月  28 15:02 zabbix_agentd.log-20180729
 7 -rw-r--r-- 1 zabbix zabbix  971813 8月   2 13:03 zabbix_java_gateway.log
 8 -rw-r--r-- 1 zabbix zabbix 5258240 8月   2 08:14 zabbix_java_gateway.log.1
 9 -rw-r--r-- 1 zabbix zabbix 5298249 8月   2 01:12 zabbix_java_gateway.log.2
10 -rw-rw-r-- 1 zabbix zabbix  514920 8月   2 13:04 zabbix_server.log
11 -rw-rw-r-- 1 zabbix zabbix  125159 7月  29 02:32 zabbix_server.log-20180729
12 [root@localhost zabbix]#
复制代码

zabbix监控tomcat方法

  vim /bin/catalina.sh

  新增如下code

    export CATALINA_OPTS=”-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.port=12345 -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=10.0.20.211″

  另:如果需要启用JProfiler ,简单的方式是在后面追加-agentpath:/data/jprofiler10.1.2/bin/linux-x64/libjprofilerti.so=port=8849

    启用JProfiler之后,启动tomcat时,会先启动JProfiler监听的8849端口,此时使用JProfiler进行连接,才可正常启动tomcat.

  export CATALINA_OPTS=”-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.port=12345 -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=10.0.20.211 -agentpath:/data/jprofiler10.1.2/bin/linux-x64/libjprofilerti.so=port=8849″

  zabbix 监控模板tomcat-jvm 

复制代码
   1 <?xml version="1.0" encoding="UTF-8"?>
   2 <zabbix_export>
   3     <version>2.0</version>
   4     <date>2015-04-02T08:40:08Z</date>
   5     <groups>
   6         <group>
   7             <name>Templates</name>
   8         </group>
   9     </groups>
  10     <templates>
  11         <template>
  12             <template>JMX Templates</template>
  13             <name>JMX Templates</name>
  14             <groups>
  15                 <group>
  16                     <name>Templates</name>
  17                 </group>
  18             </groups>
  19             <applications>
  20                 <application>
  21                     <name>内存</name>
  22                 </application>
  23                 <application>
  24                     <name>内存池----堆</name>
  25                 </application>
  26                 <application>
  27                     <name>内存池-非堆</name>
  28                 </application>
  29                 <application>
  30                     <name>垃圾收集器</name>
  31                 </application>
  32                 <application>
  33                     <name>操作系统</name>
  34                 </application>
  35                 <application>
  36                     <name>类</name>
  37                 </application>
  38                 <application>
  39                     <name>线程</name>
  40                 </application>
  41                 <application>
  42                     <name>编辑</name>
  43                 </application>
  44                 <application>
  45                     <name>运行时间</name>
  46                 </application>
  47             </applications>
  48             <items>
  49                 <item>
  50                     <name>comp Accumulated time spent in compilation</name>
  51                     <type>16</type>
  52                     <snmp_community/>
  53                     <multiplier>1</multiplier>
  54                     <snmp_oid/>
  55                     <key>jmx["java.lang:type=Compilation",TotalCompilationTime]</key>
  56                     <delay>60</delay>
  57                     <history>7</history>
  58                     <trends>365</trends>
  59                     <status>0</status>
  60                     <value_type>0</value_type>
  61                     <allowed_hosts/>
  62                     <units>s</units>
  63                     <delta>0</delta>
  64                     <snmpv3_contextname/>
  65                     <snmpv3_securityname/>
  66                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
  67                     <snmpv3_authprotocol>0</snmpv3_authprotocol>
  68                     <snmpv3_authpassphrase/>
  69                     <snmpv3_privprotocol>0</snmpv3_privprotocol>
  70                     <snmpv3_privpassphrase/>
  71                     <formula>0.001</formula>
  72                     <delay_flex/>
  73                     <params/>
  74                     <ipmi_sensor/>
  75                     <data_type>0</data_type>
  76                     <authtype>0</authtype>
  77                     <username/>
  78                     <password/>
  79                     <publickey/>
  80                     <privatekey/>
  81                     <port/>
  82                     <description/>
  83                     <inventory_link>0</inventory_link>
  84                     <applications>
  85                         <application>
  86                             <name>编辑</name>
  87                         </application>
  88                     </applications>
  89                     <valuemap/>
  90                 </item>
  91                 <item>
  92                     <name>comp Name of the current JIT compiler</name>
  93                     <type>16</type>
  94                     <snmp_community/>
  95                     <multiplier>0</multiplier>
  96                     <snmp_oid/>
  97                     <key>jmx["java.lang:type=Compilation",Name]</key>
  98                     <delay>360</delay>
  99                     <history>7</history>
 100                     <trends>365</trends>
 101                     <status>0</status>
 102                     <value_type>1</value_type>
 103                     <allowed_hosts/>
 104                     <units/>
 105                     <delta>0</delta>
 106                     <snmpv3_contextname/>
 107                     <snmpv3_securityname/>
 108                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
 109                     <snmpv3_authprotocol>0</snmpv3_authprotocol>
 110                     <snmpv3_authpassphrase/>
 111                     <snmpv3_privprotocol>0</snmpv3_privprotocol>
 112                     <snmpv3_privpassphrase/>
 113                     <formula>1</formula>
 114                     <delay_flex/>
 115                     <params/>
 116                     <ipmi_sensor/>
 117                     <data_type>0</data_type>
 118                     <authtype>0</authtype>
 119                     <username/>
 120                     <password/>
 121                     <publickey/>
 122                     <privatekey/>
 123                     <port/>
 124                     <description/>
 125                     <inventory_link>0</inventory_link>
 126                     <applications>
 127                         <application>
 128                             <name>编辑</name>
 129                         </application>
 130                     </applications>
 131                     <valuemap/>
 132                 </item>
 133                 <item>
 134                     <name>GC回收时间: PS MarkSweep收集所用时间</name>
 135                     <type>16</type>
 136                     <snmp_community/>
 137                     <multiplier>1</multiplier>
 138                     <snmp_oid/>
 139                     <key>jmx["java.lang:type=GarbageCollector,name=PS MarkSweep",CollectionTime]</key>
 140                     <delay>60</delay>
 141                     <history>7</history>
 142                     <trends>365</trends>
 143                     <status>0</status>
 144                     <value_type>0</value_type>
 145                     <allowed_hosts/>
 146                     <units>s</units>
 147                     <delta>0</delta>
 148                     <snmpv3_contextname/>
 149                     <snmpv3_securityname/>
 150                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
 151                     <snmpv3_authprotocol>0</snmpv3_authprotocol>
 152                     <snmpv3_authpassphrase/>
 153                     <snmpv3_privprotocol>0</snmpv3_privprotocol>
 154                     <snmpv3_privpassphrase/>
 155                     <formula>0.001</formula>
 156                     <delay_flex/>
 157                     <params/>
 158                     <ipmi_sensor/>
 159                     <data_type>0</data_type>
 160                     <authtype>0</authtype>
 161                     <username/>
 162                     <password/>
 163                     <publickey/>
 164                     <privatekey/>
 165                     <port/>
 166                     <description/>
 167                     <inventory_link>0</inventory_link>
 168                     <applications>
 169                         <application>
 170                             <name>垃圾收集器</name>
 171                         </application>
 172                     </applications>
 173                     <valuemap/>
 174                 </item>
 175                 <item>
 176                     <name>GC回收时间: PS MarkSweep每秒收集数量</name>
 177                     <type>16</type>
 178                     <snmp_community/>
 179                     <multiplier>0</multiplier>
 180                     <snmp_oid/>
 181                     <key>jmx["java.lang:type=GarbageCollector,name=PS MarkSweep",CollectionCount]</key>
 182                     <delay>60</delay>
 183                     <history>7</history>
 184                     <trends>365</trends>
 185                     <status>0</status>
 186                     <value_type>0</value_type>
 187                     <allowed_hosts/>
 188                     <units/>
 189                     <delta>1</delta>
 190                     <snmpv3_contextname/>
 191                     <snmpv3_securityname/>
 192                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
 193                     <snmpv3_authprotocol>0</snmpv3_authprotocol>
 194                     <snmpv3_authpassphrase/>
 195                     <snmpv3_privprotocol>0</snmpv3_privprotocol>
 196                     <snmpv3_privpassphrase/>
 197                     <formula>1</formula>
 198                     <delay_flex/>
 199                     <params/>
 200                     <ipmi_sensor/>
 201                     <data_type>0</data_type>
 202                     <authtype>0</authtype>
 203                     <username/>
 204                     <password/>
 205                     <publickey/>
 206                     <privatekey/>
 207                     <port/>
 208                     <description/>
 209                     <inventory_link>0</inventory_link>
 210                     <applications>
 211                         <application>
 212                             <name>垃圾收集器</name>
 213                         </application>
 214                     </applications>
 215                     <valuemap/>
 216                 </item>
 217                 <item>
 218                     <name>GC回收时间: PS Scavenge收集所用时间</name>
 219                     <type>16</type>
 220                     <snmp_community/>
 221                     <multiplier>1</multiplier>
 222                     <snmp_oid/>
 223                     <key>jmx["java.lang:type=GarbageCollector,name=PS Scavenge",CollectionTime]</key>
 224                     <delay>60</delay>
 225                     <history>7</history>
 226                     <trends>365</trends>
 227                     <status>0</status>
 228                     <value_type>0</value_type>
 229                     <allowed_hosts/>
 230                     <units>s</units>
 231                     <delta>0</delta>
 232                     <snmpv3_contextname/>
 233                     <snmpv3_securityname/>
 234                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
 235                     <snmpv3_authprotocol>0</snmpv3_authprotocol>
 236                     <snmpv3_authpassphrase/>
 237                     <snmpv3_privprotocol>0</snmpv3_privprotocol>
 238                     <snmpv3_privpassphrase/>
 239                     <formula>0.001</formula>
 240                     <delay_flex/>
 241                     <params/>
 242                     <ipmi_sensor/>
 243                     <data_type>0</data_type>
 244                     <authtype>0</authtype>
 245                     <username/>
 246                     <password/>
 247                     <publickey/>
 248                     <privatekey/>
 249                     <port/>
 250                     <description/>
 251                     <inventory_link>0</inventory_link>
 252                     <applications>
 253                         <application>
 254                             <name>垃圾收集器</name>
 255                         </application>
 256                     </applications>
 257                     <valuemap/>
 258                 </item>
 259                 <item>
 260                     <name>GC回收时间: PS Scavenge每秒收集数量</name>
 261                     <type>16</type>
 262                     <snmp_community/>
 263                     <multiplier>0</multiplier>
 264                     <snmp_oid/>
 265                     <key>jmx["java.lang:type=GarbageCollector,name=PS Scavenge",CollectionCount]</key>
 266                     <delay>60</delay>
 267                     <history>7</history>
 268                     <trends>365</trends>
 269                     <status>0</status>
 270                     <value_type>0</value_type>
 271                     <allowed_hosts/>
 272                     <units/>
 273                     <delta>1</delta>
 274                     <snmpv3_contextname/>
 275                     <snmpv3_securityname/>
 276                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
 277                     <snmpv3_authprotocol>0</snmpv3_authprotocol>
 278                     <snmpv3_authpassphrase/>
 279                     <snmpv3_privprotocol>0</snmpv3_privprotocol>
 280                     <snmpv3_privpassphrase/>
 281                     <formula>1</formula>
 282                     <delay_flex/>
 283                     <params/>
 284                     <ipmi_sensor/>
 285                     <data_type>0</data_type>
 286                     <authtype>0</authtype>
 287                     <username/>
 288                     <password/>
 289                     <publickey/>
 290                     <privatekey/>
 291                     <port/>
 292                     <description/>
 293                     <inventory_link>0</inventory_link>
 294                     <applications>
 295                         <application>
 296                             <name>垃圾收集器</name>
 297                         </application>
 298                     </applications>
 299                     <valuemap/>
 300                 </item>
 301                 <item>
 302                     <name>JVM名称</name>
 303                     <type>16</type>
 304                     <snmp_community/>
 305                     <multiplier>0</multiplier>
 306                     <snmp_oid/>
 307                     <key>jmx["java.lang:type=Runtime",VmName]</key>
 308                     <delay>360</delay>
 309                     <history>7</history>
 310                     <trends>365</trends>
 311                     <status>0</status>
 312                     <value_type>1</value_type>
 313                     <allowed_hosts/>
 314                     <units/>
 315                     <delta>0</delta>
 316                     <snmpv3_contextname/>
 317                     <snmpv3_securityname/>
 318                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
 319                     <snmpv3_authprotocol>0</snmpv3_authprotocol>
 320                     <snmpv3_authpassphrase/>
 321                     <snmpv3_privprotocol>0</snmpv3_privprotocol>
 322                     <snmpv3_privpassphrase/>
 323                     <formula>1</formula>
 324                     <delay_flex/>
 325                     <params/>
 326                     <ipmi_sensor/>
 327                     <data_type>0</data_type>
 328                     <authtype>0</authtype>
 329                     <username/>
 330                     <password/>
 331                     <publickey/>
 332                     <privatekey/>
 333                     <port/>
 334                     <description/>
 335                     <inventory_link>0</inventory_link>
 336                     <applications>
 337                         <application>
 338                             <name>运行时间</name>
 339                         </application>
 340                     </applications>
 341                     <valuemap/>
 342                 </item>
 343                 <item>
 344                     <name>JVM启动时间</name>
 345                     <type>16</type>
 346                     <snmp_community/>
 347                     <multiplier>1</multiplier>
 348                     <snmp_oid/>
 349                     <key>jmx["java.lang:type=Runtime",Uptime]</key>
 350                     <delay>60</delay>
 351                     <history>7</history>
 352                     <trends>365</trends>
 353                     <status>0</status>
 354                     <value_type>3</value_type>
 355                     <allowed_hosts/>
 356                     <units>uptime</units>
 357                     <delta>0</delta>
 358                     <snmpv3_contextname/>
 359                     <snmpv3_securityname/>
 360                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
 361                     <snmpv3_authprotocol>0</snmpv3_authprotocol>
 362                     <snmpv3_authpassphrase/>
 363                     <snmpv3_privprotocol>0</snmpv3_privprotocol>
 364                     <snmpv3_privpassphrase/>
 365                     <formula>0.001</formula>
 366                     <delay_flex/>
 367                     <params/>
 368                     <ipmi_sensor/>
 369                     <data_type>0</data_type>
 370                     <authtype>0</authtype>
 371                     <username/>
 372                     <password/>
 373                     <publickey/>
 374                     <privatekey/>
 375                     <port/>
 376                     <description/>
 377                     <inventory_link>0</inventory_link>
 378                     <applications>
 379                         <application>
 380                             <name>运行时间</name>
 381                         </application>
 382                     </applications>
 383                     <valuemap/>
 384                 </item>
 385                 <item>
 386                     <name>JVM版本</name>
 387                     <type>16</type>
 388                     <snmp_community/>
 389                     <multiplier>0</multiplier>
 390                     <snmp_oid/>
 391                     <key>jmx["java.lang:type=Runtime",VmVersion]</key>
 392                     <delay>360</delay>
 393                     <history>7</history>
 394                     <trends>365</trends>
 395                     <status>0</status>
 396                     <value_type>1</value_type>
 397                     <allowed_hosts/>
 398                     <units/>
 399                     <delta>0</delta>
 400                     <snmpv3_contextname/>
 401                     <snmpv3_securityname/>
 402                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
 403                     <snmpv3_authprotocol>0</snmpv3_authprotocol>
 404                     <snmpv3_authpassphrase/>
 405                     <snmpv3_privprotocol>0</snmpv3_privprotocol>
 406                     <snmpv3_privpassphrase/>
 407                     <formula>1</formula>
 408                     <delay_flex/>
 409                     <params/>
 410                     <ipmi_sensor/>
 411                     <data_type>0</data_type>
 412                     <authtype>0</authtype>
 413                     <username/>
 414                     <password/>
 415                     <publickey/>
 416                     <privatekey/>
 417                     <port/>
 418                     <description/>
 419                     <inventory_link>0</inventory_link>
 420                     <applications>
 421                         <application>
 422                             <name>运行时间</name>
 423                         </application>
 424                     </applications>
 425                     <valuemap/>
 426                 </item>
 427                 <item>
 428                     <name>内存池中新生代(Eden Space)使用值--堆</name>
 429                     <type>16</type>
 430                     <snmp_community/>
 431                     <multiplier>0</multiplier>
 432                     <snmp_oid/>
 433                     <key>jmx["java.lang:type=MemoryPool,name=PS Eden Space",Usage.used]</key>
 434                     <delay>60</delay>
 435                     <history>90</history>
 436                     <trends>365</trends>
 437                     <status>0</status>
 438                     <value_type>3</value_type>
 439                     <allowed_hosts/>
 440                     <units>B</units>
 441                     <delta>0</delta>
 442                     <snmpv3_contextname/>
 443                     <snmpv3_securityname/>
 444                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
 445                     <snmpv3_authprotocol>0</snmpv3_authprotocol>
 446                     <snmpv3_authpassphrase/>
 447                     <snmpv3_privprotocol>0</snmpv3_privprotocol>
 448                     <snmpv3_privpassphrase/>
 449                     <formula>1</formula>
 450                     <delay_flex/>
 451                     <params/>
 452                     <ipmi_sensor/>
 453                     <data_type>0</data_type>
 454                     <authtype>0</authtype>
 455                     <username/>
 456                     <password/>
 457                     <publickey/>
 458                     <privatekey/>
 459                     <port/>
 460                     <description/>
 461                     <inventory_link>0</inventory_link>
 462                     <applications>
 463                         <application>
 464                             <name>内存池----堆</name>
 465                         </application>
 466                     </applications>
 467                     <valuemap/>
 468                 </item>
 469                 <item>
 470                     <name>内存池中新生代(Eden Space)提交值--堆</name>
 471                     <type>16</type>
 472                     <snmp_community/>
 473                     <multiplier>0</multiplier>
 474                     <snmp_oid/>
 475                     <key>jmx["java.lang:type=MemoryPool,name=PS Eden Space",Usage.committed]</key>
 476                     <delay>60</delay>
 477                     <history>90</history>
 478                     <trends>365</trends>
 479                     <status>0</status>
 480                     <value_type>3</value_type>
 481                     <allowed_hosts/>
 482                     <units>B</units>
 483                     <delta>0</delta>
 484                     <snmpv3_contextname/>
 485                     <snmpv3_securityname/>
 486                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
 487                     <snmpv3_authprotocol>0</snmpv3_authprotocol>
 488                     <snmpv3_authpassphrase/>
 489                     <snmpv3_privprotocol>0</snmpv3_privprotocol>
 490                     <snmpv3_privpassphrase/>
 491                     <formula>1</formula>
 492                     <delay_flex/>
 493                     <params/>
 494                     <ipmi_sensor/>
 495                     <data_type>0</data_type>
 496                     <authtype>0</authtype>
 497                     <username/>
 498                     <password/>
 499                     <publickey/>
 500                     <privatekey/>
 501                     <port/>
 502                     <description/>
 503                     <inventory_link>0</inventory_link>
 504                     <applications>
 505                         <application>
 506                             <name>内存池----堆</name>
 507                         </application>
 508                     </applications>
 509                     <valuemap/>
 510                 </item>
 511                 <item>
 512                     <name>内存池中新生代(Eden Space)最大值--堆</name>
 513                     <type>16</type>
 514                     <snmp_community/>
 515                     <multiplier>1</multiplier>
 516                     <snmp_oid/>
 517                     <key>jmx["java.lang:type=MemoryPool,name=PS Eden Space",Usage.max]</key>
 518                     <delay>30</delay>
 519                     <history>90</history>
 520                     <trends>365</trends>
 521                     <status>0</status>
 522                     <value_type>3</value_type>
 523                     <allowed_hosts/>
 524                     <units>B</units>
 525                     <delta>0</delta>
 526                     <snmpv3_contextname/>
 527                     <snmpv3_securityname/>
 528                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
 529                     <snmpv3_authprotocol>0</snmpv3_authprotocol>
 530                     <snmpv3_authpassphrase/>
 531                     <snmpv3_privprotocol>0</snmpv3_privprotocol>
 532                     <snmpv3_privpassphrase/>
 533                     <formula>1</formula>
 534                     <delay_flex/>
 535                     <params/>
 536                     <ipmi_sensor/>
 537                     <data_type>0</data_type>
 538                     <authtype>0</authtype>
 539                     <username/>
 540                     <password/>
 541                     <publickey/>
 542                     <privatekey/>
 543                     <port/>
 544                     <description/>
 545                     <inventory_link>0</inventory_link>
 546                     <applications>
 547                         <application>
 548                             <name>内存池----堆</name>
 549                         </application>
 550                     </applications>
 551                     <valuemap/>
 552                 </item>
 553                 <item>
 554                     <name>内存池中永久代(Perm Gen)使用值-非堆</name>
 555                     <type>16</type>
 556                     <snmp_community/>
 557                     <multiplier>0</multiplier>
 558                     <snmp_oid/>
 559                     <key>jmx["java.lang:type=MemoryPool,name=PS Perm Gen",Usage.used]</key>
 560                     <delay>60</delay>
 561                     <history>7</history>
 562                     <trends>365</trends>
 563                     <status>0</status>
 564                     <value_type>3</value_type>
 565                     <allowed_hosts/>
 566                     <units>B</units>
 567                     <delta>0</delta>
 568                     <snmpv3_contextname/>
 569                     <snmpv3_securityname/>
 570                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
 571                     <snmpv3_authprotocol>0</snmpv3_authprotocol>
 572                     <snmpv3_authpassphrase/>
 573                     <snmpv3_privprotocol>0</snmpv3_privprotocol>
 574                     <snmpv3_privpassphrase/>
 575                     <formula>1</formula>
 576                     <delay_flex/>
 577                     <params/>
 578                     <ipmi_sensor/>
 579                     <data_type>0</data_type>
 580                     <authtype>0</authtype>
 581                     <username/>
 582                     <password/>
 583                     <publickey/>
 584                     <privatekey/>
 585                     <port/>
 586                     <description/>
 587                     <inventory_link>0</inventory_link>
 588                     <applications>
 589                         <application>
 590                             <name>内存池-非堆</name>
 591                         </application>
 592                     </applications>
 593                     <valuemap/>
 594                 </item>
 595                 <item>
 596                     <name>内存池中永久代(Perm Gen)提交值-非堆</name>
 597                     <type>16</type>
 598                     <snmp_community/>
 599                     <multiplier>0</multiplier>
 600                     <snmp_oid/>
 601                     <key>jmx["java.lang:type=MemoryPool,name=PS Perm Gen",Usage.committed]</key>
 602                     <delay>60</delay>
 603                     <history>7</history>
 604                     <trends>365</trends>
 605                     <status>0</status>
 606                     <value_type>3</value_type>
 607                     <allowed_hosts/>
 608                     <units>B</units>
 609                     <delta>0</delta>
 610                     <snmpv3_contextname/>
 611                     <snmpv3_securityname/>
 612                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
 613                     <snmpv3_authprotocol>0</snmpv3_authprotocol>
 614                     <snmpv3_authpassphrase/>
 615                     <snmpv3_privprotocol>0</snmpv3_privprotocol>
 616                     <snmpv3_privpassphrase/>
 617                     <formula>1</formula>
 618                     <delay_flex/>
 619                     <params/>
 620                     <ipmi_sensor/>
 621                     <data_type>0</data_type>
 622                     <authtype>0</authtype>
 623                     <username/>
 624                     <password/>
 625                     <publickey/>
 626                     <privatekey/>
 627                     <port/>
 628                     <description/>
 629                     <inventory_link>0</inventory_link>
 630                     <applications>
 631                         <application>
 632                             <name>内存池-非堆</name>
 633                         </application>
 634                     </applications>
 635                     <valuemap/>
 636                 </item>
 637                 <item>
 638                     <name>内存池中永久代(Perm Gen)最大值-非堆</name>
 639                     <type>16</type>
 640                     <snmp_community/>
 641                     <multiplier>0</multiplier>
 642                     <snmp_oid/>
 643                     <key>jmx["java.lang:type=MemoryPool,name=PS Perm Gen",Usage.max]</key>
 644                     <delay>360</delay>
 645                     <history>7</history>
 646                     <trends>365</trends>
 647                     <status>0</status>
 648                     <value_type>3</value_type>
 649                     <allowed_hosts/>
 650                     <units>B</units>
 651                     <delta>0</delta>
 652                     <snmpv3_contextname/>
 653                     <snmpv3_securityname/>
 654                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
 655                     <snmpv3_authprotocol>0</snmpv3_authprotocol>
 656                     <snmpv3_authpassphrase/>
 657                     <snmpv3_privprotocol>0</snmpv3_privprotocol>
 658                     <snmpv3_privpassphrase/>
 659                     <formula>1</formula>
 660                     <delay_flex/>
 661                     <params/>
 662                     <ipmi_sensor/>
 663                     <data_type>0</data_type>
 664                     <authtype>0</authtype>
 665                     <username/>
 666                     <password/>
 667                     <publickey/>
 668                     <privatekey/>
 669                     <port/>
 670                     <description/>
 671                     <inventory_link>0</inventory_link>
 672                     <applications>
 673                         <application>
 674                             <name>内存池-非堆</name>
 675                         </application>
 676                     </applications>
 677                     <valuemap/>
 678                 </item>
 679                 <item>
 680                     <name>内存池中缓存点(Code Cache)使用值-非堆</name>
 681                     <type>16</type>
 682                     <snmp_community/>
 683                     <multiplier>0</multiplier>
 684                     <snmp_oid/>
 685                     <key>jmx["java.lang:type=MemoryPool,name=Code Cache",Usage.used]</key>
 686                     <delay>60</delay>
 687                     <history>7</history>
 688                     <trends>365</trends>
 689                     <status>0</status>
 690                     <value_type>3</value_type>
 691                     <allowed_hosts/>
 692                     <units>B</units>
 693                     <delta>0</delta>
 694                     <snmpv3_contextname/>
 695                     <snmpv3_securityname/>
 696                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
 697                     <snmpv3_authprotocol>0</snmpv3_authprotocol>
 698                     <snmpv3_authpassphrase/>
 699                     <snmpv3_privprotocol>0</snmpv3_privprotocol>
 700                     <snmpv3_privpassphrase/>
 701                     <formula>1</formula>
 702                     <delay_flex/>
 703                     <params/>
 704                     <ipmi_sensor/>
 705                     <data_type>0</data_type>
 706                     <authtype>0</authtype>
 707                     <username/>
 708                     <password/>
 709                     <publickey/>
 710                     <privatekey/>
 711                     <port/>
 712                     <description/>
 713                     <inventory_link>0</inventory_link>
 714                     <applications>
 715                         <application>
 716                             <name>内存池-非堆</name>
 717                         </application>
 718                     </applications>
 719                     <valuemap/>
 720                 </item>
 721                 <item>
 722                     <name>内存池中缓存点(Code Cache)提交值-非堆</name>
 723                     <type>16</type>
 724                     <snmp_community/>
 725                     <multiplier>0</multiplier>
 726                     <snmp_oid/>
 727                     <key>jmx["java.lang:type=MemoryPool,name=Code Cache",Usage.committed]</key>
 728                     <delay>60</delay>
 729                     <history>7</history>
 730                     <trends>365</trends>
 731                     <status>0</status>
 732                     <value_type>3</value_type>
 733                     <allowed_hosts/>
 734                     <units>B</units>
 735                     <delta>0</delta>
 736                     <snmpv3_contextname/>
 737                     <snmpv3_securityname/>
 738                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
 739                     <snmpv3_authprotocol>0</snmpv3_authprotocol>
 740                     <snmpv3_authpassphrase/>
 741                     <snmpv3_privprotocol>0</snmpv3_privprotocol>
 742                     <snmpv3_privpassphrase/>
 743                     <formula>1</formula>
 744                     <delay_flex/>
 745                     <params/>
 746                     <ipmi_sensor/>
 747                     <data_type>0</data_type>
 748                     <authtype>0</authtype>
 749                     <username/>
 750                     <password/>
 751                     <publickey/>
 752                     <privatekey/>
 753                     <port/>
 754                     <description/>
 755                     <inventory_link>0</inventory_link>
 756                     <applications>
 757                         <application>
 758                             <name>内存池-非堆</name>
 759                         </application>
 760                     </applications>
 761                     <valuemap/>
 762                 </item>
 763                 <item>
 764                     <name>内存池中缓存点(Code Cache)最大值-非堆</name>
 765                     <type>16</type>
 766                     <snmp_community/>
 767                     <multiplier>0</multiplier>
 768                     <snmp_oid/>
 769                     <key>jmx["java.lang:type=MemoryPool,name=Code Cache",Usage.max]</key>
 770                     <delay>360</delay>
 771                     <history>7</history>
 772                     <trends>365</trends>
 773                     <status>0</status>
 774                     <value_type>3</value_type>
 775                     <allowed_hosts/>
 776                     <units>B</units>
 777                     <delta>0</delta>
 778                     <snmpv3_contextname/>
 779                     <snmpv3_securityname/>
 780                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
 781                     <snmpv3_authprotocol>0</snmpv3_authprotocol>
 782                     <snmpv3_authpassphrase/>
 783                     <snmpv3_privprotocol>0</snmpv3_privprotocol>
 784                     <snmpv3_privpassphrase/>
 785                     <formula>1</formula>
 786                     <delay_flex/>
 787                     <params/>
 788                     <ipmi_sensor/>
 789                     <data_type>0</data_type>
 790                     <authtype>0</authtype>
 791                     <username/>
 792                     <password/>
 793                     <publickey/>
 794                     <privatekey/>
 795                     <port/>
 796                     <description/>
 797                     <inventory_link>0</inventory_link>
 798                     <applications>
 799                         <application>
 800                             <name>内存池-非堆</name>
 801                         </application>
 802                     </applications>
 803                     <valuemap/>
 804                 </item>
 805                 <item>
 806                     <name>内存池中老年代(Old Gen)使用值--堆</name>
 807                     <type>16</type>
 808                     <snmp_community/>
 809                     <multiplier>0</multiplier>
 810                     <snmp_oid/>
 811                     <key>jmx["java.lang:type=MemoryPool,name=PS Old Gen",Usage.used]</key>
 812                     <delay>60</delay>
 813                     <history>7</history>
 814                     <trends>365</trends>
 815                     <status>0</status>
 816                     <value_type>3</value_type>
 817                     <allowed_hosts/>
 818                     <units>B</units>
 819                     <delta>0</delta>
 820                     <snmpv3_contextname/>
 821                     <snmpv3_securityname/>
 822                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
 823                     <snmpv3_authprotocol>0</snmpv3_authprotocol>
 824                     <snmpv3_authpassphrase/>
 825                     <snmpv3_privprotocol>0</snmpv3_privprotocol>
 826                     <snmpv3_privpassphrase/>
 827                     <formula>1</formula>
 828                     <delay_flex/>
 829                     <params/>
 830                     <ipmi_sensor/>
 831                     <data_type>0</data_type>
 832                     <authtype>0</authtype>
 833                     <username/>
 834                     <password/>
 835                     <publickey/>
 836                     <privatekey/>
 837                     <port/>
 838                     <description/>
 839                     <inventory_link>0</inventory_link>
 840                     <applications>
 841                         <application>
 842                             <name>内存池----堆</name>
 843                         </application>
 844                     </applications>
 845                     <valuemap/>
 846                 </item>
 847                 <item>
 848                     <name>内存池中老年代(Old Gen)提交值--堆</name>
 849                     <type>16</type>
 850                     <snmp_community/>
 851                     <multiplier>0</multiplier>
 852                     <snmp_oid/>
 853                     <key>jmx["java.lang:type=MemoryPool,name=PS Old Gen",Usage.committed]</key>
 854                     <delay>60</delay>
 855                     <history>7</history>
 856                     <trends>365</trends>
 857                     <status>0</status>
 858                     <value_type>3</value_type>
 859                     <allowed_hosts/>
 860                     <units>B</units>
 861                     <delta>0</delta>
 862                     <snmpv3_contextname/>
 863                     <snmpv3_securityname/>
 864                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
 865                     <snmpv3_authprotocol>0</snmpv3_authprotocol>
 866                     <snmpv3_authpassphrase/>
 867                     <snmpv3_privprotocol>0</snmpv3_privprotocol>
 868                     <snmpv3_privpassphrase/>
 869                     <formula>1</formula>
 870                     <delay_flex/>
 871                     <params/>
 872                     <ipmi_sensor/>
 873                     <data_type>0</data_type>
 874                     <authtype>0</authtype>
 875                     <username/>
 876                     <password/>
 877                     <publickey/>
 878                     <privatekey/>
 879                     <port/>
 880                     <description/>
 881                     <inventory_link>0</inventory_link>
 882                     <applications>
 883                         <application>
 884                             <name>内存池----堆</name>
 885                         </application>
 886                     </applications>
 887                     <valuemap/>
 888                 </item>
 889                 <item>
 890                     <name>内存池中老年代(Old Gen)最大值--堆</name>
 891                     <type>16</type>
 892                     <snmp_community/>
 893                     <multiplier>0</multiplier>
 894                     <snmp_oid/>
 895                     <key>jmx["java.lang:type=MemoryPool,name=PS Old Gen",Usage.max]</key>
 896                     <delay>360</delay>
 897                     <history>7</history>
 898                     <trends>365</trends>
 899                     <status>0</status>
 900                     <value_type>3</value_type>
 901                     <allowed_hosts/>
 902                     <units>B</units>
 903                     <delta>0</delta>
 904                     <snmpv3_contextname/>
 905                     <snmpv3_securityname/>
 906                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
 907                     <snmpv3_authprotocol>0</snmpv3_authprotocol>
 908                     <snmpv3_authpassphrase/>
 909                     <snmpv3_privprotocol>0</snmpv3_privprotocol>
 910                     <snmpv3_privpassphrase/>
 911                     <formula>1</formula>
 912                     <delay_flex/>
 913                     <params/>
 914                     <ipmi_sensor/>
 915                     <data_type>0</data_type>
 916                     <authtype>0</authtype>
 917                     <username/>
 918                     <password/>
 919                     <publickey/>
 920                     <privatekey/>
 921                     <port/>
 922                     <description/>
 923                     <inventory_link>0</inventory_link>
 924                     <applications>
 925                         <application>
 926                             <name>内存池----堆</name>
 927                         </application>
 928                     </applications>
 929                     <valuemap/>
 930                 </item>
 931                 <item>
 932                     <name>启动的线程总数</name>
 933                     <type>16</type>
 934                     <snmp_community/>
 935                     <multiplier>0</multiplier>
 936                     <snmp_oid/>
 937                     <key>jmx["java.lang:type=Threading",TotalStartedThreadCount]</key>
 938                     <delay>60</delay>
 939                     <history>7</history>
 940                     <trends>365</trends>
 941                     <status>0</status>
 942                     <value_type>3</value_type>
 943                     <allowed_hosts/>
 944                     <units/>
 945                     <delta>0</delta>
 946                     <snmpv3_contextname/>
 947                     <snmpv3_securityname/>
 948                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
 949                     <snmpv3_authprotocol>0</snmpv3_authprotocol>
 950                     <snmpv3_authpassphrase/>
 951                     <snmpv3_privprotocol>0</snmpv3_privprotocol>
 952                     <snmpv3_privpassphrase/>
 953                     <formula>1</formula>
 954                     <delay_flex/>
 955                     <params/>
 956                     <ipmi_sensor/>
 957                     <data_type>0</data_type>
 958                     <authtype>0</authtype>
 959                     <username/>
 960                     <password/>
 961                     <publickey/>
 962                     <privatekey/>
 963                     <port/>
 964                     <description/>
 965                     <inventory_link>0</inventory_link>
 966                     <applications>
 967                         <application>
 968                             <name>线程</name>
 969                         </application>
 970                     </applications>
 971                     <valuemap/>
 972                 </item>
 973                 <item>
 974                     <name>堆内存使用值</name>
 975                     <type>16</type>
 976                     <snmp_community/>
 977                     <multiplier>0</multiplier>
 978                     <snmp_oid/>
 979                     <key>jmx["java.lang:type=Memory",HeapMemoryUsage.used]</key>
 980                     <delay>60</delay>
 981                     <history>7</history>
 982                     <trends>365</trends>
 983                     <status>0</status>
 984                     <value_type>3</value_type>
 985                     <allowed_hosts/>
 986                     <units>B</units>
 987                     <delta>0</delta>
 988                     <snmpv3_contextname/>
 989                     <snmpv3_securityname/>
 990                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
 991                     <snmpv3_authprotocol>0</snmpv3_authprotocol>
 992                     <snmpv3_authpassphrase/>
 993                     <snmpv3_privprotocol>0</snmpv3_privprotocol>
 994                     <snmpv3_privpassphrase/>
 995                     <formula>1</formula>
 996                     <delay_flex/>
 997                     <params/>
 998                     <ipmi_sensor/>
 999                     <data_type>0</data_type>
1000                     <authtype>0</authtype>
1001                     <username/>
1002                     <password/>
1003                     <publickey/>
1004                     <privatekey/>
1005                     <port/>
1006                     <description/>
1007                     <inventory_link>0</inventory_link>
1008                     <applications>
1009                         <application>
1010                             <name>内存</name>
1011                         </application>
1012                     </applications>
1013                     <valuemap/>
1014                 </item>
1015                 <item>
1016                     <name>堆内存提交值</name>
1017                     <type>16</type>
1018                     <snmp_community/>
1019                     <multiplier>0</multiplier>
1020                     <snmp_oid/>
1021                     <key>jmx["java.lang:type=Memory",HeapMemoryUsage.committed]</key>
1022                     <delay>60</delay>
1023                     <history>7</history>
1024                     <trends>365</trends>
1025                     <status>0</status>
1026                     <value_type>3</value_type>
1027                     <allowed_hosts/>
1028                     <units>B</units>
1029                     <delta>0</delta>
1030                     <snmpv3_contextname/>
1031                     <snmpv3_securityname/>
1032                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
1033                     <snmpv3_authprotocol>0</snmpv3_authprotocol>
1034                     <snmpv3_authpassphrase/>
1035                     <snmpv3_privprotocol>0</snmpv3_privprotocol>
1036                     <snmpv3_privpassphrase/>
1037                     <formula>1</formula>
1038                     <delay_flex/>
1039                     <params/>
1040                     <ipmi_sensor/>
1041                     <data_type>0</data_type>
1042                     <authtype>0</authtype>
1043                     <username/>
1044                     <password/>
1045                     <publickey/>
1046                     <privatekey/>
1047                     <port/>
1048                     <description/>
1049                     <inventory_link>0</inventory_link>
1050                     <applications>
1051                         <application>
1052                             <name>内存</name>
1053                         </application>
1054                     </applications>
1055                     <valuemap/>
1056                 </item>
1057                 <item>
1058                     <name>堆内存最大值</name>
1059                     <type>16</type>
1060                     <snmp_community/>
1061                     <multiplier>0</multiplier>
1062                     <snmp_oid/>
1063                     <key>jmx["java.lang:type=Memory",HeapMemoryUsage.max]</key>
1064                     <delay>360</delay>
1065                     <history>7</history>
1066                     <trends>365</trends>
1067                     <status>0</status>
1068                     <value_type>3</value_type>
1069                     <allowed_hosts/>
1070                     <units>B</units>
1071                     <delta>0</delta>
1072                     <snmpv3_contextname/>
1073                     <snmpv3_securityname/>
1074                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
1075                     <snmpv3_authprotocol>0</snmpv3_authprotocol>
1076                     <snmpv3_authpassphrase/>
1077                     <snmpv3_privprotocol>0</snmpv3_privprotocol>
1078                     <snmpv3_privpassphrase/>
1079                     <formula>1</formula>
1080                     <delay_flex/>
1081                     <params/>
1082                     <ipmi_sensor/>
1083                     <data_type>0</data_type>
1084                     <authtype>0</authtype>
1085                     <username/>
1086                     <password/>
1087                     <publickey/>
1088                     <privatekey/>
1089                     <port/>
1090                     <description/>
1091                     <inventory_link>0</inventory_link>
1092                     <applications>
1093                         <application>
1094                             <name>内存</name>
1095                         </application>
1096                     </applications>
1097                     <valuemap/>
1098                 </item>
1099                 <item>
1100                     <name>守护程序线程数</name>
1101                     <type>16</type>
1102                     <snmp_community/>
1103                     <multiplier>0</multiplier>
1104                     <snmp_oid/>
1105                     <key>jmx["java.lang:type=Threading",DaemonThreadCount]</key>
1106                     <delay>60</delay>
1107                     <history>7</history>
1108                     <trends>365</trends>
1109                     <status>0</status>
1110                     <value_type>3</value_type>
1111                     <allowed_hosts/>
1112                     <units/>
1113                     <delta>0</delta>
1114                     <snmpv3_contextname/>
1115                     <snmpv3_securityname/>
1116                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
1117                     <snmpv3_authprotocol>0</snmpv3_authprotocol>
1118                     <snmpv3_authpassphrase/>
1119                     <snmpv3_privprotocol>0</snmpv3_privprotocol>
1120                     <snmpv3_privpassphrase/>
1121                     <formula>1</formula>
1122                     <delay_flex/>
1123                     <params/>
1124                     <ipmi_sensor/>
1125                     <data_type>0</data_type>
1126                     <authtype>0</authtype>
1127                     <username/>
1128                     <password/>
1129                     <publickey/>
1130                     <privatekey/>
1131                     <port/>
1132                     <description/>
1133                     <inventory_link>0</inventory_link>
1134                     <applications>
1135                         <application>
1136                             <name>线程</name>
1137                         </application>
1138                     </applications>
1139                     <valuemap/>
1140                 </item>
1141                 <item>
1142                     <name>已加装当前类的数量</name>
1143                     <type>16</type>
1144                     <snmp_community/>
1145                     <multiplier>0</multiplier>
1146                     <snmp_oid/>
1147                     <key>jmx["java.lang:type=ClassLoading",LoadedClassCount]</key>
1148                     <delay>60</delay>
1149                     <history>7</history>
1150                     <trends>365</trends>
1151                     <status>0</status>
1152                     <value_type>3</value_type>
1153                     <allowed_hosts/>
1154                     <units/>
1155                     <delta>0</delta>
1156                     <snmpv3_contextname/>
1157                     <snmpv3_securityname/>
1158                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
1159                     <snmpv3_authprotocol>0</snmpv3_authprotocol>
1160                     <snmpv3_authpassphrase/>
1161                     <snmpv3_privprotocol>0</snmpv3_privprotocol>
1162                     <snmpv3_privpassphrase/>
1163                     <formula>1</formula>
1164                     <delay_flex/>
1165                     <params/>
1166                     <ipmi_sensor/>
1167                     <data_type>0</data_type>
1168                     <authtype>0</authtype>
1169                     <username/>
1170                     <password/>
1171                     <publickey/>
1172                     <privatekey/>
1173                     <port/>
1174                     <description/>
1175                     <inventory_link>0</inventory_link>
1176                     <applications>
1177                         <application>
1178                             <name>类</name>
1179                         </application>
1180                     </applications>
1181                     <valuemap/>
1182                 </item>
1183                 <item>
1184                     <name>已加载类总数</name>
1185                     <type>16</type>
1186                     <snmp_community/>
1187                     <multiplier>0</multiplier>
1188                     <snmp_oid/>
1189                     <key>jmx["java.lang:type=ClassLoading",TotalLoadedClassCount]</key>
1190                     <delay>60</delay>
1191                     <history>7</history>
1192                     <trends>365</trends>
1193                     <status>0</status>
1194                     <value_type>3</value_type>
1195                     <allowed_hosts/>
1196                     <units/>
1197                     <delta>0</delta>
1198                     <snmpv3_contextname/>
1199                     <snmpv3_securityname/>
1200                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
1201                     <snmpv3_authprotocol>0</snmpv3_authprotocol>
1202                     <snmpv3_authpassphrase/>
1203                     <snmpv3_privprotocol>0</snmpv3_privprotocol>
1204                     <snmpv3_privpassphrase/>
1205                     <formula>1</formula>
1206                     <delay_flex/>
1207                     <params/>
1208                     <ipmi_sensor/>
1209                     <data_type>0</data_type>
1210                     <authtype>0</authtype>
1211                     <username/>
1212                     <password/>
1213                     <publickey/>
1214                     <privatekey/>
1215                     <port/>
1216                     <description/>
1217                     <inventory_link>0</inventory_link>
1218                     <applications>
1219                         <application>
1220                             <name>类</name>
1221                         </application>
1222                     </applications>
1223                     <valuemap/>
1224                 </item>
1225                 <item>
1226                     <name>应用所占系统CPU的百分比</name>
1227                     <type>16</type>
1228                     <snmp_community/>
1229                     <multiplier>1</multiplier>
1230                     <snmp_oid/>
1231                     <key>jmx["java.lang:type=OperatingSystem",ProcessCpuLoad]</key>
1232                     <delay>60</delay>
1233                     <history>7</history>
1234                     <trends>365</trends>
1235                     <status>0</status>
1236                     <value_type>0</value_type>
1237                     <allowed_hosts/>
1238                     <units>%</units>
1239                     <delta>0</delta>
1240                     <snmpv3_contextname/>
1241                     <snmpv3_securityname/>
1242                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
1243                     <snmpv3_authprotocol>0</snmpv3_authprotocol>
1244                     <snmpv3_authpassphrase/>
1245                     <snmpv3_privprotocol>0</snmpv3_privprotocol>
1246                     <snmpv3_privpassphrase/>
1247                     <formula>100</formula>
1248                     <delay_flex/>
1249                     <params/>
1250                     <ipmi_sensor/>
1251                     <data_type>0</data_type>
1252                     <authtype>0</authtype>
1253                     <username/>
1254                     <password/>
1255                     <publickey/>
1256                     <privatekey/>
1257                     <port/>
1258                     <description/>
1259                     <inventory_link>0</inventory_link>
1260                     <applications>
1261                         <application>
1262                             <name>操作系统</name>
1263                         </application>
1264                     </applications>
1265                     <valuemap/>
1266                 </item>
1267                 <item>
1268                     <name>未加载类的数量</name>
1269                     <type>16</type>
1270                     <snmp_community/>
1271                     <multiplier>0</multiplier>
1272                     <snmp_oid/>
1273                     <key>jmx["java.lang:type=ClassLoading",UnloadedClassCount]</key>
1274                     <delay>60</delay>
1275                     <history>7</history>
1276                     <trends>365</trends>
1277                     <status>0</status>
1278                     <value_type>3</value_type>
1279                     <allowed_hosts/>
1280                     <units/>
1281                     <delta>0</delta>
1282                     <snmpv3_contextname/>
1283                     <snmpv3_securityname/>
1284                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
1285                     <snmpv3_authprotocol>0</snmpv3_authprotocol>
1286                     <snmpv3_authpassphrase/>
1287                     <snmpv3_privprotocol>0</snmpv3_privprotocol>
1288                     <snmpv3_privpassphrase/>
1289                     <formula>1</formula>
1290                     <delay_flex/>
1291                     <params/>
1292                     <ipmi_sensor/>
1293                     <data_type>0</data_type>
1294                     <authtype>0</authtype>
1295                     <username/>
1296                     <password/>
1297                     <publickey/>
1298                     <privatekey/>
1299                     <port/>
1300                     <description/>
1301                     <inventory_link>0</inventory_link>
1302                     <applications>
1303                         <application>
1304                             <name>类</name>
1305                         </application>
1306                     </applications>
1307                     <valuemap/>
1308                 </item>
1309                 <item>
1310                     <name>活动线程计数</name>
1311                     <type>16</type>
1312                     <snmp_community/>
1313                     <multiplier>0</multiplier>
1314                     <snmp_oid/>
1315                     <key>jmx["java.lang:type=Threading",ThreadCount]</key>
1316                     <delay>60</delay>
1317                     <history>7</history>
1318                     <trends>365</trends>
1319                     <status>0</status>
1320                     <value_type>3</value_type>
1321                     <allowed_hosts/>
1322                     <units/>
1323                     <delta>0</delta>
1324                     <snmpv3_contextname/>
1325                     <snmpv3_securityname/>
1326                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
1327                     <snmpv3_authprotocol>0</snmpv3_authprotocol>
1328                     <snmpv3_authpassphrase/>
1329                     <snmpv3_privprotocol>0</snmpv3_privprotocol>
1330                     <snmpv3_privpassphrase/>
1331                     <formula>1</formula>
1332                     <delay_flex/>
1333                     <params/>
1334                     <ipmi_sensor/>
1335                     <data_type>0</data_type>
1336                     <authtype>0</authtype>
1337                     <username/>
1338                     <password/>
1339                     <publickey/>
1340                     <privatekey/>
1341                     <port/>
1342                     <description/>
1343                     <inventory_link>0</inventory_link>
1344                     <applications>
1345                         <application>
1346                             <name>线程</name>
1347                         </application>
1348                     </applications>
1349                     <valuemap/>
1350                 </item>
1351                 <item>
1352                     <name>系统:可打开最大打开文件数</name>
1353                     <type>16</type>
1354                     <snmp_community/>
1355                     <multiplier>0</multiplier>
1356                     <snmp_oid/>
1357                     <key>jmx["java.lang:type=OperatingSystem",MaxFileDescriptorCount]</key>
1358                     <delay>360</delay>
1359                     <history>7</history>
1360                     <trends>365</trends>
1361                     <status>0</status>
1362                     <value_type>3</value_type>
1363                     <allowed_hosts/>
1364                     <units/>
1365                     <delta>0</delta>
1366                     <snmpv3_contextname/>
1367                     <snmpv3_securityname/>
1368                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
1369                     <snmpv3_authprotocol>0</snmpv3_authprotocol>
1370                     <snmpv3_authpassphrase/>
1371                     <snmpv3_privprotocol>0</snmpv3_privprotocol>
1372                     <snmpv3_privpassphrase/>
1373                     <formula>1</formula>
1374                     <delay_flex/>
1375                     <params/>
1376                     <ipmi_sensor/>
1377                     <data_type>0</data_type>
1378                     <authtype>0</authtype>
1379                     <username/>
1380                     <password/>
1381                     <publickey/>
1382                     <privatekey/>
1383                     <port/>
1384                     <description/>
1385                     <inventory_link>0</inventory_link>
1386                     <applications>
1387                         <application>
1388                             <name>操作系统</name>
1389                         </application>
1390                     </applications>
1391                     <valuemap/>
1392                 </item>
1393                 <item>
1394                     <name>系统:应用当前打开文件数</name>
1395                     <type>16</type>
1396                     <snmp_community/>
1397                     <multiplier>0</multiplier>
1398                     <snmp_oid/>
1399                     <key>jmx["java.lang:type=OperatingSystem",OpenFileDescriptorCount]</key>
1400                     <delay>60</delay>
1401                     <history>7</history>
1402                     <trends>365</trends>
1403                     <status>0</status>
1404                     <value_type>3</value_type>
1405                     <allowed_hosts/>
1406                     <units/>
1407                     <delta>0</delta>
1408                     <snmpv3_contextname/>
1409                     <snmpv3_securityname/>
1410                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
1411                     <snmpv3_authprotocol>0</snmpv3_authprotocol>
1412                     <snmpv3_authpassphrase/>
1413                     <snmpv3_privprotocol>0</snmpv3_privprotocol>
1414                     <snmpv3_privpassphrase/>
1415                     <formula>1</formula>
1416                     <delay_flex/>
1417                     <params/>
1418                     <ipmi_sensor/>
1419                     <data_type>0</data_type>
1420                     <authtype>0</authtype>
1421                     <username/>
1422                     <password/>
1423                     <publickey/>
1424                     <privatekey/>
1425                     <port/>
1426                     <description/>
1427                     <inventory_link>0</inventory_link>
1428                     <applications>
1429                         <application>
1430                             <name>操作系统</name>
1431                         </application>
1432                     </applications>
1433                     <valuemap/>
1434                 </item>
1435                 <item>
1436                     <name>线程峰值数</name>
1437                     <type>16</type>
1438                     <snmp_community/>
1439                     <multiplier>0</multiplier>
1440                     <snmp_oid/>
1441                     <key>jmx["java.lang:type=Threading",PeakThreadCount]</key>
1442                     <delay>60</delay>
1443                     <history>7</history>
1444                     <trends>365</trends>
1445                     <status>0</status>
1446                     <value_type>3</value_type>
1447                     <allowed_hosts/>
1448                     <units/>
1449                     <delta>0</delta>
1450                     <snmpv3_contextname/>
1451                     <snmpv3_securityname/>
1452                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
1453                     <snmpv3_authprotocol>0</snmpv3_authprotocol>
1454                     <snmpv3_authpassphrase/>
1455                     <snmpv3_privprotocol>0</snmpv3_privprotocol>
1456                     <snmpv3_privpassphrase/>
1457                     <formula>1</formula>
1458                     <delay_flex/>
1459                     <params/>
1460                     <ipmi_sensor/>
1461                     <data_type>0</data_type>
1462                     <authtype>0</authtype>
1463                     <username/>
1464                     <password/>
1465                     <publickey/>
1466                     <privatekey/>
1467                     <port/>
1468                     <description/>
1469                     <inventory_link>0</inventory_link>
1470                     <applications>
1471                         <application>
1472                             <name>线程</name>
1473                         </application>
1474                     </applications>
1475                     <valuemap/>
1476                 </item>
1477                 <item>
1478                     <name>被挂起的对象的计数</name>
1479                     <type>16</type>
1480                     <snmp_community/>
1481                     <multiplier>0</multiplier>
1482                     <snmp_oid/>
1483                     <key>jmx["java.lang:type=Memory",ObjectPendingFinalizationCount]</key>
1484                     <delay>60</delay>
1485                     <history>7</history>
1486                     <trends>365</trends>
1487                     <status>0</status>
1488                     <value_type>3</value_type>
1489                     <allowed_hosts/>
1490                     <units/>
1491                     <delta>0</delta>
1492                     <snmpv3_contextname/>
1493                     <snmpv3_securityname/>
1494                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
1495                     <snmpv3_authprotocol>0</snmpv3_authprotocol>
1496                     <snmpv3_authpassphrase/>
1497                     <snmpv3_privprotocol>0</snmpv3_privprotocol>
1498                     <snmpv3_privpassphrase/>
1499                     <formula>1</formula>
1500                     <delay_flex/>
1501                     <params/>
1502                     <ipmi_sensor/>
1503                     <data_type>0</data_type>
1504                     <authtype>0</authtype>
1505                     <username/>
1506                     <password/>
1507                     <publickey/>
1508                     <privatekey/>
1509                     <port/>
1510                     <description/>
1511                     <inventory_link>0</inventory_link>
1512                     <applications>
1513                         <application>
1514                             <name>内存</name>
1515                         </application>
1516                     </applications>
1517                     <valuemap/>
1518                 </item>
1519                 <item>
1520                     <name>非堆内存使用值</name>
1521                     <type>16</type>
1522                     <snmp_community/>
1523                     <multiplier>0</multiplier>
1524                     <snmp_oid/>
1525                     <key>jmx["java.lang:type=Memory",NonHeapMemoryUsage.used]</key>
1526                     <delay>60</delay>
1527                     <history>7</history>
1528                     <trends>365</trends>
1529                     <status>0</status>
1530                     <value_type>3</value_type>
1531                     <allowed_hosts/>
1532                     <units>B</units>
1533                     <delta>0</delta>
1534                     <snmpv3_contextname/>
1535                     <snmpv3_securityname/>
1536                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
1537                     <snmpv3_authprotocol>0</snmpv3_authprotocol>
1538                     <snmpv3_authpassphrase/>
1539                     <snmpv3_privprotocol>0</snmpv3_privprotocol>
1540                     <snmpv3_privpassphrase/>
1541                     <formula>1</formula>
1542                     <delay_flex/>
1543                     <params/>
1544                     <ipmi_sensor/>
1545                     <data_type>0</data_type>
1546                     <authtype>0</authtype>
1547                     <username/>
1548                     <password/>
1549                     <publickey/>
1550                     <privatekey/>
1551                     <port/>
1552                     <description/>
1553                     <inventory_link>0</inventory_link>
1554                     <applications>
1555                         <application>
1556                             <name>内存</name>
1557                         </application>
1558                     </applications>
1559                     <valuemap/>
1560                 </item>
1561                 <item>
1562                     <name>非堆内存提交值</name>
1563                     <type>16</type>
1564                     <snmp_community/>
1565                     <multiplier>0</multiplier>
1566                     <snmp_oid/>
1567                     <key>jmx["java.lang:type=Memory",NonHeapMemoryUsage.committed]</key>
1568                     <delay>60</delay>
1569                     <history>7</history>
1570                     <trends>365</trends>
1571                     <status>0</status>
1572                     <value_type>3</value_type>
1573                     <allowed_hosts/>
1574                     <units>B</units>
1575                     <delta>0</delta>
1576                     <snmpv3_contextname/>
1577                     <snmpv3_securityname/>
1578                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
1579                     <snmpv3_authprotocol>0</snmpv3_authprotocol>
1580                     <snmpv3_authpassphrase/>
1581                     <snmpv3_privprotocol>0</snmpv3_privprotocol>
1582                     <snmpv3_privpassphrase/>
1583                     <formula>1</formula>
1584                     <delay_flex/>
1585                     <params/>
1586                     <ipmi_sensor/>
1587                     <data_type>0</data_type>
1588                     <authtype>0</authtype>
1589                     <username/>
1590                     <password/>
1591                     <publickey/>
1592                     <privatekey/>
1593                     <port/>
1594                     <description/>
1595                     <inventory_link>0</inventory_link>
1596                     <applications>
1597                         <application>
1598                             <name>内存</name>
1599                         </application>
1600                     </applications>
1601                     <valuemap/>
1602                 </item>
1603                 <item>
1604                     <name>非堆内存最大值</name>
1605                     <type>16</type>
1606                     <snmp_community/>
1607                     <multiplier>0</multiplier>
1608                     <snmp_oid/>
1609                     <key>jmx["java.lang:type=Memory",NonHeapMemoryUsage.max]</key>
1610                     <delay>360</delay>
1611                     <history>7</history>
1612                     <trends>365</trends>
1613                     <status>0</status>
1614                     <value_type>3</value_type>
1615                     <allowed_hosts/>
1616                     <units>B</units>
1617                     <delta>0</delta>
1618                     <snmpv3_contextname/>
1619                     <snmpv3_securityname/>
1620                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
1621                     <snmpv3_authprotocol>0</snmpv3_authprotocol>
1622                     <snmpv3_authpassphrase/>
1623                     <snmpv3_privprotocol>0</snmpv3_privprotocol>
1624                     <snmpv3_privpassphrase/>
1625                     <formula>1</formula>
1626                     <delay_flex/>
1627                     <params/>
1628                     <ipmi_sensor/>
1629                     <data_type>0</data_type>
1630                     <authtype>0</authtype>
1631                     <username/>
1632                     <password/>
1633                     <publickey/>
1634                     <privatekey/>
1635                     <port/>
1636                     <description/>
1637                     <inventory_link>0</inventory_link>
1638                     <applications>
1639                         <application>
1640                             <name>内存</name>
1641                         </application>
1642                     </applications>
1643                     <valuemap/>
1644                 </item>
1645             </items>
1646             <discovery_rules/>
1647             <macros/>
1648             <templates/>
1649             <screens/>
1650         </template>
1651     </templates>
1652     <triggers>
1653         <trigger>
1654             <expression>{JMX Templates:jmx["java.lang:type=Runtime",VmName].str(Server)}#1</expression>
1655             <name>{HOST.NAME} runs suboptimal VM type</name>
1656             <url/>
1657             <status>0</status>
1658             <priority>1</priority>
1659             <description/>
1660             <type>0</type>
1661             <dependencies/>
1662         </trigger>
1663         <trigger>
1664             <expression>{JMX Templates:jmx["java.lang:type=GarbageCollector,name=PS Scavenge",CollectionCount].last(0)}<{JMX Templates:jmx["java.lang:type=GarbageCollector,name=PS MarkSweep",CollectionCount].last(0)}</expression>
1665             <name>{HOST.NAME} Scavenge回收时间超过MarkSweep.</name>
1666             <url/>
1667             <status>0</status>
1668             <priority>3</priority>
1669             <description/>
1670             <type>0</type>
1671             <dependencies/>
1672         </trigger>
1673         <trigger>
1674             <expression>{JMX Templates:jmx["java.lang:type=Compilation",Name].str(Client)}=1</expression>
1675             <name>{HOST.NAME} uses suboptimal JIT compiler</name>
1676             <url/>
1677             <status>0</status>
1678             <priority>1</priority>
1679             <description/>
1680             <type>0</type>
1681             <dependencies/>
1682         </trigger>
1683         <trigger>
1684             <expression>{JMX Templates:jmx["java.lang:type=Runtime",Uptime].nodata(1m)}=1</expression>
1685             <name>{HOST.NAME} 不可达.</name>
1686             <url/>
1687             <status>0</status>
1688             <priority>3</priority>
1689             <description/>
1690             <type>0</type>
1691             <dependencies/>
1692         </trigger>
1693         <trigger>
1694             <expression>{JMX Templates:jmx["java.lang:type=MemoryPool,name=PS Perm Gen",Usage.committed].last(0)}={JMX Templates:jmx["java.lang:type=MemoryPool,name=PS Perm Gen",Usage.max].last(0)}</expression>
1695             <name>{HOST.NAME} 内存池中永久代(Perm Gen)提交值已达到最大限制.</name>
1696             <url/>
1697             <status>0</status>
1698             <priority>2</priority>
1699             <description/>
1700             <type>0</type>
1701             <dependencies/>
1702         </trigger>
1703         <trigger>
1704             <expression>{JMX Templates:jmx["java.lang:type=MemoryPool,name=Code Cache",Usage.used].last(0)}>({JMX Templates:jmx["java.lang:type=MemoryPool,name=Code Cache",Usage.max].last(0)}*0.7)</expression>
1705             <name>{HOST.NAME} 内存池中缓存节点(Code Cache)使用率超过70%</name>
1706             <url/>
1707             <status>0</status>
1708             <priority>3</priority>
1709             <description/>
1710             <type>0</type>
1711             <dependencies/>
1712         </trigger>
1713         <trigger>
1714             <expression>{JMX Templates:jmx["java.lang:type=MemoryPool,name=Code Cache",Usage.committed].last(0)}={JMX Templates:jmx["java.lang:type=MemoryPool,name=Code Cache",Usage.max].last(0)}</expression>
1715             <name>{HOST.NAME} 内存池中缓存节点(Code Cache)提交值达到最大限制.</name>
1716             <url/>
1717             <status>0</status>
1718             <priority>2</priority>
1719             <description/>
1720             <type>0</type>
1721             <dependencies/>
1722         </trigger>
1723         <trigger>
1724             <expression>{JMX Templates:jmx["java.lang:type=MemoryPool,name=PS Old Gen",Usage.used].last(0)}>({JMX Templates:jmx["java.lang:type=MemoryPool,name=PS Old Gen",Usage.max].last(0)}*0.7)</expression>
1725             <name>{HOST.NAME} 内存池中老生代(PS Old Gen)使用率超过70%.</name>
1726             <url/>
1727             <status>0</status>
1728             <priority>3</priority>
1729             <description/>
1730             <type>0</type>
1731             <dependencies/>
1732         </trigger>
1733         <trigger>
1734             <expression>{JMX Templates:jmx["java.lang:type=MemoryPool,name=PS Old Gen",Usage.committed].last(0)}={JMX Templates:jmx["java.lang:type=MemoryPool,name=PS Old Gen",Usage.max].last(0)}</expression>
1735             <name>{HOST.NAME} 内存池中老生代(PS Old Gen)提交值已达到最大限制.</name>
1736             <url/>
1737             <status>0</status>
1738             <priority>2</priority>
1739             <description/>
1740             <type>0</type>
1741             <dependencies/>
1742         </trigger>
1743         <trigger>
1744             <expression>{JMX Templates:jmx["java.lang:type=MemoryPool,name=PS Perm Gen",Usage.used].last(0)}>({JMX Templates:jmx["java.lang:type=MemoryPool,name=PS Perm Gen",Usage.max].last(0)}*0.7)</expression>
1745             <name>{HOST.NAME} 内存池永久代(PS Perm Gen)使用率超过70%.</name>
1746             <url/>
1747             <status>0</status>
1748             <priority>3</priority>
1749             <description/>
1750             <type>0</type>
1751             <dependencies/>
1752         </trigger>
1753         <trigger>
1754             <expression>{JMX Templates:jmx["java.lang:type=Memory",HeapMemoryUsage.used].last(0)}>({JMX Templates:jmx["java.lang:type=Memory",HeapMemoryUsage.max].last(0)}*0.7)</expression>
1755             <name>{HOST.NAME} 堆内存使用率超过70%</name>
1756             <url/>
1757             <status>0</status>
1758             <priority>3</priority>
1759             <description/>
1760             <type>0</type>
1761             <dependencies/>
1762         </trigger>
1763         <trigger>
1764             <expression>{JMX Templates:jmx["java.lang:type=Memory",HeapMemoryUsage.committed].last(0)}={JMX Templates:jmx["java.lang:type=Memory",HeapMemoryUsage.max].last(0)}</expression>
1765             <name>{HOST.NAME} 堆内存提交值达到最大限制.</name>
1766             <url/>
1767             <status>0</status>
1768             <priority>2</priority>
1769             <description/>
1770             <type>0</type>
1771             <dependencies/>
1772         </trigger>
1773         <trigger>
1774             <expression>{JMX Templates:jmx["java.lang:type=OperatingSystem",ProcessCpuLoad].last(0)}>50</expression>
1775             <name>{HOST.NAME} 当前应用使用率超过系统CPU的50%</name>
1776             <url/>
1777             <status>0</status>
1778             <priority>2</priority>
1779             <description/>
1780             <type>0</type>
1781             <dependencies/>
1782         </trigger>
1783         <trigger>
1784             <expression>{JMX Templates:jmx["java.lang:type=OperatingSystem",OpenFileDescriptorCount].last(0)}>({JMX Templates:jmx["java.lang:type=OperatingSystem",MaxFileDescriptorCount].last(0)}*0.5)</expression>
1785             <name>{HOST.NAME} 当前应用打开文件数已占用系统最大50%</name>
1786             <url/>
1787             <status>0</status>
1788             <priority>3</priority>
1789             <description/>
1790             <type>0</type>
1791             <dependencies/>
1792         </trigger>
1793         <trigger>
1794             <expression>{JMX Templates:jmx["java.lang:type=Memory",NonHeapMemoryUsage.committed].last(0)}={JMX Templates:jmx["java.lang:type=Memory",NonHeapMemoryUsage.max].last(0)}</expression>
1795             <name>{HOST.NAME} 非堆内存提交值达到最大限制.</name>
1796             <url/>
1797             <status>0</status>
1798             <priority>2</priority>
1799             <description/>
1800             <type>0</type>
1801             <dependencies/>
1802         </trigger>
1803         <trigger>
1804             <expression>{JMX Templates:jmx["java.lang:type=Memory",NonHeapMemoryUsage.used].last(0)}>({JMX Templates:jmx["java.lang:type=Memory",NonHeapMemoryUsage.max].last(0)}*0.7)</expression>
1805             <name>{HOST.NAME} 非堆内存池使用率超过70%</name>
1806             <url/>
1807             <status>0</status>
1808             <priority>3</priority>
1809             <description/>
1810             <type>0</type>
1811             <dependencies/>
1812         </trigger>
1813     </triggers>
1814     <graphs>
1815         <graph>
1816             <name>JVM垃圾回收时间详情</name>
1817             <width>900</width>
1818             <height>200</height>
1819             <yaxismin>0.0000</yaxismin>
1820             <yaxismax>100.0000</yaxismax>
1821             <show_work_period>1</show_work_period>
1822             <show_triggers>1</show_triggers>
1823             <type>0</type>
1824             <show_legend>1</show_legend>
1825             <show_3d>0</show_3d>
1826             <percent_left>0.0000</percent_left>
1827             <percent_right>0.0000</percent_right>
1828             <ymin_type_1>0</ymin_type_1>
1829             <ymax_type_1>0</ymax_type_1>
1830             <ymin_item_1>0</ymin_item_1>
1831             <ymax_item_1>0</ymax_item_1>
1832             <graph_items>
1833                 <graph_item>
1834                     <sortorder>0</sortorder>
1835                     <drawtype>0</drawtype>
1836                     <color>C80000</color>
1837                     <yaxisside>0</yaxisside>
1838                     <calc_fnc>2</calc_fnc>
1839                     <type>0</type>
1840                     <item>
1841                         <host>JMX Templates</host>
1842                         <key>jmx["java.lang:type=GarbageCollector,name=PS Scavenge",CollectionCount]</key>
1843                     </item>
1844                 </graph_item>
1845                 <graph_item>
1846                     <sortorder>1</sortorder>
1847                     <drawtype>0</drawtype>
1848                     <color>00C8C9</color>
1849                     <yaxisside>0</yaxisside>
1850                     <calc_fnc>2</calc_fnc>
1851                     <type>0</type>
1852                     <item>
1853                         <host>JMX Templates</host>
1854                         <key>jmx["java.lang:type=GarbageCollector,name=PS MarkSweep",CollectionCount]</key>
1855                     </item>
1856                 </graph_item>
1857                 <graph_item>
1858                     <sortorder>2</sortorder>
1859                     <drawtype>0</drawtype>
1860                     <color>0000C8</color>
1861                     <yaxisside>0</yaxisside>
1862                     <calc_fnc>2</calc_fnc>
1863                     <type>0</type>
1864                     <item>
1865                         <host>JMX Templates</host>
1866                         <key>jmx["java.lang:type=GarbageCollector,name=PS MarkSweep",CollectionTime]</key>
1867                     </item>
1868                 </graph_item>
1869                 <graph_item>
1870                     <sortorder>3</sortorder>
1871                     <drawtype>0</drawtype>
1872                     <color>C800C8</color>
1873                     <yaxisside>0</yaxisside>
1874                     <calc_fnc>2</calc_fnc>
1875                     <type>0</type>
1876                     <item>
1877                         <host>JMX Templates</host>
1878                         <key>jmx["java.lang:type=GarbageCollector,name=PS Scavenge",CollectionTime]</key>
1879                     </item>
1880                 </graph_item>
1881             </graph_items>
1882         </graph>
1883         <graph>
1884             <name>JVM堆内存使用情况</name>
1885             <width>900</width>
1886             <height>200</height>
1887             <yaxismin>0.0000</yaxismin>
1888             <yaxismax>100.0000</yaxismax>
1889             <show_work_period>1</show_work_period>
1890             <show_triggers>1</show_triggers>
1891             <type>0</type>
1892             <show_legend>1</show_legend>
1893             <show_3d>0</show_3d>
1894             <percent_left>0.0000</percent_left>
1895             <percent_right>0.0000</percent_right>
1896             <ymin_type_1>0</ymin_type_1>
1897             <ymax_type_1>0</ymax_type_1>
1898             <ymin_item_1>0</ymin_item_1>
1899             <ymax_item_1>0</ymax_item_1>
1900             <graph_items>
1901                 <graph_item>
1902                     <sortorder>0</sortorder>
1903                     <drawtype>0</drawtype>
1904                     <color>EE0000</color>
1905                     <yaxisside>0</yaxisside>
1906                     <calc_fnc>2</calc_fnc>
1907                     <type>0</type>
1908                     <item>
1909                         <host>JMX Templates</host>
1910                         <key>jmx["java.lang:type=Memory",HeapMemoryUsage.max]</key>
1911                     </item>
1912                 </graph_item>
1913                 <graph_item>
1914                     <sortorder>1</sortorder>
1915                     <drawtype>0</drawtype>
1916                     <color>0000DD</color>
1917                     <yaxisside>0</yaxisside>
1918                     <calc_fnc>2</calc_fnc>
1919                     <type>0</type>
1920                     <item>
1921                         <host>JMX Templates</host>
1922                         <key>jmx["java.lang:type=Memory",HeapMemoryUsage.committed]</key>
1923                     </item>
1924                 </graph_item>
1925                 <graph_item>
1926                     <sortorder>2</sortorder>
1927                     <drawtype>0</drawtype>
1928                     <color>00CC00</color>
1929                     <yaxisside>0</yaxisside>
1930                     <calc_fnc>2</calc_fnc>
1931                     <type>0</type>
1932                     <item>
1933                         <host>JMX Templates</host>
1934                         <key>jmx["java.lang:type=Memory",HeapMemoryUsage.used]</key>
1935                     </item>
1936                 </graph_item>
1937             </graph_items>
1938         </graph>
1939         <graph>
1940             <name>JVM的线程</name>
1941             <width>900</width>
1942             <height>200</height>
1943             <yaxismin>0.0000</yaxismin>
1944             <yaxismax>100.0000</yaxismax>
1945             <show_work_period>1</show_work_period>
1946             <show_triggers>1</show_triggers>
1947             <type>0</type>
1948             <show_legend>1</show_legend>
1949             <show_3d>0</show_3d>
1950             <percent_left>0.0000</percent_left>
1951             <percent_right>0.0000</percent_right>
1952             <ymin_type_1>0</ymin_type_1>
1953             <ymax_type_1>0</ymax_type_1>
1954             <ymin_item_1>0</ymin_item_1>
1955             <ymax_item_1>0</ymax_item_1>
1956             <graph_items>
1957                 <graph_item>
1958                     <sortorder>0</sortorder>
1959                     <drawtype>0</drawtype>
1960                     <color>C80000</color>
1961                     <yaxisside>0</yaxisside>
1962                     <calc_fnc>2</calc_fnc>
1963                     <type>0</type>
1964                     <item>
1965                         <host>JMX Templates</host>
1966                         <key>jmx["java.lang:type=Threading",PeakThreadCount]</key>
1967                     </item>
1968                 </graph_item>
1969                 <graph_item>
1970                     <sortorder>1</sortorder>
1971                     <drawtype>0</drawtype>
1972                     <color>00C800</color>
1973                     <yaxisside>0</yaxisside>
1974                     <calc_fnc>2</calc_fnc>
1975                     <type>0</type>
1976                     <item>
1977                         <host>JMX Templates</host>
1978                         <key>jmx["java.lang:type=Threading",DaemonThreadCount]</key>
1979                     </item>
1980                 </graph_item>
1981                 <graph_item>
1982                     <sortorder>2</sortorder>
1983                     <drawtype>0</drawtype>
1984                     <color>0000C8</color>
1985                     <yaxisside>0</yaxisside>
1986                     <calc_fnc>2</calc_fnc>
1987                     <type>0</type>
1988                     <item>
1989                         <host>JMX Templates</host>
1990                         <key>jmx["java.lang:type=Threading",ThreadCount]</key>
1991                     </item>
1992                 </graph_item>
1993                 <graph_item>
1994                     <sortorder>3</sortorder>
1995                     <drawtype>0</drawtype>
1996                     <color>C800C8</color>
1997                     <yaxisside>0</yaxisside>
1998                     <calc_fnc>2</calc_fnc>
1999                     <type>0</type>
2000                     <item>
2001                         <host>JMX Templates</host>
2002                         <key>jmx["java.lang:type=Threading",TotalStartedThreadCount]</key>
2003                     </item>
2004                 </graph_item>
2005             </graph_items>
2006         </graph>
2007         <graph>
2008             <name>JVM非堆内存使用情况</name>
2009             <width>900</width>
2010             <height>200</height>
2011             <yaxismin>0.0000</yaxismin>
2012             <yaxismax>100.0000</yaxismax>
2013             <show_work_period>1</show_work_period>
2014             <show_triggers>1</show_triggers>
2015             <type>0</type>
2016             <show_legend>1</show_legend>
2017             <show_3d>0</show_3d>
2018             <percent_left>0.0000</percent_left>
2019             <percent_right>0.0000</percent_right>
2020             <ymin_type_1>0</ymin_type_1>
2021             <ymax_type_1>0</ymax_type_1>
2022             <ymin_item_1>0</ymin_item_1>
2023             <ymax_item_1>0</ymax_item_1>
2024             <graph_items>
2025                 <graph_item>
2026                     <sortorder>0</sortorder>
2027                     <drawtype>0</drawtype>
2028                     <color>C80000</color>
2029                     <yaxisside>0</yaxisside>
2030                     <calc_fnc>2</calc_fnc>
2031                     <type>0</type>
2032                     <item>
2033                         <host>JMX Templates</host>
2034                         <key>jmx["java.lang:type=Memory",NonHeapMemoryUsage.max]</key>
2035                     </item>
2036                 </graph_item>
2037                 <graph_item>
2038                     <sortorder>1</sortorder>
2039                     <drawtype>0</drawtype>
2040                     <color>00C800</color>
2041                     <yaxisside>0</yaxisside>
2042                     <calc_fnc>2</calc_fnc>
2043                     <type>0</type>
2044                     <item>
2045                         <host>JMX Templates</host>
2046                         <key>jmx["java.lang:type=Memory",NonHeapMemoryUsage.committed]</key>
2047                     </item>
2048                 </graph_item>
2049                 <graph_item>
2050                     <sortorder>2</sortorder>
2051                     <drawtype>0</drawtype>
2052                     <color>0000C8</color>
2053                     <yaxisside>0</yaxisside>
2054                     <calc_fnc>2</calc_fnc>
2055                     <type>0</type>
2056                     <item>
2057                         <host>JMX Templates</host>
2058                         <key>jmx["java.lang:type=Memory",NonHeapMemoryUsage.used]</key>
2059                     </item>
2060                 </graph_item>
2061             </graph_items>
2062         </graph>
2063         <graph>
2064             <name>内存池中新生代(Eden Space)视图</name>
2065             <width>900</width>
2066             <height>200</height>
2067             <yaxismin>0.0000</yaxismin>
2068             <yaxismax>100.0000</yaxismax>
2069             <show_work_period>1</show_work_period>
2070             <show_triggers>1</show_triggers>
2071             <type>0</type>
2072             <show_legend>1</show_legend>
2073             <show_3d>0</show_3d>
2074             <percent_left>0.0000</percent_left>
2075             <percent_right>0.0000</percent_right>
2076             <ymin_type_1>0</ymin_type_1>
2077             <ymax_type_1>0</ymax_type_1>
2078             <ymin_item_1>0</ymin_item_1>
2079             <ymax_item_1>0</ymax_item_1>
2080             <graph_items>
2081                 <graph_item>
2082                     <sortorder>0</sortorder>
2083                     <drawtype>0</drawtype>
2084                     <color>C80000</color>
2085                     <yaxisside>0</yaxisside>
2086                     <calc_fnc>2</calc_fnc>
2087                     <type>0</type>
2088                     <item>
2089                         <host>JMX Templates</host>
2090                         <key>jmx["java.lang:type=MemoryPool,name=PS Eden Space",Usage.used]</key>
2091                     </item>
2092                 </graph_item>
2093                 <graph_item>
2094                     <sortorder>1</sortorder>
2095                     <drawtype>0</drawtype>
2096                     <color>00C800</color>
2097                     <yaxisside>0</yaxisside>
2098                     <calc_fnc>2</calc_fnc>
2099                     <type>0</type>
2100                     <item>
2101                         <host>JMX Templates</host>
2102                         <key>jmx["java.lang:type=MemoryPool,name=PS Eden Space",Usage.committed]</key>
2103                     </item>
2104                 </graph_item>
2105                 <graph_item>
2106                     <sortorder>2</sortorder>
2107                     <drawtype>0</drawtype>
2108                     <color>0000C8</color>
2109                     <yaxisside>0</yaxisside>
2110                     <calc_fnc>2</calc_fnc>
2111                     <type>0</type>
2112                     <item>
2113                         <host>JMX Templates</host>
2114                         <key>jmx["java.lang:type=MemoryPool,name=PS Eden Space",Usage.max]</key>
2115                     </item>
2116                 </graph_item>
2117             </graph_items>
2118         </graph>
2119         <graph>
2120             <name>内存池中永久代(Perm Gen)视图</name>
2121             <width>900</width>
2122             <height>200</height>
2123             <yaxismin>0.0000</yaxismin>
2124             <yaxismax>100.0000</yaxismax>
2125             <show_work_period>1</show_work_period>
2126             <show_triggers>1</show_triggers>
2127             <type>0</type>
2128             <show_legend>1</show_legend>
2129             <show_3d>0</show_3d>
2130             <percent_left>0.0000</percent_left>
2131             <percent_right>0.0000</percent_right>
2132             <ymin_type_1>0</ymin_type_1>
2133             <ymax_type_1>0</ymax_type_1>
2134             <ymin_item_1>0</ymin_item_1>
2135             <ymax_item_1>0</ymax_item_1>
2136             <graph_items>
2137                 <graph_item>
2138                     <sortorder>0</sortorder>
2139                     <drawtype>0</drawtype>
2140                     <color>0000C8</color>
2141                     <yaxisside>0</yaxisside>
2142                     <calc_fnc>2</calc_fnc>
2143                     <type>0</type>
2144                     <item>
2145                         <host>JMX Templates</host>
2146                         <key>jmx["java.lang:type=MemoryPool,name=PS Perm Gen",Usage.committed]</key>
2147                     </item>
2148                 </graph_item>
2149                 <graph_item>
2150                     <sortorder>1</sortorder>
2151                     <drawtype>0</drawtype>
2152                     <color>C80000</color>
2153                     <yaxisside>0</yaxisside>
2154                     <calc_fnc>2</calc_fnc>
2155                     <type>0</type>
2156                     <item>
2157                         <host>JMX Templates</host>
2158                         <key>jmx["java.lang:type=MemoryPool,name=PS Perm Gen",Usage.max]</key>
2159                     </item>
2160                 </graph_item>
2161                 <graph_item>
2162                     <sortorder>2</sortorder>
2163                     <drawtype>0</drawtype>
2164                     <color>00C800</color>
2165                     <yaxisside>0</yaxisside>
2166                     <calc_fnc>2</calc_fnc>
2167                     <type>0</type>
2168                     <item>
2169                         <host>JMX Templates</host>
2170                         <key>jmx["java.lang:type=MemoryPool,name=PS Perm Gen",Usage.used]</key>
2171                     </item>
2172                 </graph_item>
2173             </graph_items>
2174         </graph>
2175         <graph>
2176             <name>内存池中缓存点(Code Cache)视图</name>
2177             <width>900</width>
2178             <height>200</height>
2179             <yaxismin>0.0000</yaxismin>
2180             <yaxismax>100.0000</yaxismax>
2181             <show_work_period>1</show_work_period>
2182             <show_triggers>1</show_triggers>
2183             <type>0</type>
2184             <show_legend>1</show_legend>
2185             <show_3d>0</show_3d>
2186             <percent_left>0.0000</percent_left>
2187             <percent_right>0.0000</percent_right>
2188             <ymin_type_1>0</ymin_type_1>
2189             <ymax_type_1>0</ymax_type_1>
2190             <ymin_item_1>0</ymin_item_1>
2191             <ymax_item_1>0</ymax_item_1>
2192             <graph_items>
2193                 <graph_item>
2194                     <sortorder>0</sortorder>
2195                     <drawtype>0</drawtype>
2196                     <color>C80000</color>
2197                     <yaxisside>0</yaxisside>
2198                     <calc_fnc>2</calc_fnc>
2199                     <type>0</type>
2200                     <item>
2201                         <host>JMX Templates</host>
2202                         <key>jmx["java.lang:type=MemoryPool,name=Code Cache",Usage.committed]</key>
2203                     </item>
2204                 </graph_item>
2205                 <graph_item>
2206                     <sortorder>1</sortorder>
2207                     <drawtype>0</drawtype>
2208                     <color>00C800</color>
2209                     <yaxisside>0</yaxisside>
2210                     <calc_fnc>2</calc_fnc>
2211                     <type>0</type>
2212                     <item>
2213                         <host>JMX Templates</host>
2214                         <key>jmx["java.lang:type=MemoryPool,name=Code Cache",Usage.max]</key>
2215                     </item>
2216                 </graph_item>
2217                 <graph_item>
2218                     <sortorder>2</sortorder>
2219                     <drawtype>0</drawtype>
2220                     <color>0000C8</color>
2221                     <yaxisside>0</yaxisside>
2222                     <calc_fnc>2</calc_fnc>
2223                     <type>0</type>
2224                     <item>
2225                         <host>JMX Templates</host>
2226                         <key>jmx["java.lang:type=MemoryPool,name=Code Cache",Usage.used]</key>
2227                     </item>
2228                 </graph_item>
2229             </graph_items>
2230         </graph>
2231         <graph>
2232             <name>内存池中老年代(Old Gen)视图</name>
2233             <width>900</width>
2234             <height>200</height>
2235             <yaxismin>0.0000</yaxismin>
2236             <yaxismax>100.0000</yaxismax>
2237             <show_work_period>1</show_work_period>
2238             <show_triggers>1</show_triggers>
2239             <type>0</type>
2240             <show_legend>1</show_legend>
2241             <show_3d>0</show_3d>
2242             <percent_left>0.0000</percent_left>
2243             <percent_right>0.0000</percent_right>
2244             <ymin_type_1>0</ymin_type_1>
2245             <ymax_type_1>0</ymax_type_1>
2246             <ymin_item_1>0</ymin_item_1>
2247             <ymax_item_1>0</ymax_item_1>
2248             <graph_items>
2249                 <graph_item>
2250                     <sortorder>0</sortorder>
2251                     <drawtype>0</drawtype>
2252                     <color>C80000</color>
2253                     <yaxisside>0</yaxisside>
2254                     <calc_fnc>2</calc_fnc>
2255                     <type>0</type>
2256                     <item>
2257                         <host>JMX Templates</host>
2258                         <key>jmx["java.lang:type=MemoryPool,name=PS Old Gen",Usage.committed]</key>
2259                     </item>
2260                 </graph_item>
2261                 <graph_item>
2262                     <sortorder>1</sortorder>
2263                     <drawtype>0</drawtype>
2264                     <color>00C800</color>
2265                     <yaxisside>0</yaxisside>
2266                     <calc_fnc>2</calc_fnc>
2267                     <type>0</type>
2268                     <item>
2269                         <host>JMX Templates</host>
2270                         <key>jmx["java.lang:type=MemoryPool,name=PS Old Gen",Usage.max]</key>
2271                     </item>
2272                 </graph_item>
2273                 <graph_item>
2274                     <sortorder>2</sortorder>
2275                     <drawtype>0</drawtype>
2276                     <color>0000C8</color>
2277                     <yaxisside>0</yaxisside>
2278                     <calc_fnc>2</calc_fnc>
2279                     <type>0</type>
2280                     <item>
2281                         <host>JMX Templates</host>
2282                         <key>jmx["java.lang:type=MemoryPool,name=PS Old Gen",Usage.used]</key>
2283                     </item>
2284                 </graph_item>
2285             </graph_items>
2286         </graph>
2287         <graph>
2288             <name>堆内存使用详情</name>
2289             <width>900</width>
2290             <height>200</height>
2291             <yaxismin>0.0000</yaxismin>
2292             <yaxismax>100.0000</yaxismax>
2293             <show_work_period>1</show_work_period>
2294             <show_triggers>1</show_triggers>
2295             <type>0</type>
2296             <show_legend>1</show_legend>
2297             <show_3d>0</show_3d>
2298             <percent_left>0.0000</percent_left>
2299             <percent_right>0.0000</percent_right>
2300             <ymin_type_1>0</ymin_type_1>
2301             <ymax_type_1>0</ymax_type_1>
2302             <ymin_item_1>0</ymin_item_1>
2303             <ymax_item_1>0</ymax_item_1>
2304             <graph_items>
2305                 <graph_item>
2306                     <sortorder>0</sortorder>
2307                     <drawtype>0</drawtype>
2308                     <color>C80000</color>
2309                     <yaxisside>0</yaxisside>
2310                     <calc_fnc>2</calc_fnc>
2311                     <type>0</type>
2312                     <item>
2313                         <host>JMX Templates</host>
2314                         <key>jmx["java.lang:type=Memory",HeapMemoryUsage.used]</key>
2315                     </item>
2316                 </graph_item>
2317                 <graph_item>
2318                     <sortorder>1</sortorder>
2319                     <drawtype>0</drawtype>
2320                     <color>00C800</color>
2321                     <yaxisside>0</yaxisside>
2322                     <calc_fnc>2</calc_fnc>
2323                     <type>0</type>
2324                     <item>
2325                         <host>JMX Templates</host>
2326                         <key>jmx["java.lang:type=Memory",HeapMemoryUsage.committed]</key>
2327                     </item>
2328                 </graph_item>
2329                 <graph_item>
2330                     <sortorder>2</sortorder>
2331                     <drawtype>0</drawtype>
2332                     <color>0000C8</color>
2333                     <yaxisside>0</yaxisside>
2334                     <calc_fnc>2</calc_fnc>
2335                     <type>0</type>
2336                     <item>
2337                         <host>JMX Templates</host>
2338                         <key>jmx["java.lang:type=Memory",HeapMemoryUsage.max]</key>
2339                     </item>
2340                 </graph_item>
2341             </graph_items>
2342         </graph>
2343         <graph>
2344             <name>打开文件数详情</name>
2345             <width>900</width>
2346             <height>200</height>
2347             <yaxismin>0.0000</yaxismin>
2348             <yaxismax>100.0000</yaxismax>
2349             <show_work_period>1</show_work_period>
2350             <show_triggers>1</show_triggers>
2351             <type>0</type>
2352             <show_legend>1</show_legend>
2353             <show_3d>0</show_3d>
2354             <percent_left>0.0000</percent_left>
2355             <percent_right>0.0000</percent_right>
2356             <ymin_type_1>0</ymin_type_1>
2357             <ymax_type_1>0</ymax_type_1>
2358             <ymin_item_1>0</ymin_item_1>
2359             <ymax_item_1>0</ymax_item_1>
2360             <graph_items>
2361                 <graph_item>
2362                     <sortorder>0</sortorder>
2363                     <drawtype>0</drawtype>
2364                     <color>C80000</color>
2365                     <yaxisside>0</yaxisside>
2366                     <calc_fnc>2</calc_fnc>
2367                     <type>0</type>
2368                     <item>
2369                         <host>JMX Templates</host>
2370                         <key>jmx["java.lang:type=OperatingSystem",MaxFileDescriptorCount]</key>
2371                     </item>
2372                 </graph_item>
2373                 <graph_item>
2374                     <sortorder>1</sortorder>
2375                     <drawtype>0</drawtype>
2376                     <color>00C800</color>
2377                     <yaxisside>0</yaxisside>
2378                     <calc_fnc>2</calc_fnc>
2379                     <type>0</type>
2380                     <item>
2381                         <host>JMX Templates</host>
2382                         <key>jmx["java.lang:type=OperatingSystem",OpenFileDescriptorCount]</key>
2383                     </item>
2384                 </graph_item>
2385             </graph_items>
2386         </graph>
2387         <graph>
2388             <name>类 的视图概览</name>
2389             <width>900</width>
2390             <height>200</height>
2391             <yaxismin>0.0000</yaxismin>
2392             <yaxismax>100.0000</yaxismax>
2393             <show_work_period>1</show_work_period>
2394             <show_triggers>1</show_triggers>
2395             <type>0</type>
2396             <show_legend>1</show_legend>
2397             <show_3d>0</show_3d>
2398             <percent_left>0.0000</percent_left>
2399             <percent_right>0.0000</percent_right>
2400             <ymin_type_1>0</ymin_type_1>
2401             <ymax_type_1>0</ymax_type_1>
2402             <ymin_item_1>0</ymin_item_1>
2403             <ymax_item_1>0</ymax_item_1>
2404             <graph_items>
2405                 <graph_item>
2406                     <sortorder>0</sortorder>
2407                     <drawtype>0</drawtype>
2408                     <color>C80000</color>
2409                     <yaxisside>0</yaxisside>
2410                     <calc_fnc>2</calc_fnc>
2411                     <type>0</type>
2412                     <item>
2413                         <host>JMX Templates</host>
2414                         <key>jmx["java.lang:type=ClassLoading",TotalLoadedClassCount]</key>
2415                     </item>
2416                 </graph_item>
2417                 <graph_item>
2418                     <sortorder>1</sortorder>
2419                     <drawtype>0</drawtype>
2420                     <color>00C800</color>
2421                     <yaxisside>0</yaxisside>
2422                     <calc_fnc>2</calc_fnc>
2423                     <type>0</type>
2424                     <item>
2425                         <host>JMX Templates</host>
2426                         <key>jmx["java.lang:type=ClassLoading",UnloadedClassCount]</key>
2427                     </item>
2428                 </graph_item>
2429                 <graph_item>
2430                     <sortorder>2</sortorder>
2431                     <drawtype>0</drawtype>
2432                     <color>0000C8</color>
2433                     <yaxisside>0</yaxisside>
2434                     <calc_fnc>2</calc_fnc>
2435                     <type>0</type>
2436                     <item>
2437                         <host>JMX Templates</host>
2438                         <key>jmx["java.lang:type=ClassLoading",LoadedClassCount]</key>
2439                     </item>
2440                 </graph_item>
2441             </graph_items>
2442         </graph>
2443         <graph>
2444             <name>非堆内存使用详情</name>
2445             <width>900</width>
2446             <height>200</height>
2447             <yaxismin>0.0000</yaxismin>
2448             <yaxismax>100.0000</yaxismax>
2449             <show_work_period>1</show_work_period>
2450             <show_triggers>1</show_triggers>
2451             <type>0</type>
2452             <show_legend>1</show_legend>
2453             <show_3d>0</show_3d>
2454             <percent_left>0.0000</percent_left>
2455             <percent_right>0.0000</percent_right>
2456             <ymin_type_1>0</ymin_type_1>
2457             <ymax_type_1>0</ymax_type_1>
2458             <ymin_item_1>0</ymin_item_1>
2459             <ymax_item_1>0</ymax_item_1>
2460             <graph_items>
2461                 <graph_item>
2462                     <sortorder>0</sortorder>
2463                     <drawtype>0</drawtype>
2464                     <color>C80000</color>
2465                     <yaxisside>0</yaxisside>
2466                     <calc_fnc>2</calc_fnc>
2467                     <type>0</type>
2468                     <item>
2469                         <host>JMX Templates</host>
2470                         <key>jmx["java.lang:type=Memory",NonHeapMemoryUsage.used]</key>
2471                     </item>
2472                 </graph_item>
2473                 <graph_item>
2474                     <sortorder>1</sortorder>
2475                     <drawtype>0</drawtype>
2476                     <color>00C800</color>
2477                     <yaxisside>0</yaxisside>
2478                     <calc_fnc>2</calc_fnc>
2479                     <type>0</type>
2480                     <item>
2481                         <host>JMX Templates</host>
2482                         <key>jmx["java.lang:type=Memory",NonHeapMemoryUsage.committed]</key>
2483                     </item>
2484                 </graph_item>
2485                 <graph_item>
2486                     <sortorder>2</sortorder>
2487                     <drawtype>0</drawtype>
2488                     <color>0000C8</color>
2489                     <yaxisside>0</yaxisside>
2490                     <calc_fnc>2</calc_fnc>
2491                     <type>0</type>
2492                     <item>
2493                         <host>JMX Templates</host>
2494                         <key>jmx["java.lang:type=Memory",NonHeapMemoryUsage.max]</key>
2495                     </item>
2496                 </graph_item>
2497             </graph_items>
2498         </graph>
2499     </graphs>
2500 </zabbix_export>
复制代码

暂时未解决的问题:

  zabbix 监控MySQL,使用默认模板无数据。以后再看

http://www.cnblogs.com/jxdong116/p/9405987.html

Leave a Reply

Your email address will not be published. Required fields are marked *