Ad Widget

Collapse

Zabbix 5.4 and monitoring server with multiple java processes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Alex_SYB
    Senior Member
    • Feb 2012
    • 133

    #1

    Zabbix 5.4 and monitoring server with multiple java processes

    Hi

    Been a while since i've been here. still running an older version of zabbix.
    I do like the improvement to the jmx item . allow a string as a parameter to allow for multiple items with the same name, just differenced by which application


    So here is my setup

    Server1
    app1
    app2
    app3
    app4


    I can have up to 10-12 java apps running there.

    Now to setup zabbix to check for say "JMX Process CPU Load"

    I have to configure 4 ports for the host

    I would typically create 4 templates for each app
    in each template I would have an item

    jmx:JMX Process CPU Load

    before i had to space it out .. thats for the text string on the end.

    But once i apply the template I have to go back in and apply port / host interface to every single item .. so 4 template thats 4 x the number of items. say I have 10 items standard for each java app. thats 40 individual changes i have to make !!!

    Why... why not just have ip address as the host jmx interface and move port into item so that jmx looks like

    jmx:[port]:[item]:[string]

    That way when i define my template all i have to do is apply it to a host.

    jmx will look at the host ip for jmx and then add the port from the jmx item !!!!!



    Also change the jmx gate way.

    Do not time out a host, cause 1 jmx request failed... there might be many app runing there and because 1 fails you fail to get any info for the other apps.. THATS bad.

    if you are going to pause - base it upon hostip + port
    and then make it configurable.





Working...