Summary

Java is sometimes called the king of the enterprise. It's so popular in large systems, despite often-cited drawbacks, such as memory usage, that one might wonder what makes it so attractive. One reason could be that it lowers maintenance costs—at least, that is claimed sometimes, and it would make a lot of sense in large, long-life systems. Developing a system is usually cheap compared to maintaining it over a long period of time. Given the widespread usage of Java-based systems, the built-in JMX support is very handy—except maybe the limiting endpoint support. In this chapter, we looked at setting up a separate daemon, called the Zabbix Java gateway, and performing the initial configuration to make it work with a Zabbix server. We also monitored heap memory usage on the gateway itself, and that should be a good start for JMX monitoring. For easier debugging, we looked at some scripts and the use of jconsole. We noticed that monitoring Java can be difficult, as many different items can exist on the same Java version, for example: garbage collectors. We saw how we can solve this problem with the use of LLD items for JMX.

Lately, we have been discussing the monitoring of somewhat niche products and protocols. The next chapter will continue that trend—we will discuss the built-in VMware monitoring that enables us to discover and monitor all virtual machines from a hypervisor or a vCenter.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.119.111.9