Ad Widget

Collapse

Monitoring a Java Process

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Umair
    Member
    • Feb 2007
    • 86

    #1

    Monitoring a Java Process

    Hello All,
    Untill now i have been using the templates for monitoring different processes.
    Now, I want to monitor a Java Process on a Unix Machine.
    This process is part of my application.
    Infact i want to monitor different processes of that application.
    If any of the process fails, the coresponding alarm should be raised.

    I can't seem to understand the logic of Items/Triggers to apply to the processes.
    Any help would be greatly appreciated !
  • xobnis
    Junior Member
    • Mar 2007
    • 14

    #2
    Think you can use the following key
    proc.num[<name>,<user>,<state>]
    State can be [all, sleep,zomb,run]

    an example of returning the number of zabbix_agentd processes regardless of state would be

    proc.num[zabbix_agentd,,all]

    or if you wanted the dead processes

    proc.num[zabbix_agentd,,zomb]

    Then set up triggers based on the value returned.

    Hope this helps

    Comment

    Working...