добрый день.
Пока мониторится сам сервер физически , cpu ram hdd и .т.п.
Хочу добавить в мониторинг zabbix , метрики от процессов и привязать alert.
server
access
accouinting
voip
dataloader
sheduler
activemq
как вариант хочу взять вывод SERVICE_status.sh
Код:
Memory total: 78 118 912; max: 1 908 932 608; free: 19 691 472
Memory pools:
Non-heap memory[Code Cache]: max: 251 658 240; used: 34 476 992; peek: 34 630 848
Non-heap memory[Metaspace]: max: -1; used: 40 279 800; peek: 40 318 992
Non-heap memory[Compressed Class Space]: max: 1 073 741 824; used: 4 421 864; peek: 4 505 416
Heap memory[PS Eden Space]: max: 713 555 968; used: 14 343 416; peek: 284 164 096
Heap memory[PS Survivor Space]: max: 1 048 576; used: 655 360; peek: 18 845 056
Heap memory[PS Old Gen]: max: 1 431 830 528; used: 43 432 840; peek: 1 000 901 816
Thread count: 274
Trees in cache: 0
Connections pool to Master status Idle: 20; Active: 1; maxActive: 300; maxIdle: 20
Код:
Memory total: 977 797 120; max: 7 635 730 432; free: 716 834 720
Memory pools:
Non-heap memory[Code Cache]: max: 251 658 240; used: 108 388 288; peek: 108 469 888
Non-heap memory[Metaspace]: max: -1; used: 109 472 400; peek: 153 282 592
Non-heap memory[Compressed Class Space]: max: 1 073 741 824; used: 11 866 896; peek: 15 308 872
Heap memory[PS Eden Space]: max: 2 858 942 464; used: 63 590 376; peek: 1 330 118 656
Heap memory[PS Survivor Space]: max: 2 097 152; used: 1 245 184; peek: 66 897 504
Heap memory[PS Old Gen]: max: 5 726 797 824; used: 196 126 840; peek: 196 126 840
Thread count: 44
Connections pool to Master status Idle: 2; Active: 0; maxActive: 300; maxIdle: 20
Connections pool to Slave "1" status Idle: 3; Active: 0; maxActive: 300; maxIdle: 10