HI Monit Users,
I recently started using monit in infrastructure and came across a scenario while using monit procmatch feature. Application which is being monitored is a java application and the string that need to be matched exist at the very end of the process string, now it seems procmatch is able to match the string till a specific length there might be a limit to that and since the string to be match exist at the end it is not able to catch it.
example: this is the process, and the
STRINGTOMATCH exist at the end of the process
"/apps/java1.8/jre/bin/java -d64 -server -noverify -Xms4g -Xmx4g -XX:MaxMetaspaceSize=256m
-XX:MaxGCPauseMillis=500 <many parameters here> <STRINGTOMATCH>"
Monit version used is 5.2.5 , so is there any way i can increase the limit or any config parameter which can be updated.