Ad Widget

Collapse

Monitoring running processes in Linux and in Windows Server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zvukarmiso
    Junior Member
    • May 2015
    • 15

    #1

    Monitoring running processes in Linux and in Windows Server

    Hi

    How would I know to monitor the process or runs or are down?
    The correct way to write Linux process ps -ef
    My process is:

    Code:
    genesys  20518     1  1 Dec08 ?        01:48:53 /usr/java/jdk1.8.0_92/jre/bin/java -Djava.util.logging.config.file=/opt/genesys/tomcat-webgad/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.awt.headless=true -Dfile.encoding=UTF-8 -server -Xms320m -Xmx1024m -Dcom.sun.management.jmxremote.port=33332 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.rmi.port=33332 -Djava.rmi.server.hostname=127.0.0.1 -Djava.endorsed.dirs=/opt/genesys/tomcat-webgad/endorsed -classpath /opt/genesys/tomcat-webgad/bin/bootstrap.jar:/opt/genesys/tomcat-webgad/bin/tomcat-juli.jar -Dcatalina.base=/opt/genesys/tomcat-webgad -Dcatalina.home=/opt/genesys/tomcat-webgad -Djava.io.tmpdir=/opt/genesys/tomcat-webgad/temp org.apache.catalina.startup.Bootstrap start
    as Zabbix can say that the state is running?
    Do you know anyone advise me, I have to do that I knew Dan info transferred to Zabbix?
    I would also like to know then how this process of Zabbix. How do I create an event.? Somehow it is not clear.

    well thank you Michael
  • zvukarmiso
    Junior Member
    • May 2015
    • 15

    #2
    hi,

    Windows service run I managed to solve.
    I can monitor the status.
    super tool

    Problem make the Linux processes. I know how to monitor?
    In Linux, I can monitor the network interface, the processor, the RAM, HDD, etc ..

    but you do not perform and do not.

    How would I know the process to find out if running?

    genesys 20518 1 1 Dec08 ? 01:48:53 /usr/java/jdk1.8.0_92/jre/bin/java -Djava.util.logging.config.file=/opt/genesys/tomcat-webgad/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLo aderLogManager -Djava.awt.headless=true -Dfile.encoding=UTF-8 -server -Xms320m -Xmx1024m -Dcom.sun.management.jmxremote.port=33332 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.rmi.port=33332 -Djava.rmi.server.hostname=127.0.0.1 -Djava.endorsed.dirs=/opt/genesys/tomcat-webgad/endorsed -classpath /opt/genesys/tomcat-webgad/bin/bootstrap.jar:/opt/genesys/tomcat-webgad/bin/tomcat-juli.jar -Dcatalina.base=/opt/genesys/tomcat-webgad -Dcatalina.home=/opt/genesys/tomcat-webgad -Djava.io.tmpdir=/opt/genesys/tomcat-webgad/temp org.apache.catalina.startup.Bootstrap start
    I tried proc.num, system.info etc .. but still do not know how.

    thanks for any advice

    Comment

    • SBO
      Zabbix Certified Specialist
      Zabbix Certified Specialist
      • Sep 2015
      • 226

      #3
      In this situation, you can use proc.num
      It counts the number of process running

      If the count is 1, then it's running
      If 0 then problem, not running

      You have the details of the item here : https://www.zabbix.com/documentation...s/zabbix_agent

      Comment

      Working...