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 :-)
Go to Solution.
Does the parameter string end with "-Daismt.env=prod"?
Try the following ( add <*> at the end of parameter list)...-Dweblogic.Name=AdminServer<*>-Daismt.env=prod<*>Note :- Assuming the parameter starts with "-Dweblogic.Name=AdminServer"
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...
Great idea, thank you, testing now.