Ad Widget

Collapse

jps problems with system.run

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • esawyja
    Member
    Zabbix Certified Specialist
    • Dec 2011
    • 54

    #1

    jps problems with system.run

    Hi all,
    When I run this /usr/jdk/latest/bin/jps -lm directly on the server I get

    xxxxxxxxsvr1: $ /usr/jdk/latest/bin/jps -lm
    16998 sun.tools.jps.Jps -lm
    3855 org.jboss.Main -b 0.0.0.0 -DPORTAL_HOME=/opt/xxxxxxxx/home/local/portal -Dpython.home=/opt/xxxxxxxx/home
    9366 com.xxxxxxxx.runner.Runner com.xxxxxxxx.yyy.Startup /opt/xxxxxxxx/home/config/classpaths/yyy-2.4.10.classpath /opt/xxxxxxxx/home/local/yyy/yyy.xml
    9367 com.xxxxxxxx.runner.Runner com.xxxxxxxx.ns.NotificationService /opt/xxxxxxxx/home/config/classpaths/notification-service-1.1.0.6.classpath /opt/xxxxxxxx/home/local/notification-service/xxxxxxxxsvr1/notification-service.xml /opt/xxxxxxxx/home/local/notification-service/notification-service.xml /opt/xxxxxxxx/home/config/notification-service/notification-service.xml
    9364 com.xxxxxxxx.runner.Runner com.xxxxxxxx.bnz.ccccccccMain /opt/xxxxxxxx/home/config/classpaths/cccccccc-1.2.5.classpath /opt/xxxxxxxx/home/local/cccccccc/cccccccc.xml
    9322 /opt/xxxxxxxx/home/libs/com/xxxxxxxx/application-manager/1.2.1/application-manager-1.2.1.jar --local=/opt/xxxxxxxx/home/local/application-manager/local.properties /opt/xxxxxxxx/home/local/application-manager/applications.properties
    1712 /opt/app/oracle/11g/db2/oc4j/j2ee/home/oc4j.jar -config /opt/app/oracle/11g/db2/oc4j/j2ee/OC4J_DBConsole_xxxxxxxxsvr1_DTE/config/server.xml
    9365 com.xxxxxxxx.runner.Runner com.xxxxxxxx.rm.xxxxxxxxManager /opt/xxxxxxxx/home/config/classpaths/xxxxxxxx-manager-1.0.15.classpath
    1328 org.apache.catalina.startup.Bootstrap start
    9368 com.xxxxxxxx.runner.Runner com.xxxxxxxx.qqqqqqq.qqqqqqq /opt/xxxxxxxx/home/config/classpaths/qqqqqqq-1.11.9.classpath /opt/xxxxxxxx/home/config/qqqqqqq/services.xml /opt/xxxxxxxx/home/local/qqqqqqq/service.xml
    xxxxxxxxsvr1: $

    Running from the Zabbix server using system.run, I get only one line back

    linux-mwdg:~ # zabbix_get -s xxx.xxx.xxx.90 -p 10050 -k system.run["/usr/jdk/latest/bin/jps -lm"]
    17451 sun.tools.jps.Jps -lm
    linux-mwdg:~ #

    Any suggestion please ?
    Last edited by esawyja; 16-04-2012, 14:14.
Working...