one of my proc.num is failing to match the process arguments because the cmdline (in /proc/???/cmdline) is longer than 2048 chars set in MAX_STRING_LEN (common.h). That's the first process like that, but I expect other in the future. The reason of this lengthy cmdline is because it's a java process with a lot of jar file in the classpath and all of them uses a full path....
Is there a way to increase (locally for the zabbix agent or globally) this define so that the test is working ?
Assuming I patch myself the code (looks trivial enough to patch), what bad consequence may I expect in return ?