Ad Widget

Collapse

monitorring java applicaiton

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mpuaca@gmail.com
    Junior Member
    • Mar 2012
    • 1

    #1

    monitorring java applicaiton

    Hi All,
    i want to monitor one Java service with proc.num[java,,,SERVICE.xml].

    When i perform command "ps -ef|grep java" on server where this service run i get:
    hrsuat 28573922 33095826 0 12:24:39 pts/0 0:09 java -Xmx256m -cp classes/:lib/MQInterface.jar:lib/com.ibm.mq.jar:lib/com.ibm.mqjms.jar:lib/connector.jar:lib/dhbcore.jar:lib/jta.jar -jar QueuDirMon.jar SERVICE.xml

    but i always get result "0" even if service is running. It seems that zabbix read only first x lines and doesn't read SERVICE.xml. I tryed and i get responce when i change SERVICE.xml into MQInterface.jar (line that is before SERVICE.xml).
    IT is important for me that zabbix read SERVICE.xml because i want to monitor 10-15 services with different names.

    Any idea why is this not working?
  • eskytthe
    Senior Member
    Zabbix Certified Specialist
    • May 2011
    • 363

    #2
    On the IRC today there was a ref to this - seems related:

    /Erik

    Comment

    • eskytthe
      Senior Member
      Zabbix Certified Specialist
      • May 2011
      • 363

      #3
      Btw. you can use User parameters as a work around.
      br
      Erik

      Comment

      Working...