01-14-2014 03:03 PM
We have plenty of java process monitors in place but a new requirement came before us. Monitor a java with these two strings...
So I would think that
would work as parameter and in fact does pass my matching test when i copy the grep result into pattern matching test box. But when I deploy the policy it does not find a match and sends an alert.
I am reluctant to post entire grep for ps -ef | grep java but just know there is a string between the two parameters I am checking for.
Guy (not Senir, he was selfish and used his name in our account)
Thanks for any suggestions :-)
Solved! Go to Solution.
01-14-2014 07:54 PM
Does the parameter string end with "-Daismt.env=prod"?
Try the following ( add <*> at the end of parameter list)...
Note :- Assuming the parameter starts with "-Dweblogic.Name=AdminServer"
To show your appreciation, click KUDOS !!!
01-15-2014 01:20 AM
Is the managed node a Solaris box?
If so, if you use ps -ef to list the process not all parameters may be shown and you'll have to use /usr/ucb/bin/ps auxwww instead to display all command parameters...