Discussion:
Need Regex monitoring for tomcat
Thrivikram Reddy
2012-03-07 18:33:27 UTC
Permalink
Thrivikram Reddy [http://community.zenoss.org/people/thrivikram] created the discussion

"Need Regex monitoring for tomcat"

To view the discussion, visit: http://community.zenoss.org/message/65051#65051

--------------------------------------------------------------
Hi All,

I'm using regex /usr/sbin/mysqld to monitor mysql on the box. It is getting me the process, but the path it is showing is a long sting value.

Eg: /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=3306 --socket=*/var/run/mysqld/mysqld.sock*

Is there a way to Trim this component name? llike /var/run/mysqld/mysqld.sock only using a new regex expression? or any ideas how this can be done?
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/65051#65051]

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]
Loading...