Thrivikram Reddy
2012-03-12 14:54:29 UTC
Thrivikram Reddy [http://community.zenoss.org/people/thrivikram] created the discussion
"Tomcat Monitoring - requires modification"
To view the discussion, visit: http://community.zenoss.org/message/65126#65126
--------------------------------------------------------------
Hi all,
I am monitoring tomcat using regex ^.*\/*java, and i'm able to monitor it with the path
/usr/bin/java -Djava.util.logging.config.file=/opt/apache-tomcat-7.0.26/conf/logging.properties -XHEAPSIZE -Djava.util.logging.manager=org.apache.
juli.ClassLoaderLogManager -Djava.endorsed.dirs=/opt/apache-tomcat-7.0.26/endorsed -classpath /opt/apache-tomcat-7.0.26/bin/bootstrap.jar:
/opt/apache-tomcat-7.0.26/bin/tomcat-juli.jar -Dcatalina.base=/opt/apache-tomcat-7.0.26 -Dcatalina.home=/opt/apache-tomcat-7.0.26
-Djava.io.tmpdir=/opt/apache-tomcat-7.0.26/temp *org.apache.catalina.startup.Bootstrap start*
The problem here it is displaying heap size and versions in message (Total path). I do not want this to be displayed any where in my alert apart form *org.apache.catalina.startup.Bootstrap start. (The end of line)* because the versions of tomcat and heapsize may change.
Is there a way to display or monitor the OS process using match case *org.apache.catalina.startup.Bootstrap start ?*
I'm not great with regex, but i tried with $ in regex, but it din't worked for me. May be I used a wrong regex.
Please advice if you have a way to do it.
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/65126#65126]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
"Tomcat Monitoring - requires modification"
To view the discussion, visit: http://community.zenoss.org/message/65126#65126
--------------------------------------------------------------
Hi all,
I am monitoring tomcat using regex ^.*\/*java, and i'm able to monitor it with the path
/usr/bin/java -Djava.util.logging.config.file=/opt/apache-tomcat-7.0.26/conf/logging.properties -XHEAPSIZE -Djava.util.logging.manager=org.apache.
juli.ClassLoaderLogManager -Djava.endorsed.dirs=/opt/apache-tomcat-7.0.26/endorsed -classpath /opt/apache-tomcat-7.0.26/bin/bootstrap.jar:
/opt/apache-tomcat-7.0.26/bin/tomcat-juli.jar -Dcatalina.base=/opt/apache-tomcat-7.0.26 -Dcatalina.home=/opt/apache-tomcat-7.0.26
-Djava.io.tmpdir=/opt/apache-tomcat-7.0.26/temp *org.apache.catalina.startup.Bootstrap start*
The problem here it is displaying heap size and versions in message (Total path). I do not want this to be displayed any where in my alert apart form *org.apache.catalina.startup.Bootstrap start. (The end of line)* because the versions of tomcat and heapsize may change.
Is there a way to display or monitor the OS process using match case *org.apache.catalina.startup.Bootstrap start ?*
I'm not great with regex, but i tried with $ in regex, but it din't worked for me. May be I used a wrong regex.
Please advice if you have a way to do it.
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/65126#65126]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]