Zabbix: Create a JMX-based template

Mbyllur Postuar 2 vite mё parё Paguhet në dorëzim
Mbyllur Paguhet në dorëzim

Hi,

I am looking for someone being able to create a JMX-based template (with triggers) for Zabbix 5 LTS.

We have a Java application which offers a JMX interface to check many internal values.

(Yes we can read the typical metrics by using the template 'Java Applications Generic' but we have MANY other metrics!)

This project is just a start (so you see there might be more work for you in a lter project...)

We have 60 values offering just a boolean value. In a second project we will look for the real Metrics. But as I said:

This project is just for 60 values returing a bool (true or false).

If the value is 'false', create a WARNING-message.

If the value is 'true' it is OK/resolved.

I will give you the full list (the value to ask and its 'name')

The application is running on different machines and does different work, so one of the values is only supported on special machines.

How to handle this nicely? Just one template with all values and I have to disable this special value-test on the machines which do not support it?

See an exmple:

A value which exists on all machines:

# java -jar [login to view URL] - host1:12345 '[login to view URL]:name=Deserialization Firewall Functional,type=HealthCheck' ok

12/01/2021 11:58:33 +0100 [login to view URL] ok: true

# java -jar [login to view URL] - host2:12345 '[login to view URL]:name=Deserialization Firewall Functional,type=HealthCheck' ok

12/01/2021 11:58:50 +0100 [login to view URL] ok: true

A value which do not exists on all machines:

# java -jar [login to view URL] - host1:12345 '[login to view URL]:name=[login to view URL],type=HealthCheck' ok

12/01/2021 11:50:25 +0100 [login to view URL] ok: true

# java -jar [login to view URL] - host2:12345 '[login to view URL]:name=[login to view URL],type=HealthCheck' ok

12/01/2021 11:50:43 +0100 [login to view URL] [login to view URL]:name=[login to view URL],type=HealthCheck is not a registered bean

Administrim rrjeti System Admin Linux Java

ID Projekti: #32246034

Rreth projektit

1 propozim Projekti në distancë Aktiv 2 vite mё parё