My server is running some java processes (Wowza media Server).
And 1 day, it had been error “out of memory java heap”.
I want zabbix to detect this issue to send notify email.
Anyone know about this please help, or just give me an idea.
Thank a lot.
I tried to find some commandline to get java heap size,
java -XX:+PrintFlagsFinal -version | grep HeapSize
but this is not what i want.
I want to get the value of heap memory at the time i run the command
2
Answers
You can use JMX to monitor JVM metrics (cpu, threads, memory).
You can see the documentation here.
As mentioned you can use JVM . For
Does your Host in Zabbix have JMX interface configured? You can see how it should look like in the documentation link, mentioned above. in section: Configuring JMX interface
p.s mostly it is server_ip and port 6969.