John Greenfield
2013-07-30 06:02:09 UTC
John Greenfield [http://community.zenoss.org/people/TonicT] created the discussion
"Regex required for process monitoring"
To view the discussion, visit: http://community.zenoss.org/message/74190#74190
--------------------------------------------------------------
I am trying to set up process monitoring on Zenoss 4.2. I cannot work out what the Regex I require to obtain the processes below (highligted in blue). The processes in common are the four that start with "java -server". I need to ignore other processes with java in them.
pwadm    7351    1 0 Apr11 ?       00:01:36 java -server -classpath classfiles/soapserver.jar -Djavax.net.ssl.trustStore=samplecacerts -Djavax.net.ssl.trustStorePassword=changeit -Djavax.net.ssl.keyStore=testkeys -Djavax.net.ssl.keyStorePassword=passphrase -Djavax.net.debug=ssl HttpsStepThru 35379 8.8.8.8 443
pwadm    7352    1 0 Apr11 ?       00:00:35 java -server -classpath classfiles/soapserver.jar -DXSCHEMA_FILE_PATH=xmls:/home/pw/jwims/soapserver/pwservs/xmls -Djavax.net.ssl.trustStore=samplecacerts -Djavax.net.ssl.trustStorePassword=changeit -Djavax.net.ssl.keyStore=testkeys -Djavax.net.ssl.keyStorePassword=passphrase -Djavax.net.debug=ssl RawXmlServer 35380 secure
pwadm   12456    1 0 Jul19 ?       00:38:31 java -server -classpath classfiles/soapserver.jar -DXSCHEMA_FILE_PATH=xmls:/home/pw/jwims/soapserver/pwservs/xmls SoapServer 33380
pwadm   14381    1 0 Jul29 ?       00:00:52 java -server -classpath classfiles/soapserver.jar -DXSCHEMA_FILE_PATH=xmls:/home/pw/jwims/soapserver/pwservs/xmls SoapServer 32380
pwadm   14805 11291 0 15:56 pts/99  00:00:00 grep java
pwadm   28926    1 3 14:32 ?       00:03:08 /home/pw/library_4169_32bit/jdk/jre/bin/java -Djava.compiler=none -Djbase.releasedir=/home/pw/library_4169_32bit com.jbase.jslim.ServerImpl start
pwadm   32233    1 0 Jul24 ?       00:22:47 /home/pw/library_4169_32bit/jdk/jre/bin/java -Djbase.releasedir=/home/pw/library_4169_32bit com.jbase.jlic.ServerImpl start
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/74190#74190]
Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
"Regex required for process monitoring"
To view the discussion, visit: http://community.zenoss.org/message/74190#74190
--------------------------------------------------------------
I am trying to set up process monitoring on Zenoss 4.2. I cannot work out what the Regex I require to obtain the processes below (highligted in blue). The processes in common are the four that start with "java -server". I need to ignore other processes with java in them.
pwadm    7351    1 0 Apr11 ?       00:01:36 java -server -classpath classfiles/soapserver.jar -Djavax.net.ssl.trustStore=samplecacerts -Djavax.net.ssl.trustStorePassword=changeit -Djavax.net.ssl.keyStore=testkeys -Djavax.net.ssl.keyStorePassword=passphrase -Djavax.net.debug=ssl HttpsStepThru 35379 8.8.8.8 443
pwadm    7352    1 0 Apr11 ?       00:00:35 java -server -classpath classfiles/soapserver.jar -DXSCHEMA_FILE_PATH=xmls:/home/pw/jwims/soapserver/pwservs/xmls -Djavax.net.ssl.trustStore=samplecacerts -Djavax.net.ssl.trustStorePassword=changeit -Djavax.net.ssl.keyStore=testkeys -Djavax.net.ssl.keyStorePassword=passphrase -Djavax.net.debug=ssl RawXmlServer 35380 secure
pwadm   12456    1 0 Jul19 ?       00:38:31 java -server -classpath classfiles/soapserver.jar -DXSCHEMA_FILE_PATH=xmls:/home/pw/jwims/soapserver/pwservs/xmls SoapServer 33380
pwadm   14381    1 0 Jul29 ?       00:00:52 java -server -classpath classfiles/soapserver.jar -DXSCHEMA_FILE_PATH=xmls:/home/pw/jwims/soapserver/pwservs/xmls SoapServer 32380
pwadm   14805 11291 0 15:56 pts/99  00:00:00 grep java
pwadm   28926    1 3 14:32 ?       00:03:08 /home/pw/library_4169_32bit/jdk/jre/bin/java -Djava.compiler=none -Djbase.releasedir=/home/pw/library_4169_32bit com.jbase.jslim.ServerImpl start
pwadm   32233    1 0 Jul24 ?       00:22:47 /home/pw/library_4169_32bit/jdk/jre/bin/java -Djbase.releasedir=/home/pw/library_4169_32bit com.jbase.jlic.ServerImpl start
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/74190#74190]
Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]