Open niekgroot opened 7 years ago
check_tomcat.py performance data label may contain characters causing incompatibility with nagiosgraph plugin:
OK connector:"http-nio-80" 1 threads busy of 200 |'conn "http-nio-80"'=1;2.0;10.0;0;200 OK rms is running|'sessions'=54
Adding an option (-l --label) to specify a performance data label can mitigate this issue:
perfdata=("'sessions'" if not args.label else args.label)+"="+application[2]
check_tomcat.py performance data label may contain characters causing incompatibility with nagiosgraph plugin:
Adding an option (-l --label) to specify a performance data label can mitigate this issue:
perfdata=("'sessions'" if not args.label else args.label)+"="+application[2]