Hi All,
I am running Zabbix 4.0 and am able to do all the basic monitoring/alerting I want. I love it.
Now I have a springboot (so JAVA) application running locally which uses PostGreSQL, and I would like to be able to raise "problems" on Zabbix baise on behaviors that my application sees.
My list of alarms is determined, so I guess I could defined all the required Zabbix items/trigers for each of the "problem".
My use case if basic: if one of my Java method return xxx, i want to raise and show a problem in Zabbix.
But my question is how can I send that to Zabbix server? I d rather work with a push model to avoid worrying about alarms rotation or duplicates, but that s not an hardcore requirement.
Here are the few ideas I have in mind. If some if you could let me know your recommendations (if you know of a Java library for your recomendation, that d be even awesomer):
- Send Trapper alert from my application? Any stable Java client available?
- Something like a log file?
- Use JMX monitoring? It seems a bit complicated to set up, but maybe I wrong.
- Use custom SNMP alerts?
- Maintain an Alert DB and get it queried by Zabbix?
Here is the extent of what I have in mind.
Thank you all in advance.
Max
I am running Zabbix 4.0 and am able to do all the basic monitoring/alerting I want. I love it.
Now I have a springboot (so JAVA) application running locally which uses PostGreSQL, and I would like to be able to raise "problems" on Zabbix baise on behaviors that my application sees.
My list of alarms is determined, so I guess I could defined all the required Zabbix items/trigers for each of the "problem".
My use case if basic: if one of my Java method return xxx, i want to raise and show a problem in Zabbix.
But my question is how can I send that to Zabbix server? I d rather work with a push model to avoid worrying about alarms rotation or duplicates, but that s not an hardcore requirement.
Here are the few ideas I have in mind. If some if you could let me know your recommendations (if you know of a Java library for your recomendation, that d be even awesomer):
- Send Trapper alert from my application? Any stable Java client available?
- Something like a log file?
- Use JMX monitoring? It seems a bit complicated to set up, but maybe I wrong.
- Use custom SNMP alerts?
- Maintain an Alert DB and get it queried by Zabbix?
Here is the extent of what I have in mind.
Thank you all in advance.
Max
Comment