[ZBXNEXT-701] Possibility to use subagents in zabbix-agent Created: 2011 Mar 14 Updated: 2014 Jan 06 Resolved: 2014 Jan 06 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Agent (G) |
Affects Version/s: | 1.8.4 |
Fix Version/s: | None |
Type: | New Feature Request | Priority: | Major |
Reporter: | Marc Schoechlin | Assignee: | Unassigned |
Resolution: | Won't fix | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
Hi, thanks for writing this great piece of software. Many companies run java software in their productive environments - currently it´s a little The java way to monitor applications is JMX (Java Management Extensions, There are some specific solutions which use jmx-bridges deployed in application-servers - but existing possibilities
In my opinion it would be a good idea to enhance the agent to have the possibility The configuration syntax could look like this: SubAgent=java-jmx-agent-activemq,/usr/sbin/java --jmx-url "service:jmx:rmi:///jndi/rmi://localhost:9999/jmxrmi" Agent and subagent may chat in the following way: Gain list of measures Gain a measure AGENT>get barfoo Subagent child processes will be handeled like this:
What do you think about this? Do you have suggestion for the implementation? Can you recommend some source locations? Regards |
Comments |
Comment by Aleksandrs Saveljevs [ 2011 Mar 15 ] |
Feature |
Comment by Marc Schoechlin [ 2011 Apr 18 ] |
This might be cool. Anyway - subagent support would be a great thing for enhancing the zabbix agent by complexer check-items. Especially:
|
Comment by Marc Schoechlin [ 2011 Apr 28 ] |
Let me describe the "aggregate" thing a little bit more detailed: We currently develop a commandline tool which collects statistics from a mysql database. Invoking a mysql connection for every ~300 different measurements is pretty resource consuming. To reduce the overhead of measurements my coworker created a small commandline utility (written in c) which collects all values with a single mysql-request and stores/caches them by using a shared memory segment. We have to do this because there is currently no efficient way to transfer a high numbers of items/values to zabbix. With the possibility of using a permanent process (managed by zabbix) this can be done very easy by any sysadmin with python/perl/python/ ...scripting-capabilities. Create a platform for exchanging and publishing tools/templates like this and call it "zabbix-exchange" |
Comment by Marc Schoechlin [ 2011 Nov 23 ] |
It would be a cool thing to use jmxterm as a subagent (http://wiki.cyclopsgroup.org/jmxterm) HeapMemoryUsage = { committed = 122421248; init = 127723648; max = 1817575424; used = 10287088; }; NonHeapMemoryUsage = { committed = 24313856; init = 24313856; max = 136314880; used = 11114696; }; ObjectPendingFinalizationCount = 0; Subagents will open a new world of agent-extensions.... |
Comment by richlv [ 2011 Nov 24 ] |
hopefully jmx monitoring will be covered by the zabbix java gateway (http://www.zabbix.com/documentation/2.0/manual/config/items/itemtypes/jmx_monitoring) |
Comment by Marc Schoechlin [ 2012 Jul 24 ] |
Besides JMX, the subagent feature will also a cool thing to integrate complexer measurement tools with huge startuptimes of complex logic.... |
Comment by Marc Schoechlin [ 2014 Jan 06 ] |
Possibly misunderstood, see ZBXNEXT-2098 |